[no-relnote] Update Github Actions E2E
Some checks are pending
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
This commit is contained in:
Carlos Eduardo Arango Gutierrez
2025-04-24 20:50:18 +02:00
parent 6df26cc7a5
commit f9792b737a
5 changed files with 61 additions and 31 deletions

View File

@@ -51,3 +51,4 @@ jobs:
uses: ./.github/workflows/e2e.yaml
with:
version: ${{ needs.variables.outputs.version }}
distribution: ubuntu20.04

View File

@@ -20,6 +20,9 @@ on:
version:
required: true
type: string
distribution:
required: true
type: string
secrets:
AWS_ACCESS_KEY_ID:
required: true
@@ -70,8 +73,8 @@ jobs:
- name: Run e2e tests
env:
IMAGE_NAME: ghcr.io/nvidia/container-toolkit
VERSION: ${{ inputs.version }}
E2E_IMAGE_REPO: ghcr.io/nvidia/container-toolkit
E2E_IMAGE_TAG: ${{ inputs.version }}-${{ inputs.distribution }}
SSH_KEY: ${{ secrets.AWS_SSH_KEY }}
E2E_SSH_USER: ${{ secrets.E2E_SSH_USER }}
E2E_SSH_HOST: ${{ steps.holodeck_public_dns_name.outputs.result }}
@@ -82,8 +85,15 @@ jobs:
chmod 600 "$e2e_ssh_key"
export E2E_SSH_KEY="$e2e_ssh_key"
make -f tests/e2e/Makefile test
make -f tests/e2e/Makefile test-e2e
- name: Archive Ginkgo logs
uses: actions/upload-artifact@v4
with:
name: ginkgo-logs
path: ginkgo.json
retention-days: 15
- name: Send Slack alert notification
if: ${{ failure() }}
uses: slackapi/slack-github-action@v2.0.0