File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and test MicroK8s snap
2
2
3
3
on :
4
- - push
4
+ - pull_request
5
5
6
6
jobs :
7
7
build :
56
56
path : build
57
57
- name : Running upgrade path test
58
58
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
60
60
61
61
test-addons-core :
62
62
name : Test core addons
@@ -152,7 +152,7 @@ jobs:
152
152
set -x
153
153
export UNDER_TIME_PRESSURE="True"
154
154
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"
156
156
157
157
test-cluster-agent :
158
158
name : Cluster agent health check
Original file line number Diff line number Diff line change 3
3
# List of addon repositories to bundle in the snap
4
4
# (name),(repository),(reference)
5
5
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
8
8
"
9
9
10
10
# List of addon repositories to automatically enable
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- echo " main "
3
+ echo " 1.31 "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- KUBE_TRACK=" ${KUBE_TRACK:- } " # example: "1.24"
3
+ KUBE_TRACK=" ${KUBE_TRACK:- 1.31 } " # example: "1.24"
4
4
KUBE_VERSION=" ${KUBE_VERSION:- } " # example: "v1.24.2"
5
5
6
6
if [ -z " ${KUBE_VERSION} " ]; then
You can’t perform that action at this time.
0 commit comments