From f0e63059c655d315be211636e251297da552f912 Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Sat, 12 Oct 2024 13:55:37 -0400 Subject: [PATCH] add runner to cd --- .forgejo/workflows/CD.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/CD.yml b/.forgejo/workflows/CD.yml index 56af015..95c5748 100644 --- a/.forgejo/workflows/CD.yml +++ b/.forgejo/workflows/CD.yml @@ -75,6 +75,9 @@ jobs: portainer) target_host="port.lan" ;; + runner) + target_host="runner.lan" + ;; twingate) target_host="twingate.lan" ;; @@ -98,10 +101,6 @@ jobs: 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) 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 "$(echo "$logs" | jq -r '.content')" done