@@ -27,26 +27,17 @@ jobs:
2727 helm init --client-only
2828 helm dependency update
2929 - run :
30- name : Helm Lint Check (Community)
30+ name : Helm Lint Check
3131 command : helm lint
32- - run :
33- name : Helm Lint Check (Enterprise)
34- command : helm lint --set enterprise.enabled=true --set enterprise.license=123asd456fake
3532 - run :
3633 name : Helm template
3734 command : |
38- mkdir -p enterprise community
35+ mkdir -p community
3936 helm template --output-dir community .
40- helm template --output-dir enterprise --set enterprise.enabled=true --set enterprise.license=123asd456fake .
4137 - persist_to_workspace :
4238 root : ~/stackstorm-ha/
4339 paths :
4440 - community
45- - enterprise
46- # TODO: Fill an issue in https://github.com/garethr/kubeval
47- # 'charts' contains 3rd party templates which doesn't validate against schema due to minor 'object != null' API validation issues
48- # See: https://circleci.com/gh/StackStorm/stackstorm-enterprise-ha/18
49- # - charts
5041
5142 # Run Kubernetes lint checks
5243 k8s-lint :
5647 - attach_workspace :
5748 at : .
5849 - run :
59- name : K8s Kubeval Lint Check (Community)
50+ name : K8s Kubeval Lint Check
6051 command : kubeval $(find . -type f)
6152 working_directory : community/stackstorm-ha/templates/
62- - run :
63- name : K8s Kubeval Lint Check (Enterprise)
64- command : kubeval $(find . -type f)
65- working_directory : enterprise/stackstorm-ha/templates/
6653
6754 # Spin up minikube K8s cluster and run Helm chart & e2e tests on it
6855 helm-e2e :
@@ -96,24 +83,14 @@ jobs:
9683 name : Update stackstorm-ha chart dependencies
9784 command : helm dependency update
9885 - run :
99- name : Helm install stackstorm-ha chart (Community)
86+ name : Helm install stackstorm-ha chart
10087 command : helm install --timeout 600 --debug --wait --name stackstorm-ha .
10188 - run :
102- name : Helm test (Community)
89+ name : Helm test
10390 command : helm test stackstorm-ha --parallel --cleanup
10491 - run :
10592 when : always
106- name : Show created K8s resources (Community)
107- command : kubectl get all
108- - run :
109- name : Helm upgrade stackstorm-ha (Community -> Enterprise)
110- command : helm upgrade --wait stackstorm-ha . --set enterprise.enabled=true --set enterprise.license=${EWC_LICENSE}
111- - run :
112- name : Helm test (Enterprise)
113- command : helm test stackstorm-ha --parallel
114- - run :
115- when : always
116- name : Show created K8s resources (Enterprise)
93+ name : Show created K8s resources
11794 command : kubectl get all
11895
11996workflows :
0 commit comments