Skip to content

Commit

Permalink
first cut at redditio
Browse files Browse the repository at this point in the history
Signed-off-by: David Young <[email protected]>
  • Loading branch information
funkypenguin committed Oct 23, 2024
1 parent 0c1c804 commit ddaafeb
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
19 changes: 19 additions & 0 deletions apps/redditio/Dockerfile
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"]
10 changes: 10 additions & 0 deletions apps/redditio/ci/goss.yaml
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
3 changes: 3 additions & 0 deletions apps/redditio/ci/latest.sh
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}"
17 changes: 17 additions & 0 deletions apps/redditio/metadata.json
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"
}
}
]
}

0 comments on commit ddaafeb

Please sign in to comment.