Docker Compose Dry run tweaks
Home Assistant & Miscellaneous Deployment / Check and Create PR (push) Successful in 16s
Home Assistant & Miscellaneous Deployment / Home Assistant Configuration Check (push) Successful in 43s
Home Assistant & Miscellaneous Deployment / Docker Compose Dry Run (push) Failing after 51s

This commit is contained in:
2025-08-26 07:34:11 -04:00
parent 04a809b253
commit d1d7d49b0f
+13 -21
View File
@@ -211,39 +211,31 @@ jobs:
with: with:
gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}' gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Docker Compose Dry Run @ Rinoa' notification_title: 'GITEA: Docker Compose Dry Run @ Rikku'
notification_message: 'Starting Docker Compose dry run...' notification_message: 'Starting Docker Compose dry run...'
- name: Generate .env file for Docker Compose - name: Generate .env file for Docker Compose
run: | run: |
vault kv get -format=json rikku-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env vault kv get -format=json rikku-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
- name: Docker Compose Dry Run - name: Docker Compose Dry Run
uses: alcharra/docker-deploy-action-go@v2.1.0 uses: cssnr/stack-deploy-action@v1.3.2
with: with:
ssh_host: ${{ secrets.SSH_HOST }}
ssh_user: ${{ secrets.SSH_USER }}
ssh_key: ${{ secrets.RIKKU_SSH_PRIVATE_KEY }}
project_path: /home/pi/.config/docker
deploy_file: docker-compose.yml
mode: compose mode: compose
extra_files: | name: 'rikku'
.env host: 192.168.1.252
compose_pull: true user: pi
compose_build: true ssh_key: ${{ secrets.RIKKU_SSH_PRIVATE_KEY }}
compose_no_deps: true args: --remove-orphans -d --dry-run
# compose_target_services: | env_file: '.env'
# web registry_host: 'ghcr.io'
# db
enable_rollback: true
registry_host: ghcr.io
registry_user: TrezOne registry_user: TrezOne
registry_pass: ${{ secrets.GHCR_LOGIN_TOKEN }} registry_pass: ${{ secrets.GHCR_LOGIN_TOKEN }}
verbose: true summary: true
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}' gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Docker Compose Dry Run @ Rinoa' notification_title: 'GITEA: Docker Compose Dry Run @ Rikku'
notification_message: 'Docker Compose dry run completed successfully.' notification_message: 'Docker Compose dry run completed successfully.'
# pr-merge: # pr-merge:
# name: PR Merge # name: PR Merge
@@ -314,7 +306,7 @@ jobs:
# with: # with:
# gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}' # gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
# gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' # gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
# notification_title: 'GITEA: Docker Compose Deployment @ Rinoa' # notification_title: 'GITEA: Docker Compose Deployment @ Rikku'
# notification_message: 'Starting Docker Compose run...' # notification_message: 'Starting Docker Compose run...'
# - name: Generate .env file for deployment # - name: Generate .env file for deployment
# run: | # run: |
@@ -342,5 +334,5 @@ jobs:
# with: # with:
# gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}' # gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
# gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' # gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
# notification_title: 'GITEA: Docker Compose Deployment @ Rinoa' # notification_title: 'GITEA: Docker Compose Deployment @ Rikku'
# notification_message: 'Deployment completed successfully.' # notification_message: 'Deployment completed successfully.'