From bcd27d5a5d799d2c126cd4d13b77e0c8d1a40fed Mon Sep 17 00:00:00 2001 From: vd1992 <40485260+vd1992@users.noreply.github.com> Date: Mon, 29 Apr 2024 16:07:17 -0600 Subject: [PATCH 1/2] bump to 22 --- infrastructure/azure-pipelines-dev.yml | 2 +- infrastructure/azure-pipelines.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/azure-pipelines-dev.yml b/infrastructure/azure-pipelines-dev.yml index cca616ae4d3..ceb75a026dd 100644 --- a/infrastructure/azure-pipelines-dev.yml +++ b/infrastructure/azure-pipelines-dev.yml @@ -13,7 +13,7 @@ jobs: - job: build_artifact displayName: Build artifact pool: - vmImage: ubuntu-20.04 + vmImage: ubuntu-22.04 steps: - checkout: self clean: true diff --git a/infrastructure/azure-pipelines.yml b/infrastructure/azure-pipelines.yml index e384a6d777b..28673ec1be1 100644 --- a/infrastructure/azure-pipelines.yml +++ b/infrastructure/azure-pipelines.yml @@ -20,7 +20,7 @@ jobs: - job: build_artifact displayName: Build artifact pool: - vmImage: ubuntu-20.04 + vmImage: ubuntu-22.04 steps: - checkout: self clean: true From 6256d13497236c8386e27aeee524b724d117e087 Mon Sep 17 00:00:00 2001 From: vd1992 <40485260+vd1992@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:18:10 -0600 Subject: [PATCH 2/2] try something --- infrastructure/bin/set_php_versions.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/infrastructure/bin/set_php_versions.sh b/infrastructure/bin/set_php_versions.sh index 4ffe1c91552..87ceffe2a5e 100755 --- a/infrastructure/bin/set_php_versions.sh +++ b/infrastructure/bin/set_php_versions.sh @@ -10,6 +10,12 @@ set -o nounset # Assign PHP version from arg if supplied. Runs default PHP bin without. PHP_VERSION=$1 +sudo update-alternatives --install /usr/bin/php php /usr/bin/php${PHP_VERSION} 100 +sudo update-alternatives --install /usr/bin/phar phar /usr/bin/php${PHP_VERSION} 100 +sudo update-alternatives --install /usr/bin/phpdbg phpdbg /usr/bin/php${PHP_VERSION} 100 +sudo update-alternatives --install /usr/bin/php-cgi php-cgi /usr/bin/php${PHP_VERSION} 100 +sudo update-alternatives --install /usr/bin/phar.phar phar.phar /usr/bin/php${PHP_VERSION} 100 + sudo update-alternatives --set php /usr/bin/php${PHP_VERSION} sudo update-alternatives --set phar /usr/bin/phar${PHP_VERSION} sudo update-alternatives --set phpdbg /usr/bin/phpdbg${PHP_VERSION}