File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -96,18 +96,18 @@ jobs:
9696 matrix :
9797 config :
9898 - {"provider": "Docker", "kubernetesVersion": "v1.29.9"}
99- - {"provider": "Docker", "kubernetesVersion": "v1.30.6"}
100- - {"provider": "Docker", "kubernetesVersion": "v1.31.2"}
101- # Uncomment below once we have the ability to run e2e tests on other providers from GHA.
102- # - {"provider": "Nutanix", "kubernetesVersion": "v1.29.6"}
99+ # - {"provider": "Docker", "kubernetesVersion": "v1.30.6"}
100+ # - {"provider": "Docker", "kubernetesVersion": "v1.31.2"}
101+ - {"provider": "Nutanix", "kubernetesVersion": "v1.30.5", "osImage": "nkp-rocky-9.4-release-1.30.5-20240930171619"}
103102 # - {"provider": "AWS", "kubernetesVersion": "v1.29.6"}
104103 fail-fast : false
105104 uses : ./.github/workflows/e2e.yml
106105 with :
107106 focus : Self-hosted
108107 provider : ${{ matrix.config.provider }}
109108 kubernetes-version : ${{ matrix.config.kubernetesVersion }}
110- runs-on : ${{ matrix.config.provider == 'Nutanix' && 'self-hosted-ncn-dind' || 'ubuntu-22.04' }}
109+ runs-on : ' self-hosted-ncn-dind'
110+ os-image : ${{ matrix.config.provider == 'Nutanix' && matrix.config.osImage || '' }}
111111 secrets : inherit
112112 permissions :
113113 contents : read
Original file line number Diff line number Diff line change 6363 restore-keys : |
6464 ${{ runner.os }}-go-
6565
66+ - name : Login to Internal Container Registry
67+ uses : docker/login-action@v3
68+ with :
69+ registry : ${{ secrets.LOCAL_IMAGE_REGISTRY }}
70+ username : ${{ secrets.LOCAL_IMAGE_REGISTRY_USERNAME }}
71+ password : ${{ secrets.LOCAL_IMAGE_REGISTRY_TOKEN }}
72+
6673 # The default disk size of Github hosted runners is ~14GB, this is not enough to run the e2e tests.
6774 # Cleanup the disk, see upstream discussion https://github.com/actions/runner-images/issues/2840.
6875 - name : Cleanup Disk Space
94101 NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME : ${{ inputs.os-image }}
95102 KINDEST_IMAGE_TAG : ${{ inputs.kubernetes-version }}
96103 E2E_KUBERNETES_VERSION : ${{ inputs.kubernetes-version }}
104+ LOCAL_IMAGE_REGISTRY : ${{ secrets.LOCAL_IMAGE_REGISTRY }}
97105
98106 - if : success() || failure() # always run even if the previous step fails
99107 name : Publish e2e test report
You can’t perform that action at this time.
0 commit comments