Skip to content

Commit 1a2bd15

Browse files
author
Matt Reeves
committedJul 31, 2024
Merge branch 'main' into renovate/docker.mafyuh.xyz-ollama-ollama-0.x
2 parents 89f8d7d + d2a902b commit 1a2bd15

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed
 

‎.forgejo/workflows/CD.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
- name: Fetch all history for git diff
1515
run: git fetch --depth=2
1616

17+
- name: Install jq
18+
run: |
19+
apt-get update && apt-get install -y jq
20+
1721
- name: Detect modified folders
1822
id: detect-changes
1923
run: |
@@ -85,10 +89,13 @@ jobs:
8589
8690
sleep 45 # Delay for 45 seconds before fetching logs
8791
88-
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]+')
89-
logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" "https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json")
90-
92+
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')
93+
logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json)
9194
echo "AWX Job Logs for folder: $folder"
95+
echo "Range:"
96+
echo "Start: $(echo "$logs" | jq -r '.range.start')"
97+
echo "End: $(echo "$logs" | jq -r '.range.end')"
98+
echo "Absolute End: $(echo "$logs" | jq -r '.range.absolute_end')"
9299
echo "Content:"
93-
echo "$logs" | grep -oP '"content":\s*"\K[^"]+' | sed 's/\\n/\n/g'
100+
echo "$(echo "$logs" | jq -r '.content')"
94101
done

‎docker/arm/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
server:
4-
image: codeberg.org/forgejo/forgejo:7.0.5
4+
image: codeberg.org/forgejo/forgejo:8.0.0
55
container_name: forgejo
66
environment:
77
- USER_UID=1000

‎docker/arrs/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
bazarr:
4-
image: ghcr.io/linuxserver/bazarr@sha256:25f0d19ba9226fdf15aec0fc7fa134ba89fc6f77f09d7bd45b33c5960c47821e
4+
image: ghcr.io/linuxserver/bazarr@sha256:e70de8a714ac57395d45052392001ec433b8f48aa1c204f13dae312cbcbe43af
55
container_name: bazarr
66
ports:
77
- "6767:6767"
@@ -43,7 +43,7 @@ services:
4343
- PGID=1000
4444

4545
radarr:
46-
image: ghcr.io/linuxserver/radarr@sha256:2a02b311cefb344cd0caf74a443b9d6318daf15bda5280a3bc732381db983dc3
46+
image: ghcr.io/linuxserver/radarr@sha256:9d6f0548fd805edb30108fdd06d0fc5a4436c9bd708b57bd4119d7aefa815fe4
4747
container_name: radarr
4848
ports:
4949
- "7878:7878"

‎docker/jellyfin/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
jellyfin:
4-
image: ghcr.io/linuxserver/jellyfin@sha256:843878f35dc700e502798b39edb24b84b7b7ff0788f1b7b9b1e71d4f8d34f951
4+
image: ghcr.io/linuxserver/jellyfin@sha256:eadf16cadd823a5cbe1b92750ee74111f9b2cac894834477ab4a43a5fc835ebe
55
container_name: jellyfin
66
devices:
77
- /dev/dri/renderD129:/dev/dri/renderD129

0 commit comments

Comments
 (0)
Please sign in to comment.