Skip to content

dettach fiesta Jul 24th #768

dettach fiesta Jul 24th

dettach fiesta Jul 24th #768

Workflow file for this run

name: Kustomize Build Check
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
kustomize-lint:
runs-on: ubuntu-latest
env:
KUSTOMIZE_VERSION: 4.5.7
steps:
- name: Install Kustomize
# yamllint disable rule:line-length
run: |
sudo curl -L -o /usr/bin/kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64
sudo chmod +x /usr/bin/kustomize
- name: Checkout cnf-features-deploy repo
uses: actions/checkout@v4
with:
repository: openshift-kni/cnf-features-deploy
path: cnf-features-deploy
ref: release-4.13
- name: Install siteconfig plugin
run: |
cd /home/runner/work/vse-carslab-hub/vse-carslab-hub/cnf-features-deploy/ztp/siteconfig-generator-kustomize-plugin
make build KUSTOMIZE_DIR=/home/runner/kustomize SITECONFIG_KUSTOMIZE_DIR=/home/runner/kustomize/plugin/ran.openshift.io/v1/siteconfig
- name: Install policies plugin
run: |
cd /home/runner/work/vse-carslab-hub/vse-carslab-hub/cnf-features-deploy/ztp/policygenerator-kustomize-plugin
make build KUSTOMIZE_DIR=/home/runner/kustomize POLICYGEN_KUSTOMIZE_DIR=/home/runner/kustomize/plugin/ran.openshift.io/v1/policygentemplate
- name: Code Checkout
uses: actions/checkout@v4
with:
path: main
- name: Validate Manifests
run: |
cd /home/runner/work/vse-carslab-hub/vse-carslab-hub/main/hack
./validate_manifests.sh
# yamllint enable rule:line-length