Skip to content

Commit

Permalink
Merge pull request #218 from acend/migrate-argo-v2
Browse files Browse the repository at this point in the history
migrate-argo-v2
  • Loading branch information
fmacheleidt authored Apr 16, 2024
2 parents cb479cb + 6537b09 commit 1e70c8b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ 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
- 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 \
Expand All @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ 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
- 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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ 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
- 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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 1e70c8b

Please sign in to comment.