10 Commits

Author SHA1 Message Date
48fa87a535 Merge pull request 'Update rust:slim-bullseye Docker digest to f635d98' (#53) from renovate/rust-slim-bullseye into main
Some checks failed
tests / fmt (push) Has been cancelled
tests / build (push) Has been cancelled
tests / test (push) Has been cancelled
tests / clippy (push) Has been cancelled
tests / pre-commit (push) Has been cancelled
deploy / release-image (push) Has been cancelled
Reviewed-on: #53
2025-10-27 14:36:47 +01:00
4dc6f51b6c use github actions
Some checks failed
tests / fmt (push) Has been cancelled
tests / build (push) Has been cancelled
tests / test (push) Has been cancelled
tests / clippy (push) Has been cancelled
tests / pre-commit (push) Has been cancelled
deploy / release-image (push) Has been cancelled
2025-05-03 14:11:44 +02:00
ea83db7c56 Update rust:slim-bullseye Docker digest to f635d98
Some checks failed
tests / clippy (push) Failing after 1m20s
tests / test (push) Successful in 1m24s
tests / fmt (push) Successful in 1m28s
tests / build (push) Successful in 1m27s
tests / pre-commit (push) Successful in 1m58s
2025-05-01 00:01:00 +00:00
de4260dd84 Update renovatebot/github-action action to v41.0.18
All checks were successful
tests / fmt (push) Successful in 42s
tests / build (push) Successful in 1m6s
tests / test (push) Successful in 2m18s
tests / clippy (push) Successful in 59s
tests / pre-commit (push) Successful in 1m0s
deploy / release-image (push) Successful in 1m3s
renovate / renovate (push) Successful in 1m29s
2025-04-01 00:01:28 +00:00
335626312b Update renovatebot/github-action action to v41.0.17
All checks were successful
tests / fmt (push) Successful in 50s
tests / build (push) Successful in 2m23s
tests / test (push) Successful in 1m29s
tests / clippy (push) Successful in 1m22s
tests / pre-commit (push) Successful in 1m5s
deploy / release-image (push) Successful in 9m20s
renovate / renovate (push) Successful in 31s
2025-03-28 00:01:48 +00:00
07a4da73c1 Update actions/setup-python digest to 8d9ed9a
All checks were successful
tests / fmt (push) Successful in 49s
tests / clippy (push) Successful in 54s
tests / test (push) Successful in 1m8s
tests / pre-commit (push) Successful in 43s
deploy / release-image (push) Successful in 43s
tests / build (push) Successful in 2m38s
renovate / renovate (push) Successful in 1m50s
2025-03-27 00:01:24 +00:00
fa1d720d0f Update dependency python to 3.13
All checks were successful
tests / build (push) Successful in 55s
tests / fmt (push) Successful in 1m4s
tests / test (push) Successful in 1m25s
deploy / release-image (push) Successful in 48s
tests / clippy (push) Successful in 2m13s
tests / pre-commit (push) Successful in 3m5s
renovate / renovate (push) Successful in 59s
2025-03-26 00:02:13 +00:00
1ec358ec8f Update Rust crate uuid to v1.16.0
All checks were successful
tests / fmt (push) Successful in 1m17s
tests / clippy (push) Successful in 1m11s
tests / build (push) Successful in 1m18s
tests / test (push) Successful in 1m25s
tests / pre-commit (push) Successful in 1m29s
deploy / release-image (push) Successful in 2m14s
renovate / renovate (push) Successful in 1m12s
2025-03-22 00:01:47 +00:00
624e08f3aa Update Rust crate reqwest to v0.12.15
All checks were successful
tests / fmt (push) Successful in 56s
tests / build (push) Successful in 1m52s
tests / pre-commit (push) Successful in 1m24s
tests / test (push) Successful in 1m42s
tests / clippy (push) Successful in 4m59s
deploy / release-image (push) Successful in 3m54s
renovate / renovate (push) Successful in 1m20s
2025-03-22 01:01:27 +01:00
f4f6a486c9 Update debian:bullseye-slim Docker digest to e4b93db
Some checks are pending
tests / fmt (push) Waiting to run
tests / build (push) Waiting to run
tests / test (push) Waiting to run
tests / clippy (push) Waiting to run
tests / pre-commit (push) Waiting to run
deploy / release-image (push) Waiting to run
renovate / renovate (push) Waiting to run
2025-03-21 00:01:10 +00:00
7 changed files with 18 additions and 152 deletions

View File

@@ -1,74 +0,0 @@
name: tests
on:
push:
paths-ignore:
- 'README.md'
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
- run: sudo apt-get install -y cmake
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@559aa3035a47390ba96088dffa783b5d26da9326 # v1
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
- run: sudo apt-get install -y cmake
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1
- name: Build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
- run: sudo apt-get install -y cmake
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.13'
- name: Install yt-dlp
run: pip install yt-dlp
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1
- name: Run tests
run: cargo test --verbose --all-features
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
- run: sudo apt-get install -y cmake
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1
with:
components: clippy
- name: Run clippy
run: cargo clippy
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
- run: sudo apt-get install -y cmake
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.13'
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1
with:
components: rustfmt
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

View File

@@ -1,32 +0,0 @@
---
# yamllint disable rule:line-length
name: renovate
on: # yamllint disable-line rule:truthy
schedule:
- cron: "@daily"
push:
branches:
- main
jobs:
renovate:
runs-on: [nas]
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Self-hosted Renovate
uses: renovatebot/github-action@08ed9fa83e24bfe6222557f9e221395c57972127 # v41.0.16
with:
token: ${{ secrets.RENOVATE_TOKEN }}
env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN)$"
env:
LOG_LEVEL: "info"
GITHUB_COM_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
RENOVATE_PLATFORM: "gitea"
RENOVATE_GIT_AUTHOR: "Renovate Bot <renovate@boosted.science>"
RENOVATE_GIT_EMAIL: "renovate@boosted.science"
RENOVATE_ENDPOINT: "https://gitea.jheuel.boosted.science/api/v1/"
RENOVATE_AUTODISCOVER: "true"
RENOVATE_OPTIMIZE_FOR_DISABLED: "true"

View File

@@ -10,7 +10,7 @@ env:
jobs:
fmt:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
@@ -22,7 +22,7 @@ jobs:
uses: actions-rust-lang/rustfmt@559aa3035a47390ba96088dffa783b5d26da9326 # v1
build:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
@@ -32,12 +32,12 @@ jobs:
run: cargo build --verbose
test:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
- run: sudo apt-get install -y cmake
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5
with:
python-version: '3.13'
- name: Install yt-dlp
@@ -47,7 +47,7 @@ jobs:
run: cargo test --verbose --all-features
clippy:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
@@ -59,12 +59,12 @@ jobs:
run: cargo clippy
pre-commit:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update
- run: sudo apt-get install -y cmake
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5
with:
python-version: '3.13'
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1

View File

@@ -5,12 +5,9 @@ on:
branches:
- main
paths-ignore:
- 'README.md'
jobs:
release-image:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3

16
Cargo.lock generated
View File

@@ -1805,7 +1805,7 @@ dependencies = [
"dotenv",
"futures",
"regex",
"reqwest 0.12.14",
"reqwest 0.12.15",
"serde",
"serde_json",
"songbird",
@@ -2328,9 +2328,9 @@ dependencies = [
[[package]]
name = "reqwest"
version = "0.12.14"
version = "0.12.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "989e327e510263980e231de548a33e63d34962d29ae61b467389a1a09627a254"
checksum = "d19c46a6fdd48bc4dab94b6103fccc55d34c67cc0ad04653aad4ea2a07cd7bbb"
dependencies = [
"base64 0.22.1",
"bytes",
@@ -2985,7 +2985,7 @@ dependencies = [
"parking_lot",
"pin-project",
"rand 0.9.0",
"reqwest 0.12.14",
"reqwest 0.12.15",
"ringbuf",
"rubato",
"rusty_pool",
@@ -3248,7 +3248,7 @@ dependencies = [
"futures-util",
"hls_m3u8",
"patricia_tree",
"reqwest 0.12.14",
"reqwest 0.12.15",
"tokio",
"tracing",
"url",
@@ -4247,9 +4247,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
version = "1.15.1"
version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0f540e3240398cce6128b64ba83fdbdd86129c16a3aa1a3a252efd66eb3d587"
checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9"
dependencies = [
"getrandom 0.3.1",
]
@@ -4472,7 +4472,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
"windows-sys 0.48.0",
"windows-sys 0.59.0",
]
[[package]]

View File

@@ -1,5 +1,5 @@
# Build image
FROM rust:slim-bullseye@sha256:1eca9af45f393ac4669b9b63659529638359575f6268cbd4e6543ddc46c53803 as build
FROM rust:slim-bullseye@sha256:f635d98d781930be4ab1a5135fd8e2f7b2bdf43c741c99e420d794d0777ead4d as build
RUN apt-get update && apt-get install -y \
build-essential autoconf automake cmake libtool libssl-dev pkg-config
@@ -18,7 +18,7 @@ RUN touch src/main.rs
RUN cargo build --release --locked
# Release image
FROM debian:bullseye-slim@sha256:33b7c2e071c29e618182ec872c471f39d2dde3d8904d95f5b7a61acf3a592e7b
FROM debian:bullseye-slim@sha256:e4b93db6aad977a95aa103917f3de8a2b16ead91cf255c3ccdb300c5d20f3015
RUN apt-get update && apt-get install -y python3-pip
RUN pip install -U yt-dlp

View File

@@ -1,25 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"timezone": "Europe/Berlin",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
":configMigration",
":pinDevDependencies",
":dependencyDashboard",
"docker:pinDigests",
"preview:dockerCompose",
"preview:dockerVersions"
],
"packageRules": [
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"automerge": true
}
]
}