feat(github-release): update argoproj/argo-cd to v2.12.0 #1954
Workflow file for this run
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: Validate | |
on: | |
# Validate on push for Renovate auto merge without PR | |
push: | |
branches: | |
- 'main' | |
- 'renovate/**' | |
pull_request: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
# Exclude duplicate execution for PRs from renovate branches | |
if: ${{ !(github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'renovate/')) }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create single cluster | |
uses: AbsaOSS/k3d-action@v2 | |
id: single-cluster | |
with: | |
cluster-name: "test-cluster" | |
args: >- | |
--agents 1 | |
--no-lb | |
--k3s-arg "--disable=traefik,servicelb,metrics-server@server:0" | |
- name: Show cluster info | |
run: | | |
echo ${{ steps.single-cluster.outputs.network }} | |
echo ${{ steps.single-cluster.outputs.subnet-CIDR }} | |
docker ps -a | |
kubectl cluster-info --context k3d-test-cluster | |
kubectl config use-context k3d-test-cluster | |
kubectl get nodes -o wide | |
# https://stackoverflow.com/a/73596568 | |
- name: Setup to skip ksops decryption | |
run: sudo ln -s /bin/true /usr/local/bin/ksops | |
- name: Install CRDs | |
run: | | |
# renovate:github-url | |
kustomize build https://github.com/argoproj/argo-cd//manifests/crds?ref=v2.12.0 | kubectl create -f - | |
# Use minimal crd until full CRDs are fixed: https://github.com/argoproj/argo-workflows/issues/11266 | |
# renovate:github-url | |
kustomize build https://github.com/argoproj/argo-workflows//manifests/base/crds/minimal?ref=v3.5.10 | kubectl create -f - | |
# renovate:github-url | |
# kustomize build https://github.com/argoproj/argo-workflows//manifests/base/crds/full?ref=v3.5.10 | kubectl create -f - | |
# renovate:github-url | |
kubectl create -f https://raw.githubusercontent.com/traefik/traefik/v3.1.1/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml | |
# renovate:github-url | |
kubectl create -f https://github.com/cert-manager/cert-manager/releases/download/v1.15.2/cert-manager.yaml | |
# renovate:github-url | |
kubectl create -f https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.4/crd.yaml | |
- name: Validate | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 10 | |
max_attempts: 3 | |
command: ./check.sh |