From 299fd9240892dcd1818b64f9a2ca580da202e345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Tue, 7 Feb 2023 15:37:12 +0100 Subject: [PATCH] CAPO: Use ubi9 go-toolset image to run unit tests --- ...nshift-cluster-api-provider-openstack-main.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ci-operator/config/openshift/cluster-api-provider-openstack/openshift-cluster-api-provider-openstack-main.yaml b/ci-operator/config/openshift/cluster-api-provider-openstack/openshift-cluster-api-provider-openstack-main.yaml index 6c92c86df1759..7483457818417 100644 --- a/ci-operator/config/openshift/cluster-api-provider-openstack/openshift-cluster-api-provider-openstack-main.yaml +++ b/ci-operator/config/openshift/cluster-api-provider-openstack/openshift-cluster-api-provider-openstack-main.yaml @@ -1,8 +1,14 @@ build_root: - image_stream_tag: - name: release - namespace: openshift - tag: golang-1.17 + project_image: + dockerfile_literal: |- + FROM registry.access.redhat.com/ubi9/go-toolset:1.18 + + # Prow expects to be able to check out a repo under /go + USER 0:0 + WORKDIR /go + RUN chown 1001:1001 . + + USER 1001:1001 resources: '*': requests: