This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
When user provides a private DNS zone we assume it is already linked to the vnet #123
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 | |
on: | |
pull_request: | |
types: [ 'opened', 'synchronize' ] | |
paths: | |
- '.github/**' | |
- '**.go' | |
- '**.tf' | |
- '.github/workflows/**' | |
- '**.md' | |
- '**/go.mod' | |
jobs: | |
acc-tests: | |
runs-on: [self-hosted, 1ES.Pool=terraform-azurerm-openai] | |
environment: | |
name: acctests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: init | |
run: | | |
docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make generate | |
- name: e2e test | |
run: | | |
sh scripts/ci-e2e.sh | |
- name: upload test version snapshots | |
uses: actions/upload-artifact@v3 | |
with: | |
name: TestRecord-${{ github.event.number }} | |
retention-days: 60 | |
path: | | |
examples/**/TestRecord.md.tmp | |
- name: version-upgrade test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
sh scripts/ci-version-upgrade.sh |