From 6537b09e655e58811e7a0f8d8a2d491eb1c86728 Mon Sep 17 00:00:00 2001 From: fmacheleidt Date: Tue, 16 Apr 2024 10:13:37 +0000 Subject: [PATCH] migrate-argo-v2 --- .github/workflows/build.yaml | 6 +++--- .github/workflows/pr-cleanup.yaml | 4 ++-- .github/workflows/push-main.yaml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ef78a0e2..64ef9bd7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -82,7 +82,7 @@ jobs: - name: Create KUBECONFIG env: - KUBE_CONFIG: '${{ secrets.KUBECONFIG_TEST }}' + KUBE_CONFIG: '${{ secrets.KUBECONFIG_TEST_AV2 }}' run: | mkdir -p $HOME/.kube echo "$KUBE_CONFIG" > $HOME/.kube/config @@ -90,7 +90,7 @@ jobs: - name: Deploy Helm Release env: TRAINING_HELM_RELEASE: 'pr-${{ github.event.pull_request.number }}' - TRAINING_NAMESPACE: 'pitc-quarkus-techlab-test' + TRAINING_NAMESPACE: 'pitc-cicd-quarkus-techlab-test' TRAINING_VERSION: '${{ github.sha }}' run: | helm upgrade $TRAINING_HELM_RELEASE acend-training-chart --install --wait \ @@ -104,7 +104,7 @@ jobs: - name: Redeploy Deployments env: TRAINING_HELM_RELEASE: 'pr-${{ github.event.pull_request.number }}' - TRAINING_NAMESPACE: 'pitc-quarkus-techlab-test' + TRAINING_NAMESPACE: 'pitc-cicd-quarkus-techlab-test' run: | kubectl rollout restart deployment/$TRAINING_HELM_RELEASE-quarkus-techlab-puzzle \ --kubeconfig $HOME/.kube/config \ diff --git a/.github/workflows/pr-cleanup.yaml b/.github/workflows/pr-cleanup.yaml index a026ecf8..c3684bc6 100644 --- a/.github/workflows/pr-cleanup.yaml +++ b/.github/workflows/pr-cleanup.yaml @@ -24,7 +24,7 @@ jobs: - name: Create KUBECONFIG env: - KUBE_CONFIG: '${{ secrets.KUBECONFIG_TEST }}' + KUBE_CONFIG: '${{ secrets.KUBECONFIG_TEST_AV2 }}' run: | mkdir -p $HOME/.kube echo "$KUBE_CONFIG" > $HOME/.kube/config @@ -32,7 +32,7 @@ jobs: - name: Remove PR Environment Helm Release env: TRAINING_HELM_RELEASE: 'pr-${{ github.event.pull_request.number }}' - TRAINING_NAMESPACE: 'pitc-quarkus-techlab-test' + TRAINING_NAMESPACE: 'pitc-cicd-quarkus-techlab-test' TRAINING_VERSION: '${{ github.sha }}' run: | helm uninstall $TRAINING_HELM_RELEASE --kubeconfig $HOME/.kube/config --namespace=$TRAINING_NAMESPACE diff --git a/.github/workflows/push-main.yaml b/.github/workflows/push-main.yaml index f1c891d2..2f3542e0 100644 --- a/.github/workflows/push-main.yaml +++ b/.github/workflows/push-main.yaml @@ -85,7 +85,7 @@ jobs: - name: Create KUBECONFIG env: - KUBE_CONFIG: '${{ secrets.KUBECONFIG_CLOUDSCALE }}' + KUBE_CONFIG: '${{ secrets.KUBECONFIG_PROD_AV2 }}' run: | mkdir -p $HOME/.kube echo "$KUBE_CONFIG" > $HOME/.kube/config @@ -93,7 +93,7 @@ jobs: - name: Deploy Helm Release env: TRAINING_HELM_RELEASE: 'latest' - TRAINING_NAMESPACE: 'pitc-quarkus-techlab-prod' + TRAINING_NAMESPACE: 'pitc-cicd-quarkus-techlab-prod' TRAINING_VERSION: '${{ github.sha }}' run: | helm upgrade $TRAINING_HELM_RELEASE acend-training-chart --install --wait \ @@ -109,7 +109,7 @@ jobs: - name: Redeploy Deployments env: TRAINING_HELM_RELEASE: 'latest' - TRAINING_NAMESPACE: 'pitc-quarkus-techlab-prod' + TRAINING_NAMESPACE: 'pitc-cicd-quarkus-techlab-prod' run: | kubectl rollout restart deployment/$TRAINING_HELM_RELEASE-quarkus-techlab-puzzle \ --kubeconfig $HOME/.kube/config \