Compare commits

...

7 commits

Author SHA1 Message Date
76a37c01f6 Merge branch 'main' into renovate/ghcr.io-linuxserver-bazarr
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 4s
Deploy to Hosts / deploy (pull_request) Successful in 53s
2024-07-30 22:13:54 -04:00
a386b35517 Update .forgejo/workflows/CD.yml 2024-07-30 22:13:47 -04:00
93d3c9fc0b Merge pull request '⬆️ Update ghcr.io/linuxserver/jellyfin Docker digest to eadf16c' (#44) from renovate/ghcr.io-linuxserver-jellyfin into main
Reviewed-on: https://git.mafyuh.dev///mafyuh/iac/pulls/44
2024-07-30 22:06:19 -04:00
54511a3632 Merge branch 'main' into renovate/ghcr.io-linuxserver-jellyfin
Some checks failed
Lint on PR / Lint YAML files (pull_request) Successful in 5s
Deploy to Hosts / deploy (pull_request) Failing after 49s
2024-07-30 22:06:08 -04:00
bbe638051e Merge pull request '⬆️ Update codeberg.org/forgejo/forgejo Docker tag to v8' (#48) from renovate/codeberg.org-forgejo-forgejo-8.x into main
Reviewed-on: #48
2024-07-30 21:46:36 -04:00
9d15a6cd2a ⬆️ Update codeberg.org/forgejo/forgejo Docker tag to v8
Some checks failed
Lint on PR / Lint YAML files (pull_request) Successful in 5s
Deploy to Hosts / deploy (pull_request) Failing after 50s
2024-07-31 01:14:16 +00:00
00a231f4c5 ⬆️ Update ghcr.io/linuxserver/jellyfin Docker digest to eadf16c
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 4s
2024-07-31 01:14:01 +00:00
3 changed files with 13 additions and 6 deletions

View file

@ -14,6 +14,10 @@ jobs:
- name: Fetch all history for git diff - name: Fetch all history for git diff
run: git fetch --depth=2 run: git fetch --depth=2
- name: Install jq
run: |
apt-get update && apt-get install -y jq
- name: Detect modified folders - name: Detect modified folders
id: detect-changes id: detect-changes
run: | run: |
@ -85,10 +89,13 @@ jobs:
sleep 45 # Delay for 45 seconds before fetching logs sleep 45 # Delay for 45 seconds before fetching logs
job_id=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" "https://awx.mafyuh.xyz/api/v2/job_templates/13/jobs/?order_by=-id" | grep -oP '"id":\s*\K[0-9]+') job_id=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/job_templates/13/jobs/?order_by=-id | jq -r '.results[0].id')
logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" "https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json") logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json)
echo "AWX Job Logs for folder: $folder" echo "AWX Job Logs for folder: $folder"
echo "Range:"
echo "Start: $(echo "$logs" | jq -r '.range.start')"
echo "End: $(echo "$logs" | jq -r '.range.end')"
echo "Absolute End: $(echo "$logs" | jq -r '.range.absolute_end')"
echo "Content:" echo "Content:"
echo "$logs" | grep -oP '"content":\s*"\K[^"]+' | sed 's/\\n/\n/g' echo "$(echo "$logs" | jq -r '.content')"
done done

View file

@ -1,7 +1,7 @@
--- ---
services: services:
server: server:
image: codeberg.org/forgejo/forgejo:7.0.5 image: codeberg.org/forgejo/forgejo:8.0.0
container_name: forgejo container_name: forgejo
environment: environment:
- USER_UID=1000 - USER_UID=1000

View file

@ -1,7 +1,7 @@
--- ---
services: services:
jellyfin: jellyfin:
image: ghcr.io/linuxserver/jellyfin@sha256:843878f35dc700e502798b39edb24b84b7b7ff0788f1b7b9b1e71d4f8d34f951 image: ghcr.io/linuxserver/jellyfin@sha256:eadf16cadd823a5cbe1b92750ee74111f9b2cac894834477ab4a43a5fc835ebe
container_name: jellyfin container_name: jellyfin
devices: devices:
- /dev/dri/renderD129:/dev/dri/renderD129 - /dev/dri/renderD129:/dev/dri/renderD129