fix: Adds creation of argocd namespace for bootstrap #24
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 Manifests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint-yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip install yamllint | |
- run: yamllint -c .yamllint.yaml --format github . | |
kustomize: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: azure/setup-kubectl@v3 | |
- name: kustomize build operators | |
run: | | |
for operator in $(find operators -maxdepth 1 -mindepth 1 -type d); do | |
echo "${operator}" | |
kubectl kustomize --enable-helm "${operator}" > /dev/null | |
done | |
echo "apps/operators" | |
kubectl kustomize apps/operators > /dev/null | |
- name: kustomize build components | |
run: | | |
for component in $(find components -maxdepth 1 -mindepth 1 -type d); do | |
if [[ "${component}" =~ "secrets" ]]; then | |
echo "Skipping secrets" | |
else | |
echo "${component}" | |
kubectl kustomize --enable-helm "${component}" > /dev/null | |
fi | |
done | |
echo "apps/components" | |
kubectl kustomize apps/components > /dev/null |