From 25fcddd0bf7b87f41dab3af46d2c0a75e1865863 Mon Sep 17 00:00:00 2001 From: david22swan Date: Thu, 4 Aug 2022 11:28:45 +0100 Subject: [PATCH 1/2] (GH-cat-11) Certify Support for Ubuntu 22.04 --- metadata.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index 00527c8f..0e025c97 100644 --- a/metadata.json +++ b/metadata.json @@ -71,7 +71,8 @@ "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "18.04", - "20.04" + "20.04", + "22.04" ] }, { From e43198320ba80bf6a55527c5127d65dcef9166d5 Mon Sep 17 00:00:00 2001 From: david22swan Date: Wed, 10 Aug 2022 09:50:53 +0100 Subject: [PATCH 2/2] Updates for 22.04 --- .../scripts/install_pwsh/ubuntu_22.04.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 spec/fixtures/scripts/install_pwsh/ubuntu_22.04.sh diff --git a/spec/fixtures/scripts/install_pwsh/ubuntu_22.04.sh b/spec/fixtures/scripts/install_pwsh/ubuntu_22.04.sh new file mode 100644 index 00000000..38ad66e2 --- /dev/null +++ b/spec/fixtures/scripts/install_pwsh/ubuntu_22.04.sh @@ -0,0 +1,17 @@ +# Download the Microsoft repository GPG keys +wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb + +# Register the Microsoft repository GPG keys +dpkg -i packages-microsoft-prod.deb + +# Update the list of products +apt-get update + +# Enable the "universe" repositories +add-apt-repository universe + +# Install PowerShell +apt-get install -y powershell + +# List version +pwsh -v