From c323d4b508ba449bab87caeea504334bc308c26a Mon Sep 17 00:00:00 2001 From: Ronny Date: Sat, 26 Mar 2022 00:01:33 +0100 Subject: [PATCH] Fix yml #15 [semver:patch] (#16) --- .circleci/config.yml | 2 +- src/commands/install.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ba58043..6079120 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,7 @@ executors: python: resource_class: small docker: - - image: circleci/python:2.7-stretch + - image: cimg/python:3.10.2 commands: azure-cli-tests: diff --git a/src/commands/install.yml b/src/commands/install.yml index 00f8778..17341cc 100644 --- a/src/commands/install.yml +++ b/src/commands/install.yml @@ -17,7 +17,9 @@ steps: if [[ $EUID == 0 ]]; then export SUDO=""; else export SUDO="sudo"; fi - $SUDO apt-get update && $SUDO apt-get -qqy install apt-transport-https + # https://github.com/CircleCI-Public/azure-cli-orb/issues/15 + # https://manpages.debian.org/unstable/apt/apt-get.8.en.html + $SUDO apt-get --allow-releaseinfo-change-suite update && $SUDO apt-get -qqy install apt-transport-https if [[ $(command -v lsb_release) == "" ]]; then echo "Installing lsb_release" @@ -43,7 +45,9 @@ steps: # Update and install the Azure CLI - $SUDO apt-get update + # https://github.com/CircleCI-Public/azure-cli-orb/issues/15 + # https://manpages.debian.org/unstable/apt/apt-get.8.en.html + $SUDO apt-get --allow-releaseinfo-change-suite update $SUDO apt-get -qqy install \ ca-certificates \ azure-cli