Skip to content

Commit 078c286

Browse files
authored
Merge branch 'master' into term
2 parents 95c8a42 + 87425e0 commit 078c286

File tree

9 files changed

+25
-31
lines changed

9 files changed

+25
-31
lines changed

.circleci/config.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ version: 2.1
33
# Add additional CircleCI Orbs dependencies
44
orbs:
55
# https://circleci.com/orbs/registry/orb/circleci/kubernetes
6-
kubernetes: circleci/kubernetes@0.11.0
6+
kubernetes: circleci/kubernetes@1.3.1
77
# https://circleci.com/orbs/registry/orb/circleci/helm
8-
helm: circleci/helm@1.1.1
8+
helm: circleci/helm@3.0.0
99
# https://circleci.com/orbs/registry/orb/ccpgames/minikube
1010
minikube: ccpgames/[email protected]
1111

@@ -21,13 +21,13 @@ jobs:
2121
resource_class: large
2222
machine:
2323
# Available images https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
24-
image: ubuntu-2204:2022.10.2
24+
image: ubuntu-2204:current
2525
steps:
2626
- checkout
2727
- kubernetes/install
2828
- minikube/minikube-install:
2929
# https://github.com/kubernetes/minikube/releases
30-
version: v1.29.0
30+
version: v1.31.2
3131
- run:
3232
name: Install Helm v3
3333
command: curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
@@ -39,7 +39,7 @@ jobs:
3939
command: helm dependency update
4040
- run:
4141
name: Helm install stackstorm-ha chart
42-
command: helm install --timeout 10m0s --debug --wait --name-template stackstorm-ha .
42+
command: helm install --timeout 15m0s --debug --wait --name-template stackstorm-ha .
4343
- run:
4444
name: Helm test
4545
command: helm test stackstorm-ha
@@ -63,9 +63,9 @@ workflows:
6363
parameters:
6464
# https://kubernetes.io/releases
6565
kubernetes-version:
66-
- "v1.26.1"
67-
- "v1.25.5"
68-
- "v1.24.9"
66+
- "v1.28.3"
67+
- "v1.27.7"
68+
- "v1.26.10"
6969
# Run periodic nightly Helm tests to ensure there are no regressions
7070
e2e-nightly:
7171
jobs:
@@ -74,9 +74,9 @@ workflows:
7474
parameters:
7575
# https://kubernetes.io/releases
7676
kubernetes-version:
77-
- "v1.26.1"
78-
- "v1.25.5"
79-
- "v1.24.9"
77+
- "v1.28.3"
78+
- "v1.27.7"
79+
- "v1.26.10"
8080
triggers:
8181
- schedule:
8282
cron: "0 1 * * *"

.github/workflows/e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# https://github.com/StackStorm/stackstorm-k8s/issues/342
2929
# https://github.com/k3s-io/k3s/releases
3030
k3s-channel:
31-
- "v1.26.1+k3s1"
31+
- "v1.28.3+k3s1"
3232
steps:
3333
- name: Checkout source
3434
uses: actions/checkout@v3
@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Helm install
4848
run: |
49-
helm install --timeout 10m0s --debug --wait \
49+
helm install --timeout 15m0s --debug --wait \
5050
--name-template stackstorm-ha .
5151
5252
- name: Helm test

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

33
## In Development
4+
* Bump to latest CircleCI orb versions ([email protected] and [email protected] by @ZoeLeah)
5+
* Remove unsupported k8s Versions (1.24.x and 1.25.x by @ZoeLeah)
6+
* Update and add new K8s versions (1.28.3, 1.27.7 and 1.26.10 by @ZoeLeah)
7+
* Switch from ubuntu-2204:2022.10.2 to ubuntu-2204:current (by @ZoeLeah)
8+
* Update K3s to v1.28.3+k3s1 (by @ZoeLeah)
9+
* Increase helm install timeout to 15 minutes (by @ZoeLeah)
410
* Shift K3s and K8s versions forward. (by @mamercad)
511
* BREAKING: Use the standardized labels recommended in the Helm docs. You can use `migrations/v1.0/standardize-labels.sh` to prepare an existing cluster before running `helm update`. (#351) (by @cognifloyd)
612
* Drop support for `networking.k8s.io/v1beta1` which was removed in kubernetes v1.22 (EOL 2022-10-28) (#353) (by @cognifloyd)

migrations/v1.0/standardize-labels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# We switched to the standard labels recommend in Helm's "Best Practices" doc.
3+
# We switched to the standard labels recommend in Helm's "Best Practices" doc.
44
# https://helm.sh/docs/chart_best_practices/labels/#standard-labels
55
#
66
# This script adds those labels to all the resources in an existing release,

tests/unit/ingress_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tests:
88
- it: Ingress not present if disabled
99
set:
1010
ingress:
11-
enabled: false
11+
enabled: false
1212
asserts:
1313
- hasDocuments:
1414
count: 0

tests/unit/overrides_test.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,23 @@ tests:
4343
asserts:
4444
- hasDocuments:
4545
count: 5
46-
4746
- contains: &overrides_volume
4847
path: spec.template.spec.volumes
4948
content:
5049
name: st2-overrides-vol
5150
configMap:
5251
name: st2ha-st2-overrides-configs
5352
documentIndex: 3 # register_content
54-
55-
5653
- contains: &overrides_mnt
5754
path: spec.template.spec.containers[0].volumeMounts
5855
content:
5956
name: st2-overrides-vol
6057
mountPath: /opt/stackstorm/overrides
6158
documentIndex: 3 # register_content
62-
6359
- contains: *overrides_mnt
6460
documentIndex: 4 #Extra_jobs
6561
- contains: *overrides_volume
6662
documentIndex: 4 #extra_jobs
67-
6863
- notContains: *overrides_volume
6964
documentIndex: 0
7065
- notContains: *overrides_mnt
@@ -78,7 +73,7 @@ tests:
7873
- notContains: *overrides_mnt
7974
documentIndex: 2
8075

81-
76+
8277
- it: Deployments with overrides
8378
template: deployments.yaml
8479
set:
@@ -102,14 +97,10 @@ tests:
10297
asserts:
10398
- hasDocuments:
10499
count: 14
105-
106-
107100
- contains: *overrides_volume # always included
108101
documentIndex: 12 # st2client
109102
- contains: *overrides_mnt # always included
110103
documentIndex: 12 # st2client
111-
112-
113104
- notContains: *overrides_volume
114105
documentIndex: 1
115106
- notContains: *overrides_mnt

tests/unit/post_start_script_test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,3 @@ tests:
267267
- equal: *assert_lifecycle
268268
- contains: *assert_volume_mount
269269
- contains: *assert_volume
270-

tests/unit/service_account_test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,3 @@ tests:
198198
documentIndex: 11
199199
- equal: *assert_sa_custom
200200
documentIndex: 13
201-

tests/unit/services_test.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ tests:
88
- it: st2web, st2auth, st2api, st2stream should work without externalName
99
set:
1010
st2chatops:
11-
enabled: false
11+
enabled: false
1212
asserts:
1313
- hasDocuments:
1414
count: 4
1515
- isNull:
1616
path: spec.externalName
17-
17+
1818
- it: st2web, st2auth, st2api, st2stream should work with externalName if type is ExternalName
1919
set:
2020
st2web:
@@ -34,7 +34,7 @@ tests:
3434
hostname: some-host-name
3535
type: ExternalName
3636
st2chatops:
37-
enabled: false
37+
enabled: false
3838
asserts:
3939
- hasDocuments:
4040
count: 4
@@ -44,4 +44,3 @@ tests:
4444
- equal:
4545
path: spec.externalName
4646
value: some-host-name
47-

0 commit comments

Comments
 (0)