Skip to content

Upgrade ArgoCD Dry Run #8

Upgrade ArgoCD Dry Run

Upgrade ArgoCD Dry Run #8

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