Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 12 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ version: 2.1
# Add additional CircleCI Orbs dependencies
orbs:
# https://circleci.com/orbs/registry/orb/circleci/kubernetes
kubernetes: circleci/kubernetes@0.10.1
kubernetes: circleci/kubernetes@0.11.0
# Pins Helm to v2.x
# TODO: Consider upgrading Helm to v3.0 (https://github.com/StackStorm/stackstorm-ha/issues/98)
# https://circleci.com/orbs/registry/orb/circleci/helm
helm: circleci/helm@0.2.0
helm: circleci/helm@0.2.3
# https://circleci.com/orbs/registry/orb/ccpgames/minikube
minikube: ccpgames/minikube@0.0.1

Expand All @@ -17,7 +17,7 @@ jobs:
working_directory: ~/stackstorm-ha
docker:
# Pin Helm to v2.x, see https://github.com/StackStorm/stackstorm-ha/issues/98
- image: lachlanevenson/k8s-helm:v2.16.1
- image: lachlanevenson/k8s-helm:v2.16.7
steps:
- checkout
- run:
Expand Down Expand Up @@ -78,10 +78,17 @@ jobs:
- kubernetes/install
- minikube/minikube-install:
# https://github.com/kubernetes/minikube/releases
version: v1.5.2
version: v1.10.1
- run:
name: Install dependencies
command: |
sudo apt update || true
# K8s 1.18 requires conntrack
# See: https://github.com/kubernetes/minikube/issues/7179
sudo apt install -y conntrack
- run:
name: Create new K8s cluster
command: sudo -E minikube start --vm-driver=none --cpus $(nproc) --memory 4096
command: sudo -E minikube start --vm-driver=none
environment:
CHANGE_MINIKUBE_NONE_USER: true
- helm/install-helm-on-cluster
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## In Development

## v0.30.0
* Pin st2 version to `v3.3dev` as a new latest development version (#129)
* Migrate from `py2` `Ubuntu Xenial` to `py3` `Ubuntu Bionic` as a base StackStorm OS (StackStorm/st2-dockerfiles#16, #129)
* Switch from MongoDB `3.4` to `4.0` for the mongodb-ha Helm chart (#129)
* Update `etcd-operator` 3rd party chart from `0.10.0` to latest `0.10.3` (#129)
* Update `rabbitmq-ha` 3rd party chart from `1.36.4` to `1.44.1` (#129)
Copy link
Member Author

@arm4b arm4b May 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spot helm/charts#21274 (comment) bug in rabbitmq-ha 1.44.2 along the way.

* Update `mongodb-replicaset` 3rd party chart from `3.9.6` to `3.14.0` (#129)
Copy link
Member Author

@arm4b arm4b May 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spot helm/charts#21630 (comment) bug in mongodb-replicaset 3.14.1 along the way.

* Update CI infrastructure env, run tests on updated Helm `v2.16.7`, latest minikube `v1.10.1` and K8s `1.18` (#129)

## v0.28.0
* Added support for custom image repository (#131) (by @ytjohn)
Expand Down
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
# Update StackStorm version here to rely on other Docker images tags
appVersion: 3.2dev
appVersion: 3.3dev
name: stackstorm-ha
version: 0.28.0
version: 0.30.0
description: StackStorm K8s Helm Chart, optimized for running StackStorm in HA environment.
home: https://stackstorm.com/#product
icon: https://avatars1.githubusercontent.com/u/4969009
Expand Down
6 changes: 3 additions & 3 deletions requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dependencies:
- name: rabbitmq-ha
version: 1.36.4
version: 1.44.1
repository: https://kubernetes-charts.storage.googleapis.com/
condition: rabbitmq-ha.enabled
- name: mongodb-replicaset
version: 3.9.6
version: 3.14.0
repository: https://kubernetes-charts.storage.googleapis.com/
alias: mongodb-ha
condition: mongodb-ha.enabled
Expand All @@ -13,7 +13,7 @@ dependencies:
repository: https://kubernetes-charts.storage.googleapis.com/
condition: external-dns.enabled
- name: etcd-operator
version: 0.10.0
version: 0.10.3
repository: https://kubernetes-charts.storage.googleapis.com/
condition: etcd-operator.enabled

4 changes: 2 additions & 2 deletions tests/st2tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ load "${BATS_HELPERS_DIR}/bats-file/load.bash"
@test 'st2 version deployed and python env are as expected' {
run st2 --version
assert_success
# st2 3.1dev (7079635), on Python 2.7.12
# st2 3.3dev (9ea417346), on Python 3.6.9
assert_line --partial "st2 ${ST2_VERSION}"
assert_line --partial 'on Python 2.7.12'
assert_line --partial 'on Python 3.6.9'
}

@test 'ST2_AUTH_URL service endpoint is accessible and working' {
Expand Down
4 changes: 2 additions & 2 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ mongodb-ha:
# Specify your external [database] connection parameters under st2.config
enabled: true
image:
# StackStorm currently supports maximum MongoDB v3.4
tag: 3.4
# StackStorm currently supports maximum MongoDB v4.0
tag: "4.0"
auth:
enabled: true
# NB! It's highly recommended to change ALL defaults!
Expand Down