Compare commits
15 commits
402b1868b3
...
020219d6ef
Author | SHA1 | Date | |
---|---|---|---|
020219d6ef | |||
a0d9eeceba | |||
a4769f45ab | |||
1a2bd15989 | |||
d2a902bfd5 | |||
76a37c01f6 | |||
a386b35517 | |||
93d3c9fc0b | |||
54511a3632 | |||
bbe638051e | |||
9d15a6cd2a | |||
00a231f4c5 | |||
96920d0219 | |||
89f8d7d596 | |||
2fff2490a3 |
5 changed files with 16 additions and 9 deletions
|
@ -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
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ollama:
|
ollama:
|
||||||
image: docker.mafyuh.xyz/ollama/ollama:0.2.6
|
image: ollama/ollama:0.3.1
|
||||||
container_name: ollama
|
container_name: ollama
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -29,7 +29,7 @@ services:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
|
|
||||||
mindsdb:
|
mindsdb:
|
||||||
image: docker.mafyuh.xyz/mindsdb/mindsdb:v24.7.3.0
|
image: mindsdb/mindsdb:v24.7.3.0
|
||||||
container_name: mindsdb
|
container_name: mindsdb
|
||||||
ports:
|
ports:
|
||||||
- 47334:47334
|
- 47334:47334
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
bazarr:
|
bazarr:
|
||||||
image: ghcr.io/linuxserver/bazarr@sha256:25f0d19ba9226fdf15aec0fc7fa134ba89fc6f77f09d7bd45b33c5960c47821e
|
image: ghcr.io/linuxserver/bazarr@sha256:e70de8a714ac57395d45052392001ec433b8f48aa1c204f13dae312cbcbe43af
|
||||||
container_name: bazarr
|
container_name: bazarr
|
||||||
ports:
|
ports:
|
||||||
- "6767:6767"
|
- "6767:6767"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue