File tree 5 files changed +16
-9
lines changed
5 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 14
14
- name : Fetch all history for git diff
15
15
run : git fetch --depth=2
16
16
17
+ - name : Install jq
18
+ run : |
19
+ apt-get update && apt-get install -y jq
20
+
17
21
- name : Detect modified folders
18
22
id : detect-changes
19
23
run : |
@@ -85,10 +89,13 @@ jobs:
85
89
86
90
sleep 45 # Delay for 45 seconds before fetching logs
87
91
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)
91
94
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')"
92
99
echo "Content:"
93
- echo "$logs" | grep -oP '" content":\s*"\K[^"]+' | sed 's/\\n/\n/g'
100
+ echo "$(echo "$ logs" | jq -r '. content')"
94
101
done
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: "3.8"
2
2
3
3
services :
4
4
ollama :
5
- image : docker.mafyuh.xyz/ ollama/ollama:0.2.6
5
+ image : ollama/ollama:0.3.1
6
6
container_name : ollama
7
7
restart : unless-stopped
8
8
volumes :
@@ -29,7 +29,7 @@ services:
29
29
- host.docker.internal:host-gateway
30
30
31
31
mindsdb :
32
- image : docker.mafyuh.xyz/ mindsdb/mindsdb:v24.7.3.0
32
+ image : mindsdb/mindsdb:v24.7.3.0
33
33
container_name : mindsdb
34
34
ports :
35
35
- 47334:47334
Original file line number Diff line number Diff line change 1
1
---
2
2
services :
3
3
server :
4
- image : codeberg.org/forgejo/forgejo:7 .0.5
4
+ image : codeberg.org/forgejo/forgejo:8 .0.0
5
5
container_name : forgejo
6
6
environment :
7
7
- USER_UID=1000
Original file line number Diff line number Diff line change 1
1
---
2
2
services :
3
3
bazarr :
4
- image : ghcr.io/linuxserver/bazarr@sha256:25f0d19ba9226fdf15aec0fc7fa134ba89fc6f77f09d7bd45b33c5960c47821e
4
+ image : ghcr.io/linuxserver/bazarr@sha256:e70de8a714ac57395d45052392001ec433b8f48aa1c204f13dae312cbcbe43af
5
5
container_name : bazarr
6
6
ports :
7
7
- " 6767:6767"
Original file line number Diff line number Diff line change 1
1
---
2
2
services :
3
3
jellyfin :
4
- image : ghcr.io/linuxserver/jellyfin@sha256:843878f35dc700e502798b39edb24b84b7b7ff0788f1b7b9b1e71d4f8d34f951
4
+ image : ghcr.io/linuxserver/jellyfin@sha256:eadf16cadd823a5cbe1b92750ee74111f9b2cac894834477ab4a43a5fc835ebe
5
5
container_name : jellyfin
6
6
devices :
7
7
- /dev/dri/renderD129:/dev/dri/renderD129
You can’t perform that action at this time.
0 commit comments