Skip to content

Commit c08dd4f

Browse files
authored
Initialize 1.31 release (#4712)
1 parent cda5545 commit c08dd4f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build-snap.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build and test MicroK8s snap
22

33
on:
4-
- push
4+
- pull_request
55

66
jobs:
77
build:
@@ -56,7 +56,7 @@ jobs:
5656
path: build
5757
- name: Running upgrade path test
5858
run: |
59-
sudo -E STRICT=yes UPGRADE_MICROK8S_FROM=latest/edge/strict UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade-path.py
59+
sudo -E STRICT="yes" UPGRADE_MICROK8S_FROM=1.31-strict/edge UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade-path.py
6060
6161
test-addons-core:
6262
name: Test core addons
@@ -152,7 +152,7 @@ jobs:
152152
set -x
153153
export UNDER_TIME_PRESSURE="True"
154154
export STRICT="yes"
155-
sudo -E bash -c "UPGRADE_MICROK8S_FROM=latest/edge/strict UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade.py"
155+
sudo -E bash -c "UPGRADE_MICROK8S_FROM=1.31-strict/edge UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade.py"
156156
157157
test-cluster-agent:
158158
name: Cluster agent health check

build-scripts/addons/repositories.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# List of addon repositories to bundle in the snap
44
# (name),(repository),(reference)
55
ADDONS_REPOS="
6-
core,https://github.com/canonical/microk8s-core-addons,main
7-
community,https://github.com/canonical/microk8s-community-addons,main
6+
core,https://github.com/canonical/microk8s-core-addons,1.31
7+
community,https://github.com/canonical/microk8s-community-addons,1.31
88
"
99

1010
# List of addon repositories to automatically enable
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
echo "main"
3+
echo "1.31"

build-scripts/components/kubernetes/version.sh

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

3-
KUBE_TRACK="${KUBE_TRACK:-}" # example: "1.24"
3+
KUBE_TRACK="${KUBE_TRACK:-1.31}" # example: "1.24"
44
KUBE_VERSION="${KUBE_VERSION:-}" # example: "v1.24.2"
55

66
if [ -z "${KUBE_VERSION}" ]; then

0 commit comments

Comments
 (0)