This commit is contained in:
2025-09-03 21:36:27 -04:00
parent 5c4df64a60
commit c620b42570
@@ -5,17 +5,17 @@ on:
push: push:
branches-ignore: branches-ignore:
- 'main' - 'main'
- '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.20.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:
if: github.ref != 'refs/heads/main' && !startsWith(github.ref_name, 'renovate/') && github.actor != 'renovate-bot'
name: Check and Create PR name: Check and Create PR
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -32,6 +32,7 @@ jobs:
key: tea-${{ runner.os }}-${{ env.TEA_VERSION }} key: tea-${{ runner.os }}-${{ env.TEA_VERSION }}
- name: Install tea - name: Install tea
if: steps.cache-tea.outputs.cache-hit != 'true'
uses: supplypike/setup-bin@v4 uses: supplypike/setup-bin@v4
with: with:
uri: https://gitea.com/gitea/tea/releases/download/v${{ env.TEA_VERSION }}/tea-${{ env.TEA_VERSION }}-linux-amd64 uri: https://gitea.com/gitea/tea/releases/download/v${{ env.TEA_VERSION }}/tea-${{ env.TEA_VERSION }}-linux-amd64
@@ -357,7 +358,7 @@ jobs:
pr-merge: pr-merge:
name: PR Merge name: PR Merge
needs: [regenerate-readme-modified-services] needs: [regenerate-readme-modified-services]
if: github.ref != 'refs/heads/main' && !startsWith(github.ref_name, 'renovate/') && github.actor != 'renovate-bot' if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@@ -371,6 +372,7 @@ jobs:
key: tea-${{ runner.os }}-${{ env.TEA_VERSION }} key: tea-${{ runner.os }}-${{ env.TEA_VERSION }}
- name: Install tea - name: Install tea
if: steps.cache-tea.outputs.cache-hit != 'true'
uses: supplypike/setup-bin@v4 uses: supplypike/setup-bin@v4
with: with:
uri: https://gitea.com/gitea/tea/releases/download/v${{ env.TEA_VERSION }}/tea-${{ env.TEA_VERSION }}-linux-amd64 uri: https://gitea.com/gitea/tea/releases/download/v${{ env.TEA_VERSION }}/tea-${{ env.TEA_VERSION }}-linux-amd64
@@ -415,7 +417,7 @@ jobs:
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] needs: [generate-service-list, docker-compose-dry-run, pr-merge]
env: env:
VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }} VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }} VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}