E2E Conformance Tests #11
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-conformance-tests | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: "0 0 * * *" # Run Everyday at Midnight | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
e2e-conformance-tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
ip-family: [ IPv4, IPv6 ] | |
# kubernetes-versions: ["1.25", "1.26", "1.27"] | |
if: github.repository == 'aws/aws-network-policy-agent' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest commit in the PR | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
role-to-assume: ${{ secrets.OSS_ROLE_ARN }} | |
aws-region: ${{ secrets.AWS_DEFAULT_REGION }} | |
role-duration-seconds: 14400 | |
- name: Run e2e conformance test | |
env: | |
RUN_CONFORMANCE_TESTS: true | |
KUBERNETES_VERSION: 1.27 | |
CNI_ADDON_VERSION: v1.14.0-eksbuild.3 | |
IP_FAMILY: ${{ matrix.ip-family }} | |
run: | | |
./scripts/run-tests.sh |