Skip to content

Commit

Permalink
Initialize 1.31 release
Browse files Browse the repository at this point in the history
  • Loading branch information
berkayoz committed Oct 22, 2024
1 parent cda5545 commit 96d000d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-snap.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and test MicroK8s snap

on:
- push
- pull_request

jobs:
build:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
path: build
- name: Running upgrade path test
run: |
sudo -E STRICT=yes UPGRADE_MICROK8S_FROM=latest/edge/strict UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade-path.py
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
test-addons-core:
name: Test core addons
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
set -x
export UNDER_TIME_PRESSURE="True"
export STRICT="yes"
sudo -E bash -c "UPGRADE_MICROK8S_FROM=latest/edge/strict UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade.py"
sudo -E bash -c "UPGRADE_MICROK8S_FROM=1.31-strict/edge UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade.py"
test-cluster-agent:
name: Cluster agent health check
Expand Down
4 changes: 2 additions & 2 deletions build-scripts/addons/repositories.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# List of addon repositories to bundle in the snap
# (name),(repository),(reference)
ADDONS_REPOS="
core,https://github.com/canonical/microk8s-core-addons,main
community,https://github.com/canonical/microk8s-community-addons,main
core,https://github.com/canonical/microk8s-core-addons,1.31
community,https://github.com/canonical/microk8s-community-addons,1.31
"

# List of addon repositories to automatically enable
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/components/cluster-agent/version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

echo "main"
echo "1.31"
2 changes: 1 addition & 1 deletion build-scripts/components/kubernetes/version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

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

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

0 comments on commit 96d000d

Please sign in to comment.