e2e: add a test for checking AKS upstream #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |