-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathcass-operator.yaml
68 lines (59 loc) · 1.6 KB
/
cass-operator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package:
name: cass-operator
version: "1.23.2"
epoch: 0
description: Manages Cassandra cluster as standalone product or as part of the k8ssandra-operator
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
- wolfi-baselayout
pipeline:
- uses: git-checkout
with:
repository: https://github.com/k8ssandra/cass-operator.git
tag: v${{package.version}}
expected-commit: e082e499e383c1bd14f991bed727cb0e32b6d3c9
- uses: go/bump
with:
deps: |-
golang.org/x/oauth2@v0.27.0
golang.org/x/net@v0.36.0
modroot: .
- uses: go/build
with:
modroot: .
packages: ./cmd
output: manager
- uses: strip
subpackages:
- name: cass-operator-compat
description: "Compatibility package to place binaries in the location expected by upstream helm charts"
pipeline:
- runs: |
# The helm chart expects the cass-operator binaries to be in / instead of /usr/bin
mkdir -p "${{targets.subpkgdir}}"
ln -sf /usr/bin/manager ${{targets.subpkgdir}}/manager
- uses: strip
- name: cass-operator-config
description: "A configuration file for the Vector"
pipeline:
- runs: |
mkdir -p ${{targets.destdir}}/etc/vector
cp ./config/logger/vector_config.toml ${{targets.destdir}}/etc/vector/vector.toml
update:
enabled: true
github:
identifier: k8ssandra/cass-operator
strip-prefix: v
tag-filter: v
test:
pipeline:
# AUTOGENERATED
- runs: |
manager --help