From 0cd6477c543c785f942960f397594c325b848792 Mon Sep 17 00:00:00 2001 From: petarpeshev Date: Tue, 5 Dec 2023 16:06:40 +0200 Subject: [PATCH] ci: change gitops repo to aelabs --- .github/workflows/dev-backend.yml | 5 +++-- .github/workflows/dev-frontend.yml | 7 ++++--- .github/workflows/prd-backend.yml | 5 +++-- .github/workflows/prd-frontend.yml | 7 ++++--- .github/workflows/stg-backend.yml | 5 +++-- .github/workflows/stg-frontend.yml | 7 ++++--- 6 files changed, 21 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dev-backend.yml b/.github/workflows/dev-backend.yml index 0b35acd..3beb431 100644 --- a/.github/workflows/dev-backend.yml +++ b/.github/workflows/dev-backend.yml @@ -84,7 +84,8 @@ jobs: - uses: actions/checkout@v2 with: - repository: aeternity/gitops-apps.git + repository: aeternity/gitops-apps-aelabs.git + token: ${{ secrets.BOT_GITHUB_TOKEN }} ref: dev persist-credentials: false fetch-depth: 0 @@ -101,6 +102,6 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master with: - repository: aeternity/gitops-apps + repository: aeternity/gitops-apps-aelabs github_token: ${{ secrets.BOT_GITHUB_TOKEN }} branch: dev diff --git a/.github/workflows/dev-frontend.yml b/.github/workflows/dev-frontend.yml index 75fbaf9..a6c2e0b 100644 --- a/.github/workflows/dev-frontend.yml +++ b/.github/workflows/dev-frontend.yml @@ -70,7 +70,7 @@ jobs: labels: ${{ steps.meta.outputs.labels }} build-args: | VITE_NODE_ENV=staging - VITE_BOT_SERVICE_URL=https://develop-state-channel-demo-backend.dev.aepps.com + VITE_BOT_SERVICE_URL=https://develop-state-channel-demo-backend.dev.service.aepps.com VITE_CLIENT_PORT=8000 VITE_NODE_URL=https://testnet.aeternity.io VITE_COMPILER_URL=https://compiler.aepps.com @@ -93,7 +93,8 @@ jobs: - uses: actions/checkout@v2 with: - repository: aeternity/gitops-apps.git + repository: aeternity/gitops-apps-aelabs.git + token: ${{ secrets.BOT_GITHUB_TOKEN }} ref: dev persist-credentials: false fetch-depth: 0 @@ -110,6 +111,6 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master with: - repository: aeternity/gitops-apps + repository: aeternity/gitops-apps-aelabs github_token: ${{ secrets.BOT_GITHUB_TOKEN }} branch: dev diff --git a/.github/workflows/prd-backend.yml b/.github/workflows/prd-backend.yml index 6b62cbf..6ea3fb2 100644 --- a/.github/workflows/prd-backend.yml +++ b/.github/workflows/prd-backend.yml @@ -88,7 +88,8 @@ jobs: - uses: actions/checkout@v2 with: - repository: aeternity/gitops-apps.git + repository: aeternity/gitops-apps-aelabs.git + token: ${{ secrets.BOT_GITHUB_TOKEN }} ref: prd persist-credentials: false fetch-depth: 0 @@ -105,6 +106,6 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master with: - repository: aeternity/gitops-apps + repository: aeternity/gitops-apps-aelabs github_token: ${{ secrets.BOT_GITHUB_TOKEN }} branch: prd diff --git a/.github/workflows/prd-frontend.yml b/.github/workflows/prd-frontend.yml index 82f3b5f..1641c1f 100644 --- a/.github/workflows/prd-frontend.yml +++ b/.github/workflows/prd-frontend.yml @@ -72,7 +72,7 @@ jobs: labels: ${{ steps.meta.outputs.labels }} build-args: | VITE_NODE_ENV=staging - VITE_BOT_SERVICE_URL=https://state-channel-demo-backend.prd.aepps.com + VITE_BOT_SERVICE_URL=https://state-channel-demo-backend.prd.service.aepps.com VITE_CLIENT_PORT=8000 VITE_NODE_URL=https://testnet.aeternity.io VITE_COMPILER_URL=https://compiler.aepps.com @@ -95,7 +95,8 @@ jobs: - uses: actions/checkout@v2 with: - repository: aeternity/gitops-apps.git + repository: aeternity/gitops-apps-aelabs.git + token: ${{ secrets.BOT_GITHUB_TOKEN }} ref: prd persist-credentials: false fetch-depth: 0 @@ -112,6 +113,6 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master with: - repository: aeternity/gitops-apps + repository: aeternity/gitops-apps-aelabs github_token: ${{ secrets.BOT_GITHUB_TOKEN }} branch: prd diff --git a/.github/workflows/stg-backend.yml b/.github/workflows/stg-backend.yml index dc8c784..9cbcf38 100644 --- a/.github/workflows/stg-backend.yml +++ b/.github/workflows/stg-backend.yml @@ -89,7 +89,8 @@ jobs: - uses: actions/checkout@v2 with: - repository: aeternity/gitops-apps.git + repository: aeternity/gitops-apps-aelabs.git + token: ${{ secrets.BOT_GITHUB_TOKEN }} ref: stg persist-credentials: false fetch-depth: 0 @@ -137,6 +138,6 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master with: - repository: aeternity/gitops-apps + repository: aeternity/gitops-apps-aelabs github_token: ${{ secrets.BOT_GITHUB_TOKEN }} branch: stg diff --git a/.github/workflows/stg-frontend.yml b/.github/workflows/stg-frontend.yml index f6e247a..854dc85 100644 --- a/.github/workflows/stg-frontend.yml +++ b/.github/workflows/stg-frontend.yml @@ -75,7 +75,7 @@ jobs: labels: ${{ steps.meta.outputs.labels }} build-args: | VITE_NODE_ENV=staging - VITE_BOT_SERVICE_URL=https://pr-${{ env.PR_NUMBER }}-state-channel-demo-backend.stg.aepps.com + VITE_BOT_SERVICE_URL=https://pr-${{ env.PR_NUMBER }}-state-channel-demo-backend.stg.service.aepps.com VITE_CLIENT_PORT=8000 VITE_NODE_URL=https://testnet.aeternity.io VITE_COMPILER_URL=https://compiler.aepps.com @@ -98,7 +98,8 @@ jobs: - uses: actions/checkout@v2 with: - repository: aeternity/gitops-apps.git + repository: aeternity/gitops-apps-aelabs.git + token: ${{ secrets.BOT_GITHUB_TOKEN }} ref: stg persist-credentials: false fetch-depth: 0 @@ -146,6 +147,6 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master with: - repository: aeternity/gitops-apps + repository: aeternity/gitops-apps-aelabs github_token: ${{ secrets.BOT_GITHUB_TOKEN }} branch: stg