File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change @@ -708,6 +708,7 @@ kaniko
708708flux-image-automation-controller
709709openai
710710haproxy-ingress
711+ tigera-operator
711712newrelic-prometheus-configurator
712713prometheus-nats-exporter
713714docker-credential-gcr
Original file line number Diff line number Diff line change 1+ package :
2+ name : tigera-operator
3+ version : 1.30.2
4+ epoch : 0
5+ description : Kubernetes operator for installing Calico and Calico Enterprise
6+ copyright :
7+ - license : Apache-2.0
8+
9+ environment :
10+ contents :
11+ packages :
12+ - busybox
13+ - ca-certificates-bundle
14+ - build-base
15+ - go
16+ - git
17+ - openssh
18+
19+ pipeline :
20+ - uses : git-checkout
21+ with :
22+ repository : https://github.com/tigera/operator
23+ tag : v${{package.version}}
24+ expected-commit : 708b1141a692ddb03a46d7726f9c920c195f50d9
25+
26+ - runs : |
27+ PACKAGE_NAME=github.com/tigera/operator
28+ ARCH=$(go env GOARCH)
29+ BINDIR=build/_output/bin
30+ GIT_VERSION=$(git describe --tags --dirty --always --abbrev=12)
31+ if [ "${ARCH}" = "amd64" ]; then
32+ CGO_ENABLED=1
33+ GOEXPERIMENT=boringcrypto
34+ TAGS="osusergo,netgo"
35+ else
36+ CGO_ENABLED=0
37+ fi
38+ echo "Building operator for ${ARCH} with CGO_ENABLED=${CGO_ENABLED} GOEXPERIMENT=${GOEXPERIMENT} TAGS=${TAGS}"
39+ GOEXPERIMENT=${GOEXPERIMENT} GO111MODULE=on CGO_ENABLED=${CGO_ENABLED} go build -buildvcs=false -v -o ${BINDIR}/operator-${ARCH} -tags "${TAGS}" -ldflags "-X ${PACKAGE_NAME}/version.VERSION=${GIT_VERSION} -s -w" ./main.go
40+ install -Dm755 build/_output/bin/operator-$(go env GOARCH) "${{targets.destdir}}"/usr/bin/operator
41+
42+ update :
43+ enabled : true
44+ github :
45+ identifier : tigera/operator
46+ use-tag : true
47+ strip-prefix : v
48+ tag-filter : v
You can’t perform that action at this time.
0 commit comments