Compare commits
16
Commits
fcb68cfd8d
...
1.0.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f1e227d50 | ||
|
|
0891606321 | ||
|
|
c6f28ff7af | ||
|
|
072a91961f | ||
|
|
7184240dd4 | ||
|
|
9cd0419c0c | ||
|
|
d3266f8feb | ||
|
|
b532507374 | ||
|
|
5c1a8cbe4f | ||
|
|
502fefff33 | ||
|
|
bc3a950d99 | ||
|
|
1af9e59a56 | ||
|
|
13d25a7ae0 | ||
|
|
fc799da000 | ||
|
|
2b091adce8 | ||
|
|
c54210434e |
No files matched your search
@@ -82,6 +82,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./backend/playout
|
context: ./backend/playout
|
||||||
|
file: ./backend/playout/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta-playout.outputs.tags }}
|
tags: ${{ steps.meta-playout.outputs.tags }}
|
||||||
labels: ${{ steps.meta-playout.outputs.labels }}
|
labels: ${{ steps.meta-playout.outputs.labels }}
|
||||||
|
|||||||
@@ -89,15 +89,14 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: infrastructure/nginx/Dockerfile
|
file: infrastructure/nginx/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta-nginx.outputs.tags }}
|
tags: ${{ steps.meta-nginx.outputs.tags }}
|
||||||
labels: ${{ steps.meta-nginx.outputs.labels }}
|
labels: ${{ steps.meta-nginx.outputs.labels }}
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release on Gitea
|
||||||
uses: softprops/action-gh-release@v1
|
run: |
|
||||||
with:
|
curl -X POST "$CI_SERVER_URL/api/v1/repos/$CI_REPO_OWNER/$CI_REPO_NAME/releases" \
|
||||||
generate_release_notes: true
|
-H "Authorization: token ${{ secrets.CI_REGISTRY_TOKEN }}" \
|
||||||
tag_name: ${{ steps.version.outputs.version }}
|
-H "Content-Type: application/json" \
|
||||||
env:
|
-d "{\"tag_name\":\"${{ steps.version.outputs.version }}\",\"name\":\"${{ steps.version.outputs.version }}\",\"body\":\"Release ${{ steps.version.outputs.version }}\n\nSee [CHANGELOG.md](https://git.allucanget.biz/zwitschi/linearvoid/src/branch/main/CHANGELOG.md) for details.\",\"draft\":false,\"prerelease\":false}"
|
||||||
GITHUB_TOKEN: ${{ secrets.CI_REGISTRY_TOKEN }}
|
|
||||||
@@ -50,6 +50,9 @@ data/
|
|||||||
*.sqlite
|
*.sqlite
|
||||||
*.sqlite3
|
*.sqlite3
|
||||||
|
|
||||||
|
# Demo data (tracked in backend/playout/demodata/ for out-of-the-box playout)
|
||||||
|
!backend/playout/demodata/
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
.dockerignore
|
.dockerignore
|
||||||
**/.dockerignore
|
**/.dockerignore
|
||||||
|
|||||||
@@ -16,20 +16,18 @@ RUN apk add --no-cache \
|
|||||||
ffmpeg \
|
ffmpeg \
|
||||||
curl \
|
curl \
|
||||||
bash
|
bash
|
||||||
|
# Set working directory for playout
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
# Copy the playout start script and the built playlist manager binary
|
||||||
COPY --from=builder /playlist-manager /app/playlist-manager
|
|
||||||
COPY start-playout.sh /app/
|
COPY start-playout.sh /app/
|
||||||
COPY *.sh /app/
|
# Copy demo data for out-of-the-box playout
|
||||||
|
COPY demodata/ /app/
|
||||||
RUN chmod +x /app/*.sh /app/playlist-manager
|
# Copy the built playlist manager binary from the builder stage
|
||||||
|
COPY --from=builder /playlist-manager /app/playlist-manager
|
||||||
# Create directories for playlist, media, and HLS output
|
# Create directories for playlist, media, and HLS output
|
||||||
RUN mkdir -p /app/playlist /app/media /app/hls
|
RUN mkdir -p /app/hls
|
||||||
|
RUN chmod +x /app/start-playout.sh /app/playlist-manager
|
||||||
# Expose HLS directory (will be served by nginx)
|
# Expose HLS directory (will be served by nginx)
|
||||||
VOLUME ["/app/hls"]
|
VOLUME ["/app/hls"]
|
||||||
|
|
||||||
# Default command runs the playout loop (which calls the Go validator)
|
# Default command runs the playout loop (which calls the Go validator)
|
||||||
CMD ["./start-playout.sh"]
|
CMD ["./start-playout.sh"]
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
|||||||
|
# Linear Void Demo Playlist
|
||||||
|
file '/app/media/demo1.mp4'
|
||||||
|
file '/app/media/demo2.mp4'
|
||||||
Reference in new issue
Block a user