-
Notifications
You must be signed in to change notification settings - Fork 314
/
Copy pathdynamic-localpv-provisioner.yaml
64 lines (57 loc) · 1.61 KB
/
dynamic-localpv-provisioner.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
package:
name: dynamic-localpv-provisioner
version: "4.2.0"
epoch: 3
description: Dynamic Local Volumes for Kubernetes Stateful workloads.
copyright:
- license: Apache-2.0
dependencies:
runtime:
- bash
- ca-certificates-bundle
- iproute2
- mii-tool
- net-tools
- procps
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/openebs/dynamic-localpv-provisioner
tag: v${{package.version}}
expected-commit: 901261a98bfca9b5541f4a173b876b0ca86a0fc9
- uses: go/bump
with:
deps: |-
github.com/prometheus/client_golang@v1.11.1
github.com/Masterminds/goutils@v1.1.1
google.golang.org/grpc@v1.56.3
golang.org/x/crypto@v0.35.0
golang.org/x/net@v0.36.0
- runs: |
make provisioner-localpv
mkdir -p ${{targets.destdir}}/usr/bin
GOOS=$(go env GOOS)
GOARCH=$(go env GOARCH)
mv ./bin/provisioner-localpv/${GOOS}_${GOARCH}/provisioner-localpv ${{targets.destdir}}/usr/bin/
update:
enabled: true
ignore-regex-patterns:
- localp* # there are some misspellings in the upstream tags so using a wildcard here
github:
identifier: openebs/dynamic-localpv-provisioner
strip-prefix: v
test:
pipeline:
- runs: |
# Check binary existence and permissions
stat /usr/bin/provisioner-localpv
test -x /usr/bin/provisioner-localpv
# Run help command, It shoudl exit with code 2
provisioner-localpv --help || [ $? -eq 2 ]