-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathcontainerd.yaml
72 lines (62 loc) · 1.94 KB
/
containerd.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
package:
name: containerd
version: 1.7.13
epoch: 0
description: An open and reliable container runtime
copyright:
- license: Apache-2.0
dependencies:
# Aggregate all the subpackages into this meta-package.
runtime:
- containerd-shim
- containerd-shim-runc-v1
- containerd-shim-runc-v2
- containerd-stress
- ctr
- runc
environment:
contents:
packages:
- bash
- build-base
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
expected-commit: 7c3aca7a610df76212171d200ca3811ff6096eb8
repository: https://github.com/containerd/containerd
tag: v${{package.version}}
- uses: go/bump
with:
deps: golang.org/x/[email protected] go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/[email protected] go.opentelemetry.io/otel/[email protected]
- runs: |
make VERSION="v${{package.version}}"
- runs: |
install -Dm755 ./bin/containerd "${{targets.destdir}}"/usr/bin/containerd
mkdir -p "${{targets.destdir}}"/etc/containerd
./bin/containerd config default > "${{targets.destdir}}"/etc/containerd/config.toml
- uses: strip
data:
- name: bins
items:
ctr: client for containerd
containerd-stress: stress utility
containerd-shim: shim
containerd-shim-runc-v1: runc shim v1
containerd-shim-runc-v2: runc shim v2
subpackages:
- range: bins
name: ${{range.key}}
description: ${{range.value}}
pipeline:
# Move each binary into its own subpackage, which gets runtime-depended-on by the containerd meta-package.
# This allows users who only want one of these tools to get it, or get all of them by depending on `containerd` (with its config)
- runs: |
install -Dm755 "./bin/${{range.key}}" "${{targets.subpkgdir}}"/usr/bin/${{range.key}}
update:
enabled: true
github:
identifier: containerd/containerd
strip-prefix: v