Skip to content

Commit

Permalink
Update microk8s version to 1.27 and ubuntu version to 22.04 (#4046)
Browse files Browse the repository at this point in the history
* Update microk8s version to 1.27 and ubuntu version to 22.04

* Update to multipass 1.12.0

* Update kubectl to 1.27.3

* Update microk8s version on windows installer

* Bump windows installer version to 2.3.3

---------

Co-authored-by: Angelos Kolaitis <[email protected]>
  • Loading branch information
ajaykumar4 and neoaggelos authored Jun 22, 2023
1 parent 0071dd1 commit af64960
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 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.11.1/multipass-1.11.1+win-win64.exe
file-url: https://github.com/canonical/multipass/releases/download/v1.12.0/multipass-1.12.0+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.26.3/bin/windows/amd64/kubectl.exe
file-url: https://storage.googleapis.com/kubernetes-release/release/v1.27.3/bin/windows/amd64/kubectl.exe
file-name: kubectl.exe
location: ${{ github.workspace }}/installer/windows
- name: Create installer
Expand Down
4 changes: 2 additions & 2 deletions installer/common/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
DEFAULT_MEMORY_GB: int = 4
DEFAULT_DISK_GB: int = 50
DEFAULT_ASSUME: bool = False
DEFAULT_CHANNEL: str = "1.26/stable"
DEFAULT_IMAGE: str = "18.04"
DEFAULT_CHANNEL: str = "1.27/stable"
DEFAULT_IMAGE: str = "22.04"

MIN_CORES: int = 2
MIN_MEMORY_GB: 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.11.1"
_MULTIPASS_DL_VERSION = "1.12.0"
_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 = "7691383eb0f4def0f9e2b5c77f04424756a63f222b3500bdc8fb25bf4725f1c0ce3bd0cb0b7cff7f79d8f489e199225b" # noqa: E501
_MULTIPASS_DL_SHA3_384 = "ddba66059052a67fa6a363729b75aca374591bc5a2531c938dd70d63f683c22108d5c2ab77025b818b31f69103228eee" # noqa: E501


def windows_reload_multipass_path_env():
Expand Down
4 changes: 2 additions & 2 deletions installer/windows/microk8s.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
!include "Sections.nsh"

!define PRODUCT_NAME "MicroK8s"
!define PRODUCT_VERSION "2.3.2"
!define PRODUCT_VERSION "2.3.3"
!define PRODUCT_PUBLISHER "Canonical"
!define MUI_ICON ".\microk8s.ico"
!define MUI_HEADERIMAGE
Expand Down 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.26/stable"
${NSD_CreateText} 42% 67.5 50u 10u "1.27/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 af64960

Please sign in to comment.