-
Notifications
You must be signed in to change notification settings - Fork 8
55 lines (49 loc) · 1.66 KB
/
e2e_aks_runtime.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: e2e test aks runtime
on:
workflow_dispatch:
schedule:
- cron: "16 6 * * 6" # 6:16 on Saturdays
pull_request:
paths:
- e2e/aks-runtime/**
jobs:
# steps taken from https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-2-step-by-step-installation-instructions
install-software:
runs-on: ubuntu-22.04
steps:
- name: Install `az` with extensions
run: |
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -sLS https://packages.microsoft.com/keys/microsoft.asc |
gpg --dearmor | sudo tee /etc/apt/keyrings/microsoft.gpg > /dev/null
sudo chmod go+r /etc/apt/keyrings/microsoft.gpg
AZ_DIST=$(lsb_release -cs)
sudo tee /etc/apt/sources.list.d/azure-cli.sources <<EOF
Types: deb
URIs: https://packages.microsoft.com/repos/azure-cli/
Suites: ${AZ_DIST}
Components: main
Architectures: $(dpkg --print-architecture)
Signed-by: /etc/apt/keyrings/microsoft.gpg
EOF
sudo apt-get update
sudo apt-get install azure-cli
az extension add --name aks-preview
az extension add --name confcom
test_matrix:
name: Test aks runtime
needs: install-software
secrets: inherit
permissions:
contents: read
packages: write
uses: ./.github/workflows/e2e.yml
with:
skip-undeploy: false
test-name: aks-runtime
platform: AKS-CLH-SNP
runner: ubuntu-22.04
self-hosted: false
run-without-nix: true