Skip to content

Commit

Permalink
Merge pull request #318 from puzzle/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 3e31e9f + 6784762 commit a7bd89b
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 @@ -72,15 +72,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-jenkins-techlab-test'
TRAINING_NAMESPACE: 'pitc-cicd-jenkins-techlab-test'
TRAINING_VERSION: '${{ github.sha }}'
run: |
helm upgrade $TRAINING_HELM_RELEASE acend-training-chart --install --wait \
Expand All @@ -96,7 +96,7 @@ jobs:
env:
TRAINING_HELM_RELEASE: 'pr-${{ github.event.pull_request.number }}'
TRAINING_HELM_NAME: 'jenkins-techlab-puzzle'
TRAINING_NAMESPACE: 'pitc-jenkins-techlab-test'
TRAINING_NAMESPACE: 'pitc-cicd-jenkins-techlab-test'
run: |
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME} \
--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 @@ -25,15 +25,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-jenkins-techlab-test'
TRAINING_NAMESPACE: 'pitc-cicd-jenkins-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 @@ -74,15 +74,15 @@ jobs:
-
name: Create KUBECONFIG
env:
KUBE_CONFIG: '${{ secrets.KUBECONFIG }}'
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-jenkins-techlab-prod'
TRAINING_NAMESPACE: 'pitc-cicd-jenkins-techlab-prod'
TRAINING_VERSION: '${{ github.sha }}'
run: |
helm upgrade $TRAINING_HELM_RELEASE acend-training-chart --install --wait \
Expand All @@ -99,7 +99,7 @@ jobs:
env:
TRAINING_HELM_RELEASE: 'latest'
TRAINING_HELM_NAME: 'jenkins-techlab-puzzle'
TRAINING_NAMESPACE: 'pitc-jenkins-techlab-prod'
TRAINING_NAMESPACE: 'pitc-cicd-jenkins-techlab-prod'
run: |
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME} \
--kubeconfig $HOME/.kube/config \
Expand Down

0 comments on commit a7bd89b

Please sign in to comment.