Skip to content

Commit

Permalink
oadp-1.0: ci: Ensure go mod matches ginkgo bin installed (#853)
Browse files Browse the repository at this point in the history
* Ensure go mod matches ginkgo bin installed

Per onsi/ginkgo#1055

* Use -d for go 1.17
  • Loading branch information
kaovilai committed Oct 13, 2022
1 parent c719d9d commit 5e59569
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build/ci-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# TODO! Find a real ubi8 image for golang 1.16
FROM quay.io/app-sre/boilerplate:image-v2.1.0 as builder

RUN go get -u github.com/onsi/ginkgo/ginkgo && \
go get -u github.com/onsi/ginkgo/v2/ginkgo
RUN go get github.com/onsi/gomega/...

WORKDIR /go/src/github.com/openshift/oadp-operator

COPY ./ .

RUN go get -d -u github.com/onsi/ginkgo/ginkgo && \
go get -d -u github.com/onsi/ginkgo/v2/ginkgo && \
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo@latest
RUN go get github.com/onsi/gomega/...
RUN chmod -R 777 ./
RUN go mod download
RUN go mod download

0 comments on commit 5e59569

Please sign in to comment.