Skip to content

Commit

Permalink
Test new config
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
  • Loading branch information
ArangoGutierrez committed Jul 31, 2024
1 parent 6ea0b50 commit 6b1e862
Showing 1 changed file with 8 additions and 30 deletions.
38 changes: 8 additions & 30 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,44 +15,22 @@
name: End-to-end Tests

on:
workflow_run:
workflows: [Go]
types:
- completed
pull_request:
branches:
- main
- release-*

jobs:
e2e-tests:
runs-on: pdx01-arc-runners
runs-on: pdx01-dind-arc-runners
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
name: Check out code
- name: Calculate build vars
id: vars
run: |
echo "COMMIT_SHORT_SHA=${GITHUB_SHA:0:8}" >> $GITHUB_ENV
- name: Install Go
uses: actions/setup-go@v5
- name: Set up Holodeck
uses: NVIDIA/holodeck@main
with:
go-version: 'stable'
check-latest: true
- name: Run e2e-aws tests
env:
LOG_ARTIFACTS: ${{ github.workspace }}/e2e_logs
run: |
make -f tests/Makefile e2e-aws
- name: Run e2e-vsphere tests
env:
LOG_ARTIFACTS: ${{ github.workspace }}/e2e_logs
run: |
make -f tests/Makefile e2e-vsphere
- name: Archive test logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: e2e-test-logs
path: ./e2e_logs/
retention-days: 15
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_ssh_key: ${{ secrets.AWS_SSH_KEY }}
holodeck_config: "tests/e2e/holodeck.yaml"

0 comments on commit 6b1e862

Please sign in to comment.