File tree Expand file tree Collapse file tree
cyclops-ctrl/config/crd/bases Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 cd ${{ github.workspace }}/cyclops-ctrl
3838 make unit-test
3939
40+ validate-crd-updates :
41+ runs-on : ubuntu-latest
42+ steps :
43+ - name : Checkout repository
44+ uses : actions/checkout@v2
45+
46+ - name : Validate Module
47+ working-directory : cyclops-ctrl
48+ run : |
49+ diff \
50+ <(yq 'select(.kind == "CustomResourceDefinition" and .metadata.name == "modules.cyclops-ui.com")' ../install/cyclops-install.yaml) \
51+ <(yq -N config/crd/bases/cyclops-ui.com_modules.yaml)
52+ - name : Validate TemplateAuthRule
53+ working-directory : cyclops-ctrl
54+ run : |
55+ diff \
56+ <(yq 'select(.kind == "CustomResourceDefinition" and .metadata.name == "templateauthrules.cyclops-ui.com")' ../install/cyclops-install.yaml) \
57+ <(yq -N config/crd/bases/cyclops-ui.com_templateauthrules.yaml)
58+ - name : Validate TemplateStore
59+ working-directory : cyclops-ctrl
60+ run : |
61+ diff \
62+ <(yq 'select(.kind == "CustomResourceDefinition" and .metadata.name == "templatestores.cyclops-ui.com")' ../install/cyclops-install.yaml) \
63+ <(yq -N config/crd/bases/cyclops-ui.com_templatestores.yaml)
64+
4065 build-UI :
4166 needs :
4267 - test-UI
6792 build-controller :
6893 needs :
6994 - test-controller
95+ - validate-crd-updates
7096 runs-on : ubuntu-latest
7197 steps :
7298 - name : Set up QEMU
Original file line number Diff line number Diff line change 1717 - name : Checkout repository
1818 uses : actions/checkout@v2
1919 - name : Unit tests
20+ working-directory : cyclops-ctrl
2021 run : |
21- cd ${{ github.workspace }}/cyclops-ctrl
2222 make unit-test
23+
24+ validate-crd-updates :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : Checkout repository
28+ uses : actions/checkout@v2
29+
30+ - name : Validate Module
31+ working-directory : cyclops-ctrl
32+ run : |
33+ diff \
34+ <(yq 'select(.kind == "CustomResourceDefinition" and .metadata.name == "modules.cyclops-ui.com")' ../install/cyclops-install.yaml) \
35+ <(yq -N config/crd/bases/cyclops-ui.com_modules.yaml)
36+ - name : Validate TemplateAuthRule
37+ working-directory : cyclops-ctrl
38+ run : |
39+ diff \
40+ <(yq 'select(.kind == "CustomResourceDefinition" and .metadata.name == "templateauthrules.cyclops-ui.com")' ../install/cyclops-install.yaml) \
41+ <(yq -N config/crd/bases/cyclops-ui.com_templateauthrules.yaml)
42+ - name : Validate TemplateStore
43+ working-directory : cyclops-ctrl
44+ run : |
45+ diff \
46+ <(yq 'select(.kind == "CustomResourceDefinition" and .metadata.name == "templatestores.cyclops-ui.com")' ../install/cyclops-install.yaml) \
47+ <(yq -N config/crd/bases/cyclops-ui.com_templatestores.yaml)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments