Skip to content

Commit 562bae5

Browse files
authored
Merge pull request #157 from StackStorm/3.4dev
Release v0.40.0: Switch chart to latest st2 3.4dev version, disable Enterprise
2 parents 0da5647 + 6c7c6e7 commit 562bae5

File tree

5 files changed

+25
-55
lines changed

5 files changed

+25
-55
lines changed

.circleci/config.yml

+6-29
Original file line numberDiff line numberDiff line change
@@ -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:
@@ -56,13 +47,9 @@ jobs:
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

11996
workflows:

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22

33
## In Development
4+
5+
6+
## v0.40.0
7+
* Switch st2 version to `v3.4dev` as a new latest development version (#157)
8+
* Disable Enterprise testing in CI (#157)
49
* Change pullPolicy to "IfNotPresent", as Docker-Hub Ratelimits now (#159) (by @moonrail)
510
* Update `rabbitmq-ha` 3rd party chart from `1.44.1` to `1.46.1` (#158) (by @moonrail)
611
* Enable `rabbitmqErlangCookie` for `rabbitmq-ha` by default, to ensure cluster-redeployments do not fail (#158) (by @moonrail)

Chart.yaml

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
apiVersion: v1
22
# Update StackStorm version here to rely on other Docker images tags
3-
appVersion: 3.3dev
3+
appVersion: 3.4dev
44
name: stackstorm-ha
5-
version: 0.32.0
5+
version: 0.40.0
66
description: StackStorm K8s Helm Chart, optimized for running StackStorm in HA environment.
7-
home: https://stackstorm.com/#product
8-
icon: https://avatars1.githubusercontent.com/u/4969009
7+
home: https://stackstorm.com/
8+
icon: https://landscape.cncf.io/logos/stack-storm.svg
99
source:
1010
- https://github.com/stackstorm/stackstorm-ha
1111
keywords:
1212
- st2
1313
- stackstorm
1414
- devops
15+
- SRE
16+
- automation
1517
- chatops
1618
- event-driven
1719
- auto-remediation
1820
- IFTTT
1921
- HA
2022
maintainers:
21-
- name: Eugen C.
23+
- name: Eugen Cusmaunsa
24+
2225
url: https://github.com/armab
23-
- name: Warren Van Winckel
24-
url: https://github.com/warrenvw
2526
details:
26-
This Helm chart is a fully installable app that codifies StackStorm cluster optimized for HA and K8s environment.
27-
By default FOSS community version of st2 will be installed. Enterprise version can be enabled as an option.
28-
For configuration details check 'values.yaml'.
27+
This Helm chart is a fully installable app that codifies StackStorm cluster deployment optimized for HA and K8s environment.
28+
RabbitMQ-HA, MongoDB-HA clusters and coordination backend st2 relies on will be deployed as 3rd party chart dependencies.
29+
For configuration details please check default values.yaml and README.

README.md

-11
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@ Once you make any changes to values, upgrade the cluster:
3333
helm upgrade <release-name> .
3434
```
3535

36-
### Enterprise (Optional)
37-
By default, StackStorm Community FOSS version is configured via Helm chart. If you want to install [StackStorm Enterprise (EWC)](https://docs.stackstorm.com/install/ewc_ha.html), run:
38-
```
39-
helm install --set enterprise.enabled=true --set enterprise.license=<ST2_LICENSE_KEY> .
40-
```
41-
It will pull enterprise images from private Docker registry as well as allows configuring features like RBAC and LDAP.
42-
See Helm `values.yaml`, `enterprise` section for configuration examples.
43-
44-
> Don't have StackStorm Enterprise License?<br>
45-
> 90-day free trial can be requested at https://stackstorm.com/#product
46-
4736
## Configuration
4837

4938
The default configuration values for this chart are described in `values.yaml`.

templates/NOTES.txt

+3-5
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ kubectl exec -it ${ST2CLIENT} --namespace {{ .Release.Namespace }} -- st2 --vers
4949

5050
-----------------------------------------------------
5151
Thanks for trying StackStorm!
52-
{{- if .Values.enterprise.enabled }}
53-
Need help? Enterprise support: [email protected]
54-
{{- else }}
55-
Enterprise: https://stackstorm.com/#product
56-
{{- end }}
52+
Need help?
53+
* Forum: https://forum.stackstorm.com/
54+
* Slack: https://stackstorm.com/#community

0 commit comments

Comments
 (0)