File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -96,18 +96,18 @@ jobs:
96
96
matrix :
97
97
config :
98
98
- {"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"}
103
102
# - {"provider": "AWS", "kubernetesVersion": "v1.29.6"}
104
103
fail-fast : false
105
104
uses : ./.github/workflows/e2e.yml
106
105
with :
107
106
focus : Self-hosted
108
107
provider : ${{ matrix.config.provider }}
109
108
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 || '' }}
111
111
secrets : inherit
112
112
permissions :
113
113
contents : read
Original file line number Diff line number Diff line change 63
63
restore-keys : |
64
64
${{ runner.os }}-go-
65
65
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
+
66
73
# The default disk size of Github hosted runners is ~14GB, this is not enough to run the e2e tests.
67
74
# Cleanup the disk, see upstream discussion https://github.com/actions/runner-images/issues/2840.
68
75
- name : Cleanup Disk Space
94
101
NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME : ${{ inputs.os-image }}
95
102
KINDEST_IMAGE_TAG : ${{ inputs.kubernetes-version }}
96
103
E2E_KUBERNETES_VERSION : ${{ inputs.kubernetes-version }}
104
+ LOCAL_IMAGE_REGISTRY : ${{ secrets.LOCAL_IMAGE_REGISTRY }}
97
105
98
106
- if : success() || failure() # always run even if the previous step fails
99
107
name : Publish e2e test report
You can’t perform that action at this time.
0 commit comments