Changing workflow secrets.
Renovate / renovate (push) Successful in 2m2s

This commit is contained in:
2025-09-23 20:20:15 -04:00
parent 0c80cd73b5
commit 252c4ca9f2
2 changed files with 73 additions and 64 deletions
@@ -4,15 +4,15 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
branches-ignore: branches-ignore:
- 'main' - "main"
- 'renovate/**' - "renovate/**"
paths: paths:
- '**/docker-compose.yml' - "**/docker-compose.yml"
env: env:
FLARECTL_VERSION: '0.115.0' FLARECTL_VERSION: "0.115.0"
HC_VAULT_VERSION: '1.18.0' HC_VAULT_VERSION: "1.18.0"
TEA_VERSION: '0.10.1' TEA_VERSION: "0.10.1"
jobs: jobs:
check-and-create-pr: check-and-create-pr:
@@ -34,10 +34,10 @@ 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.RUNNER_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... 🔍"
- name: Check if open PR exists - name: Check if open PR exists
id: check-opened-pr-step id: check-opened-pr-step
@@ -80,10 +80,10 @@ 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.RUNNER_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 🎟️"
generate-service-list: generate-service-list:
name: Generate list of added/modified/deleted services name: Generate list of added/modified/deleted services
@@ -92,7 +92,6 @@ jobs:
outputs: outputs:
svc_deploy_list: ${{ steps.detect_services.outputs.docker_svc_list }} svc_deploy_list: ${{ steps.detect_services.outputs.docker_svc_list }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
@@ -103,10 +102,10 @@ 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.RUNNER_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..."
- name: Save both versions of docker-compose.yml - name: Save both versions of docker-compose.yml
run: | run: |
@@ -152,7 +151,7 @@ jobs:
needs: [generate-service-list] needs: [generate-service-list]
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }} VAULT_ADDR: ${{ secrets.TREZ_VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }} VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
VAULT_NAMESPACE: "" VAULT_NAMESPACE: ""
RINOA_REGISTRY_PASSWORD: ${{ secrets.BOT_GITEA_PASSWORD }} RINOA_REGISTRY_PASSWORD: ${{ secrets.BOT_GITEA_PASSWORD }}
@@ -165,6 +164,16 @@ jobs:
run: | run: |
docker login -u gitea-sonarqube-bot -p ${RINOA_REGISTRY_PASSWORD} git.trez.wtf docker login -u gitea-sonarqube-bot -p ${RINOA_REGISTRY_PASSWORD} git.trez.wtf
- name: Login to registries
uses: docker/login-action@v3
with:
registry-auth: |
- username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install Vault (only if not cached) - name: Install Vault (only if not cached)
uses: cpanato/vault-installer@main uses: cpanato/vault-installer@main
with: with:
@@ -173,10 +182,10 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: Docker Compose Dry Run @ Rinoa' notification_title: "GITEA: Docker Compose Dry Run @ Rinoa"
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: |
@@ -198,10 +207,10 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: Docker Compose Dry Run @ Rinoa' notification_title: "GITEA: Docker Compose Dry Run @ Rinoa"
notification_message: 'Docker Compose dry run completed successfully.' notification_message: "Docker Compose dry run completed successfully."
cloudflare-dns-setup: cloudflare-dns-setup:
name: Cloudflare DNS Setup name: Cloudflare DNS Setup
@@ -242,10 +251,10 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: Cloudflare Setup @ Rinoa' notification_title: "GITEA: Cloudflare Setup @ Rinoa"
notification_message: 'Starting Cloudflare DNS setup...' notification_message: "Starting Cloudflare DNS setup..."
- name: Compare Subdomains - name: Compare Subdomains
id: compare-subdomains id: compare-subdomains
@@ -272,10 +281,10 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: Cloudflare Setup @ Rinoa' notification_title: "GITEA: Cloudflare Setup @ Rinoa"
notification_message: 'Cloudflare DNS setup completed successfully.' notification_message: "Cloudflare DNS setup completed successfully."
regenerate-readme-modified-services: regenerate-readme-modified-services:
name: Update README & Generate List of Modified Services name: Update README & Generate List of Modified Services
@@ -291,10 +300,10 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: README Update' notification_title: "GITEA: README Update"
notification_message: 'Updating README...' notification_message: "Updating README..."
- name: Generate service list - name: Generate service list
run: | run: |
@@ -322,10 +331,10 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: README Update' notification_title: "GITEA: README Update"
notification_message: 'README updated' notification_message: "README updated"
pr-merge: pr-merge:
name: PR Merge name: PR Merge
@@ -373,17 +382,17 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: PR Merge Successful' notification_title: "GITEA: PR Merge Successful"
notification_message: 'PR #${{ steps.pr_merge.outputs.pr_index }} merged.' notification_message: "PR #${{ steps.pr_merge.outputs.pr_index }} merged."
docker-compose-deploy: docker-compose-deploy:
name: Docker Compose Deployment name: Docker Compose Deployment
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [generate-service-list, docker-compose-dry-run, pr-merge] needs: [generate-service-list, docker-compose-dry-run, pr-merge]
env: env:
VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }} VAULT_ADDR: ${{ secrets.TREZ_VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }} VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
DOCKER_HOST: tcp://dockerproxy:2375 DOCKER_HOST: tcp://dockerproxy:2375
RINOA_REGISTRY_PASSWORD: ${{ secrets.BOT_GITEA_PASSWORD }} RINOA_REGISTRY_PASSWORD: ${{ secrets.BOT_GITEA_PASSWORD }}
@@ -408,15 +417,15 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: Docker Compose Deployment @ Rinoa' notification_title: "GITEA: Docker Compose Deployment @ Rinoa"
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: |
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
echo ${DOCKER_SVC_LIST} echo ${DOCKER_SVC_LIST}
- name: Docker Compose Deployment - name: Docker Compose Deployment
uses: hoverkraft-tech/compose-action@v2.3.0 uses: hoverkraft-tech/compose-action@v2.3.0
@@ -442,7 +451,7 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: 'GITEA: Docker Compose Deployment @ Rinoa' notification_title: "GITEA: Docker Compose Deployment @ Rinoa"
notification_message: 'Deployment completed successfully.' notification_message: "Deployment completed successfully."
+5 -5
View File
@@ -11,7 +11,7 @@ on:
env: env:
HC_VAULT_VERSION: "1.18.0" HC_VAULT_VERSION: "1.18.0"
VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }} VAULT_ADDR: ${{ secrets.TREZ_VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }} VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
jobs: jobs:
@@ -93,8 +93,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.RUNNER_GOTIFY_URL }}"
gotify_app_token: "${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}" gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: "GITEA: [RENOVATE] Docker Compose Deployment @ Rinoa" notification_title: "GITEA: [RENOVATE] Docker Compose Deployment @ Rinoa"
notification_message: "Starting Docker Compose run..." notification_message: "Starting Docker Compose run..."
@@ -121,7 +121,7 @@ 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.RUNNER_GOTIFY_URL }}"
gotify_app_token: "${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}" gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}"
notification_title: "GITEA: [RENOVATE] Docker Compose Deployment @ Rinoa" notification_title: "GITEA: [RENOVATE] Docker Compose Deployment @ Rinoa"
notification_message: "Deployment completed successfully." notification_message: "Deployment completed successfully."