Merge branch 'remove-ginkgo-v1-from-operator-build' into 'master'

Remove ginkgo v1 from operator build base

Closes gitlab-org/cloud-native/gitlab-operator#411

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/640

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Clemens Beck <cbeck@gitlab.com>
This commit is contained in:
Balasankar 'Balu' C 2023-03-06 09:26:23 +00:00
commit 9639313abf

View file

@ -57,11 +57,9 @@ RUN apk add --no-cache podman buildah curl make gcc musl-dev git bash coreutils
# accomodate running podman within docker # accomodate running podman within docker
RUN sed -i 's#^driver.*$#driver = "vfs"#g' /etc/containers/storage.conf RUN sed -i 's#^driver.*$#driver = "vfs"#g' /etc/containers/storage.conf
ARG GINKGO_V1_VERSION=1.16.5
ARG GINKGO_V2_VERSION=2.7.1 ARG GINKGO_V2_VERSION=2.7.1
RUN go install github.com/onsi/ginkgo/v2/ginkgo@v${GINKGO_V2_VERSION} \ RUN go install github.com/onsi/ginkgo/v2/ginkgo@v${GINKGO_V2_VERSION} \
&& mv $(go env GOPATH)/bin/ginkgo $(go env GOPATH)/bin/ginkgo2 \ && ln -s "${GOPATH}/bin/ginkgo" "${GOPATH}/bin/ginkgo2"
&& go install github.com/onsi/ginkgo/ginkgo@v${GINKGO_V1_VERSION}
RUN go install golang.org/x/lint/golint@latest RUN go install golang.org/x/lint/golint@latest