Upgrade ArgoCD Dry Run #6
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/checkout@v4.1.6 | |
- name: Set up Kubectl | |
uses: azure/k8s-set-context@v4.0.0 | |
with: | |
method: service-account | |
k8s-url: "${{ secrets.API_SERVER }}" | |
k8s-secret: "${{ secrets.SA_SECRET }}" | |
- name: Install Helm | |
uses: azure/setup-helm@v4.2.0 | |
- 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 |