suuugeee commented on issue #110:
URL:
https://github.com/apache/rocketmq-operator/issues/110#issuecomment-1188705690
/www/software2/k8s/rocketmq-operator-master/bin/controller-gen
rbac:roleName=manager-role crd webhook paths="./..." output:dir=deploy
output:crd:artifacts:config=deploy/crds
/www/software2/k8s/rocketmq-operator-master/bin/controller-gen
object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
pkg/apis/rocketmq/v1alpha1/zz_generated.deepcopy.go
go vet ./...
KUBEBUILDER_ASSETS="/root/.local/share/kubebuilder-envtest/k8s/1.22.1-linux-amd64"
go test ./... -coverprofile cover.out
? github.com/apache/rocketmq-operator [no test files]
? github.com/apache/rocketmq-operator/pkg/apis/rocketmq [no test files]
? github.com/apache/rocketmq-operator/pkg/apis/rocketmq/v1alpha1 [no
test files]
? github.com/apache/rocketmq-operator/pkg/constants [no test files]
? github.com/apache/rocketmq-operator/pkg/controller/broker [no
test files]
? github.com/apache/rocketmq-operator/pkg/controller/console [no
test files]
? github.com/apache/rocketmq-operator/pkg/controller/nameservice [no
test files]
? github.com/apache/rocketmq-operator/pkg/controller/topictransfer
[no test files]
? github.com/apache/rocketmq-operator/pkg/share [no test files]
? github.com/apache/rocketmq-operator/pkg/tool [no test files]
? github.com/apache/rocketmq-operator/version [no test files]
docker build -t apacherocketmq/rocketmq-operator:0.3.0-snapshot .
Sending build context to Docker daemon 83.9MB
Step 1/21 : FROM golang:1.16 as builder
---> 8ffb179c0658
Step 2/21 : WORKDIR /workspace
---> Using cache
---> 8fb722f32cff
Step 3/21 : COPY go.mod go.mod
---> Using cache
---> 1b0e9038dcb4
Step 4/21 : COPY go.sum go.sum
---> Using cache
---> ad1e3e42fe7a
Step 5/21 : RUN go env -w GO111MODULE=on
---> Using cache
---> f76376549aed
Step 6/21 : RUN go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
---> Using cache
---> 65c94bbc8d77
Step 7/21 : RUN go mod download
---> Using cache
---> e8c2c5f2efc9
Step 8/21 : COPY main.go main.go
---> Using cache
---> 415521600224
Step 9/21 : COPY pkg/ pkg/
---> 36d6cef217bf
Step 10/21 : RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o
manager main.go
---> Running in 40a7912846cd
Removing intermediate container 40a7912846cd
---> e5006d63a6e4
Step 11/21 : FROM openjdk:8-alpine
---> a3562aa0b991
Step 12/21 : RUN apk add --no-cache bash gettext nmap-ncat openssl
busybox-extras
---> Using cache
---> e91627134db4
Step 13/21 : ENV ROCKETMQ_HOME /home/rocketmq
---> Using cache
---> 7888599ef1b7
Step 14/21 : ENV ROCKETMQ_VERSION 4.5.0
---> Using cache
---> b6e8b072f9f2
Step 15/21 : WORKDIR ${ROCKETMQ_HOME}
---> Using cache
---> 6ad867a456ac
Step 16/21 : RUN set -eux; apk add --virtual .build-deps curl gnupg
unzip; curl
https://archive.apache.org/dist/rocketmq/${ROCKETMQ_VERSION}/rocketmq-all-${ROCKETMQ_VERSION}-bin-release.zip
-o rocketmq.zip; curl
https://archive.apache.org/dist/rocketmq/${ROCKETMQ_VERSION}/rocketmq-all-${ROCKETMQ_VERSION}-bin-release.zip.asc
-o rocketmq.zip.asc; curl -L https://www.apache.org/dist/rocketmq/KEYS -o
KEYS; gpg --import KEYS; gpg --batch --verify rocketmq.zip.asc
rocketmq.zip; unzip rocketmq.zip; mv rocketmq-*/* . ; chmod a+x
* ; rmdir rocketmq-* ; rm rocketmq.zip; apk del .build-deps ;
rm -rf /var/cache/apk/* ; rm -rf /tmp/*
---> Using cache
---> a92bfa1e428a
Step 17/21 : RUN chown -R root:0 ${ROCKETMQ_HOME}
---> Using cache
---> cc72a450765d
Step 18/21 : WORKDIR /
---> Using cache
---> bfd901eec7a2
Step 19/21 : COPY --from=builder /workspace/manager .
---> 8a53ac46d82c
Step 20/21 : USER root:root
---> Running in cc4dee7a8c26
Removing intermediate container cc4dee7a8c26
---> 7f82babfcc08
Step 21/21 : ENTRYPOINT ["/manager"]
---> Running in 53c0ece4f48f
Removing intermediate container 53c0ece4f48f
---> ff0b61f2d71b
Successfully built ff0b61f2d71b
Successfully tagged apacherocketmq/rocketmq-operator:0.3.0-snapshot
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]