Skip to content

Commit

Permalink
Use basic-checks image in generate, golint, gomod and unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Huy Mai <[email protected]>
  • Loading branch information
mquhuy committed Jun 28, 2024
1 parent 693fda2 commit 75130ab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hack/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ else
--volume "${PWD}:/go/src/github.com/metal3-io/baremetal-operator:rw,z" \
--entrypoint sh \
--workdir /go/src/github.com/metal3-io/baremetal-operator \
docker.io/golang:1.22 \
quay.io/metal3-io/basic-checks:golang-1.22 \
/go/src/github.com/metal3-io/baremetal-operator/hack/generate.sh "${@}"
fi;
2 changes: 1 addition & 1 deletion hack/golint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ else
--volume "${PWD}:/go/src/github.com/metal3-io/baremetal-operator:rw,z" \
--entrypoint sh \
--workdir /go/src/github.com/metal3-io/baremetal-operator \
docker.io/golang:1.22 \
quay.io/metal3-io/basic-checks:golang-1.22 \
/go/src/github.com/metal3-io/baremetal-operator/hack/golint.sh "${@}"
fi;
2 changes: 1 addition & 1 deletion hack/gomod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ else
--volume "${PWD}:/workdir:ro,z" \
--entrypoint sh \
--workdir /workdir \
docker.io/golang:1.22 \
quay.io/metal3-io/basic-checks:golang-1.22 \
/workdir/hack/gomod.sh "$@"
fi
2 changes: 1 addition & 1 deletion hack/unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ else
--volume "${PWD}:/go/src/github.com/metal3-io/baremetal-operator:rw,z" \
--entrypoint sh \
--workdir /go/src/github.com/metal3-io/baremetal-operator \
docker.io/golang:1.22 \
quay.io/metal3-io/basic-checks:golang-1.22 \
/go/src/github.com/metal3-io/baremetal-operator/hack/unit.sh "${@}"
fi;

0 comments on commit 75130ab

Please sign in to comment.