Skip to content

Commit

Permalink
use origin-release images for tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Sep 10, 2018
1 parent 57db36f commit 33e7383
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions hack/go-fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ else
--env IS_CONTAINER=TRUE \
--volume "${PWD}:/go/src/sigs.k8s.io/cluster-api-provider-aws:z" \
--workdir /go/src/sigs.k8s.io/cluster-api-provider-aws \
--entrypoint sh \
quay.io/coreos/golang-testing \
openshift/origin-release:golang-1.10 \
./hack/go-fmt.sh "${@}"
fi
4 changes: 2 additions & 2 deletions hack/go-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
if [ "$IS_CONTAINER" != "" ]; then
golint -set_exit_status "${@}"
else
echo "OK"
docker run --rm \
--env IS_CONTAINER=TRUE \
--volume "${PWD}:/go/src/sigs.k8s.io/cluster-api-provider-aws:z" \
--workdir /go/src/sigs.k8s.io/cluster-api-provider-aws \
--entrypoint sh \
quay.io/coreos/golang-testing \
openshift/origin-release:golang-1.10 \
./hack/go-lint.sh "${@}"
fi
2 changes: 1 addition & 1 deletion hack/go-vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ else
--env IS_CONTAINER=TRUE \
--volume "${PWD}:/go/src/sigs.k8s.io/cluster-api-provider-aws:z" \
--workdir /go/src/sigs.k8s.io/cluster-api-provider-aws \
quay.io/coreos/golang-testing \
openshift/origin-release:golang-1.10 \
./hack/go-vet.sh "${@}"
fi;

0 comments on commit 33e7383

Please sign in to comment.