Skip to content

Commit b61597a

Browse files
committed
test scripts
1 parent 59291bd commit b61597a

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

install_az.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
sudo apt-get update
2+
sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
3+
sudo mkdir -p /etc/apt/keyrings
4+
curl -sLS https://packages.microsoft.com/keys/microsoft.asc |
5+
gpg --dearmor | sudo tee /etc/apt/keyrings/microsoft.gpg > /dev/null
6+
sudo chmod go+r /etc/apt/keyrings/microsoft.gpg
7+
AZ_DIST=$(lsb_release -cs)
8+
echo "Types: deb
9+
URIs: https://packages.microsoft.com/repos/azure-cli/
10+
Suites: ${AZ_DIST}
11+
Components: main
12+
Architectures: $(dpkg --print-architecture)
13+
Signed-by: /etc/apt/keyrings/microsoft.gpg" | sudo tee /etc/apt/sources.list.d/azure-cli.sources
14+
sudo apt-get update
15+
sudo apt-get install azure-cli
16+
17+
apt-cache policy azure-cli
18+
# Obtain the currently installed distribution
19+
AZ_DIST=$(lsb_release -cs)
20+
# Store an Azure CLI version of choice
21+
AZ_VER=2.61.0
22+
# Install a specific version
23+
sudo apt-get install azure-cli=${AZ_VER}-1~${AZ_DIST} --allow-downgrades
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export IMAGE=ghcr.io/iabtechlab/uid2-operator:5.49.9-alpha-224-SNAPSHOT-azure-cc
2+
export OUTPUT_DIR=artifacts
3+
export MANIFEST_DIR=manifest
4+
export VERSION_NUMBER=5.49.9-alpha-224-SNAPSHOT-azure-cc
5+
6+
bash ./generate-deployment-artifacts.sh

0 commit comments

Comments
 (0)