Skip to content

e2e: basic test for peerpods #11

e2e: basic test for peerpods

e2e: basic test for peerpods #11

Workflow file for this run

name: e2e peer-pods
on:
workflow_dispatch:
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup_nix
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Login to Azure
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
with:
creds: ${{ secrets.CONTRAST_CI_INFRA_AZURE }}
- id: resourcegroup
run: |
echo "rg=contrastpp$RANDOM" | tee -a "$GITHUB_OUTPUT"
- name: Test peer-pods
run: |
export azure_resource_group=contrast-ci
export azure_location=northeurope
export azure_subscription_id="0d202bbb-4fa7-4af8-8125-58c269a05435"
export CONTRAST_CACHE_DIR="./workspace.cache"
nix run .#scripts.test-peerpods
- name: Terminate cluster
if: always()
run: |
nix run -L .#terraform -- -chdir=infra/azure-peerpods destroy --auto-approve