Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions .github/workflows/deploy-applicationset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -319,38 +319,38 @@ jobs:
chmod 600 ~/.kube/config


- name: Verify Kubernetes connection
run: |
# - name: Verify Kubernetes connection
# run: |

kubectl cluster-info
# kubectl cluster-info

echo
kubectl config current-context
# echo
# kubectl config current-context


- name: Verify ApplicationSet CRD
run: |
kubectl get crd applicationsets.argoproj.io
# - name: Verify ApplicationSet CRD
# run: |
# kubectl get crd applicationsets.argoproj.io


- name: Server-side ApplicationSet dry-run
shell: bash
run: |
# - name: Server-side ApplicationSet dry-run
# shell: bash
# run: |

while read -r file; do
# while read -r file; do

[ -z "$file" ] && continue
# [ -z "$file" ] && continue

echo
echo "=========================================="
echo "Server-side dry-run: $file"
echo "=========================================="
# echo
# echo "=========================================="
# echo "Server-side dry-run: $file"
# echo "=========================================="

kubectl apply \
--dry-run=server \
-f "$file"
# kubectl apply \
# --dry-run=server \
# -f "$file"

done < /tmp/appset-files.txt
# done < /tmp/appset-files.txt


# =========================================================
Expand Down
Loading