diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b458dcb..e2ae6c42 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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: @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bc620dd..6ac3e5ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) +* Update `mongodb-replicaset` 3rd party chart from `3.9.6` to `3.14.0` (#129) +* 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) diff --git a/Chart.yaml b/Chart.yaml index eb916a26..2bd78432 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -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 diff --git a/requirements.yaml b/requirements.yaml index 6f5293fb..0d2a8a8a 100644 --- a/requirements.yaml +++ b/requirements.yaml @@ -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 @@ -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 diff --git a/tests/st2tests.sh b/tests/st2tests.sh index 5120e2ca..35f01afc 100755 --- a/tests/st2tests.sh +++ b/tests/st2tests.sh @@ -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' { diff --git a/values.yaml b/values.yaml index 711ed8a8..439c6460 100644 --- a/values.yaml +++ b/values.yaml @@ -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!