Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI job for kustomize builds #176

Closed
wants to merge 1 commit into from
Closed
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
44 changes: 44 additions & 0 deletions .github/workflows/kustom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Kustomize Build
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
kustomize:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- path: examples/common/olm
- path: examples/common/metallb
- path: examples/common/nmstate
- path: examples/va/hci/control-plane
- path: examples/va/hci/control-plane/nncp
- path: examples/va/hci/edpm-pre-ceph
- path: examples/va/hci
- path: examples/va/nfv/ovs-dpdk
- path: examples/va/nfv/ovs-dpdk/nncp
- path: examples/va/nfv/ovs-dpdk/edpm
- path: examples/va/nfv/ovs-dpdk-sriov
- path: examples/va/nfv/ovs-dpdk-sriov/nncp
- path: examples/va/nfv/ovs-dpdk-sriov/edpm
- path: examples/va/nfv/sriov
- path: examples/va/nfv/sriov/nncp
- path: examples/va/nfv/sriov/edpm
steps:
- uses: actions/checkout@v4
with:
# this fetches all branches. Needed because we need gh-pages branch for deploy to work
fetch-depth: 0
- name: download kustomize
run: |
mkdir bin
LINK=https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh
curl -Ss $LINK | bash -s -- 5.0.1 ./bin
- name: kustomize build
run: |
./bin/kustomize build ${{ matrix.path }}