ci: isolate storage workers and disable unavailable VCS stamping
This commit is contained in:
parent
596b2df8e6
commit
6afc1260dc
@ -21,7 +21,7 @@ ARG TARGETARCH
|
||||
RUN CGO_ENABLED=0 \
|
||||
GOOS=${TARGETOS:-linux} \
|
||||
GOARCH=${TARGETARCH:-$(go env GOARCH)} \
|
||||
go build -trimpath -ldflags="-s -w" -o /out/soteria ./cmd/soteria
|
||||
go build -buildvcs=false -trimpath -ldflags="-s -w" -o /out/soteria ./cmd/soteria
|
||||
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
COPY --from=builder /out/soteria /soteria
|
||||
|
||||
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -17,8 +17,18 @@ spec:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values:
|
||||
- titan-04
|
||||
- titan-05
|
||||
- titan-06
|
||||
- titan-08
|
||||
- titan-11
|
||||
- titan-12
|
||||
- titan-13
|
||||
- titan-14
|
||||
- titan-15
|
||||
- titan-17
|
||||
- titan-18
|
||||
- titan-19
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user