add dind-mode-setup-v2

This commit is contained in:
Nikola Jokic 2025-11-07 14:59:57 +01:00
parent 771d668050
commit 928664552e
No known key found for this signature in database
GPG Key ID: 554517D3D15A5D2F
1 changed files with 28 additions and 2 deletions

View File

@ -34,13 +34,13 @@ jobs:
TARGET_ORG: ${{ env.TARGET_ORG }}
TARGET_REPO: ${{ env.TARGET_REPO }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
with:
ref: ${{github.head_ref}}
- name: Get configure token
id: config-token
uses: peter-murray/workflow-application-token-action@8e1ba3bf1619726336414f1014e37f17fbadf1db
uses: peter-murray/workflow-application-token-action@dc0413987a085fa17d19df9e47d4677cf81ffef3
with:
application_id: ${{ secrets.E2E_TESTS_ACCESS_APP_ID }}
application_private_key: ${{ secrets.E2E_TESTS_ACCESS_PK }}
@ -234,6 +234,32 @@ jobs:
arc-namespace: "arc-runners"
arc-controller-namespace: "arc-systems"
dind-mode-setup-v2:
runs-on: ubuntu-latest
timeout-minutes: 20
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.id == github.repository_id
env:
WORKFLOW_FILE: arc-test-dind-workflow.yaml
TARGET_ORG: ${{ env.TARGET_ORG }}
TARGET_REPO: ${{ env.TARGET_REPO }}
steps:
- uses: actions/checkout@v5
with:
ref: ${{github.head_ref}}
- name: Get configure token
id: config-token
uses: peter-murray/workflow-application-token-action@dc0413987a085fa17d19df9e47d4677cf81ffef3
with:
application_id: ${{ secrets.E2E_TESTS_ACCESS_APP_ID }}
application_private_key: ${{ secrets.E2E_TESTS_ACCESS_PK }}
organization: ${{ env.TARGET_ORG }}
- name: Run default setup test
run: hack/e2e-test.sh dind-mode-setup
shell: bash
dind-mode-setup:
runs-on: ubuntu-latest
timeout-minutes: 20