Upgrade ArgoCD Dry Run #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upgrade ArgoCD Dry Run | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- argo-cd/** | |
jobs: | |
dry-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up Kubectl | |
uses: azure/[email protected] | |
with: | |
method: service-account | |
k8s-url: "${{ secrets.API_SERVER }}" | |
k8s-secret: "${{ secrets.SA_SECRET }}" | |
- name: Install Helm | |
uses: azure/[email protected] | |
- name: Download dependencies | |
run: | | |
helm dep update ./argo-cd | |
- name: Lint | |
run: | | |
helm lint ./argo-cd | |
- name: Upgrade release dry run | |
run: | | |
helm upgrade --kube-insecure-skip-tls-verify --dry-run argo-cd ./argo-cd --namespace argocd --install --values ./argo-cd/values.yaml |