-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: David Young <[email protected]>
- Loading branch information
1 parent
0c1c804
commit ddaafeb
Showing
4 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Get the upstream code | ||
FROM alpine:latest as cloner | ||
ARG CHANNEL | ||
ARG VERSION | ||
|
||
RUN apk update && apk upgrade && \ | ||
apk add --no-cache git | ||
|
||
RUN git clone https://github.com/ReemX/stremio-comments-addon.git /source | ||
|
||
FROM denoland/deno:latest as base | ||
|
||
WORKDIR /app | ||
|
||
COPY --from=cloner /source/. ./ | ||
|
||
RUN deno install | ||
|
||
CMD ["deno", "task", "dev"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
# https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#process | ||
process: | ||
deno: | ||
running: true | ||
|
||
# https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#http | ||
http: | ||
http://localhost:7000: | ||
status: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
version=$(curl -sX GET "https://api.github.com/repos/ReemX/stremio-comments-addon/commits/main" --header "Authorization: Bearer ${TOKEN}" | jq --raw-output '.sha') | ||
printf "%s" "${version}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"app": "redditio", | ||
"base": false, | ||
"channels": [ | ||
{ | ||
"name": "main", | ||
"platforms": [ | ||
"linux/amd64" | ||
], | ||
"stable": true, | ||
"tests": { | ||
"enabled": true, | ||
"type": "web" | ||
} | ||
} | ||
] | ||
} |