From d8961cbd4a4d40a9e0865577d6972a5501c82bd9 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Tue, 25 Jun 2024 11:07:22 +0100 Subject: [PATCH] workflow: coco: Add auth registry secret - Add the `AUTHENTICATED_IMAGE_USER` and `AUTHENTICATED_IMAGE_PASSWORD` repository secrets as env vars to the coco tests, so we can use them to pull an images from and authenticated registry for testing Signed-off-by: stevenhorsman --- .github/workflows/run-kata-coco-tests.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/run-kata-coco-tests.yaml b/.github/workflows/run-kata-coco-tests.yaml index f44d4cc766..8c96b8c2a7 100644 --- a/.github/workflows/run-kata-coco-tests.yaml +++ b/.github/workflows/run-kata-coco-tests.yaml @@ -47,6 +47,8 @@ jobs: KBS_INGRESS: "nodeport" SNAPSHOTTER: ${{ matrix.snapshotter }} PULL_TYPE: ${{ matrix.pull-type }} + AUTHENTICATED_IMAGE_USER: ${{ secrets.AUTHENTICATED_IMAGE_USER }} + AUTHENTICATED_IMAGE_PASSWORD: ${{ secrets.AUTHENTICATED_IMAGE_PASSWORD }} steps: - uses: actions/checkout@v4 with: @@ -118,6 +120,8 @@ jobs: K8S_TEST_HOST_TYPE: "baremetal" SNAPSHOTTER: ${{ matrix.snapshotter }} PULL_TYPE: ${{ matrix.pull-type }} + AUTHENTICATED_IMAGE_USER: ${{ secrets.AUTHENTICATED_IMAGE_USER }} + AUTHENTICATED_IMAGE_PASSWORD: ${{ secrets.AUTHENTICATED_IMAGE_PASSWORD }} steps: - uses: actions/checkout@v4 with: @@ -173,6 +177,8 @@ jobs: K8S_TEST_HOST_TYPE: "baremetal" SNAPSHOTTER: ${{ matrix.snapshotter }} PULL_TYPE: ${{ matrix.pull-type }} + AUTHENTICATED_IMAGE_USER: ${{ secrets.AUTHENTICATED_IMAGE_USER }} + AUTHENTICATED_IMAGE_PASSWORD: ${{ secrets.AUTHENTICATED_IMAGE_PASSWORD }} steps: - uses: actions/checkout@v4 with: @@ -230,6 +236,8 @@ jobs: KBS_INGRESS: "aks" KUBERNETES: "vanilla" PULL_TYPE: ${{ matrix.pull-type }} + AUTHENTICATED_IMAGE_USER: ${{ secrets.AUTHENTICATED_IMAGE_USER }} + AUTHENTICATED_IMAGE_PASSWORD: ${{ secrets.AUTHENTICATED_IMAGE_PASSWORD }} SNAPSHOTTER: ${{ matrix.snapshotter }} USING_NFD: "false" steps: