Skip to content

Commit

Permalink
Update microk8s version to 1.28 and multipass 1.12.2 (#4235)
Browse files Browse the repository at this point in the history
* Update microk8s version to 1.28 and multipass 1.12.2

* bump kubectl to 1.28.3

---------

Co-authored-by: Angelos Kolaitis <[email protected]>
  • Loading branch information
ajaykumar4 and neoaggelos authored Oct 20, 2023
1 parent 11f3cbb commit 12f9f5d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ jobs:
- name: Download Multipass installer
uses: carlosperate/[email protected]
with:
file-url: https://github.com/canonical/multipass/releases/download/v1.12.0/multipass-1.12.0+win-win64.exe
file-url: https://github.com/canonical/multipass/releases/download/v1.12.2/multipass-1.12.2+win-win64.exe
file-name: multipass.exe
location: ${{ github.workspace }}/installer/windows
- name: Download kubectl
uses: carlosperate/[email protected]
with:
file-url: https://storage.googleapis.com/kubernetes-release/release/v1.27.3/bin/windows/amd64/kubectl.exe
file-url: https://storage.googleapis.com/kubernetes-release/release/v1.28.3/bin/windows/amd64/kubectl.exe
file-name: kubectl.exe
location: ${{ github.workspace }}/installer/windows
- name: Create installer
Expand Down
2 changes: 1 addition & 1 deletion installer/common/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
DEFAULT_MEMORY_GB: int = 4
DEFAULT_DISK_GB: int = 50
DEFAULT_ASSUME: bool = False
DEFAULT_CHANNEL: str = "1.27/stable"
DEFAULT_CHANNEL: str = "1.28/stable"
DEFAULT_IMAGE: str = "22.04"

MIN_CORES: int = 2
Expand Down
4 changes: 2 additions & 2 deletions installer/vm_providers/_multipass/_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@


_MULTIPASS_RELEASES_API_URL = "https://api.github.com/repos/canonical/multipass/releases"
_MULTIPASS_DL_VERSION = "1.12.0"
_MULTIPASS_DL_VERSION = "1.12.2"
_MULTIPASS_DL_NAME = "multipass-{version}+win-win64.exe".format(version=_MULTIPASS_DL_VERSION)

# Download multipass installer and calculate hash:
# python3 -c "from installer.common.file_utils import calculate_sha3_384; print(calculate_sha3_384('$HOME/Downloads/multipass-1.11.1+win-win64.exe'))" # noqa: E501
_MULTIPASS_DL_SHA3_384 = "ddba66059052a67fa6a363729b75aca374591bc5a2531c938dd70d63f683c22108d5c2ab77025b818b31f69103228eee" # noqa: E501
_MULTIPASS_DL_SHA3_384 = "9031c8fc98b941df1094a832c356e12f281c70d0eb10bee15b5576c61af4c8a17ef32b833f0043c8df0e04897e69c8bc" # noqa: E501


def windows_reload_multipass_path_env():
Expand Down
2 changes: 1 addition & 1 deletion installer/windows/microk8s.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Function "ConfigureVm"
${NSD_CreateLabel} 42% 50 50u 10u "Snap Track"
Pop $VmConfigureDialogTrackLabel

${NSD_CreateText} 42% 67.5 50u 10u "1.27/stable"
${NSD_CreateText} 42% 67.5 50u 10u "1.28/stable"
Pop $VmConfigureDialogTrack

${NSD_CreateLabel} 8% 102.5 100% 10u "These are the minimum recommended parameters for the VM running ${PRODUCT_NAME}"
Expand Down

0 comments on commit 12f9f5d

Please sign in to comment.