Secrets and vars corrections.
Gitea Branch PR & Docker Deployment / Check and Create PR (push) Successful in 24s
Gitea Branch PR & Docker Deployment / Generate list of added/modified/deleted services (push) Failing after 10s
Gitea Branch PR & Docker Deployment / Docker Compose Dry Run (push) Has been skipped

This commit is contained in:
2025-09-01 16:12:06 -04:00
parent b00c5ba166
commit 7dca2acd3f
+10 -10
View File
@@ -8,7 +8,7 @@ on:
paths: paths:
- 'docker-compose.misc.yml' - 'docker-compose.misc.yml'
- 'compose/docker-compose*.yml' - 'compose/docker-compose*.yml'
- 'compose/.env*' - '**/pr-docker-deploy.yml'
env: env:
HC_VAULT_VERSION: '1.20.0' HC_VAULT_VERSION: '1.20.0'
@@ -42,8 +42,8 @@ jobs:
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' gotify_api_base: '${{ secrets.GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: PR Check' notification_title: 'GITEA: PR Check'
notification_message: 'Checking for existing PR... 🔍' notification_message: 'Checking for existing PR... 🔍'
@@ -51,7 +51,7 @@ jobs:
id: check-opened-pr-step id: check-opened-pr-step
continue-on-error: true continue-on-error: true
run: | run: |
tea login add --name gitea-rinoa --url "${{ secrets.RINOA_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }} tea login add --name gitea-rinoa --url "${{ secrets.BDIKTA_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep '\[DOCKER\].*${{ github.ref_name }}' | tail -1 | wc -l) pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep '\[DOCKER\].*${{ github.ref_name }}' | tail -1 | wc -l)
echo "exists=$pr_exists" >> $GITHUB_OUTPUT echo "exists=$pr_exists" >> $GITHUB_OUTPUT
@@ -66,8 +66,8 @@ jobs:
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' gotify_api_base: '${{ secrets.GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: PR Check' notification_title: 'GITEA: PR Check'
notification_message: 'PR Created 🎟️' notification_message: 'PR Created 🎟️'
@@ -89,8 +89,8 @@ jobs:
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' gotify_api_base: '${{ secrets.GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Services TBD' notification_title: 'GITEA: Services TBD'
notification_message: 'Generating list of services to deploy...' notification_message: 'Generating list of services to deploy...'
@@ -217,11 +217,11 @@ jobs:
uses: cssnr/stack-deploy-action@v1.3.2 uses: cssnr/stack-deploy-action@v1.3.2
with: with:
mode: compose mode: compose
file: $ {{ steps.compose_file_list.outputs.compose_list }} file: ${{ steps.compose_file_list.outputs.compose_list }}
name: 'ovosmisc' name: 'ovosmisc'
host: 192.168.1.252 host: 192.168.1.252
user: ovos user: ovos
ssh_key: ${{ secrets.BENEDIKTA_SSH_PRIVATE_KEY }} ssh_key: ${{ secrets.BDIKTA_GITEA_PRIVATE_SSH_KEY }}
args: --remove-orphans -d --dry-run ${{ needs.generate-service-list.outputs.svc_deploy_list }} args: --remove-orphans -d --dry-run ${{ needs.generate-service-list.outputs.svc_deploy_list }}
env_file: '.env' env_file: '.env'
registry_host: 'ghcr.io' registry_host: 'ghcr.io'