-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathcri-tools.yaml
73 lines (64 loc) · 1.65 KB
/
cri-tools.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
69
70
71
72
73
package:
name: cri-tools
version: 1.32.0
epoch: 6
description: CLI and validation tools for Kubelet Container Runtime Interface (CRI) .
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
expected-commit: b5cf674bb19f574ee488c991ac813c76c08eedaf
repository: https://github.com/kubernetes-sigs/cri-tools
tag: v${{package.version}}
- uses: go/bump
with:
deps: |-
golang.org/x/oauth2@v0.27.0
golang.org/x/net@v0.36.0
- uses: go/build
with:
ldflags: -X github.com/kubernetes-sigs/cri-tools/pkg/version.VERSION=${{package.version}}
output: crictl
packages: ./cmd/crictl
- runs: |
make critest
install -Dm755 build/bin/linux/**/critest "${{targets.destdir}}"/usr/bin/critest
subpackages:
- name: "crictl"
description: "CLI for kubelet CRI"
pipeline:
- runs: |
install -Dm755 ${{targets.destdir}}/usr/bin/crictl ${{targets.subpkgdir}}/usr/bin/crictl
test:
pipeline:
- runs: |
crictl --help
- name: "critest"
description: "validation test suites for kubelet CRI"
pipeline:
- runs: |
install -Dm755 ${{targets.destdir}}/usr/bin/critest ${{targets.subpkgdir}}/usr/bin/critest
test:
pipeline:
- runs: |
critest --help
update:
enabled: true
github:
identifier: kubernetes-sigs/cri-tools
strip-prefix: v
test:
pipeline:
# AUTOGENERATED
- runs: |
crictl --version
critest --version
crictl --help