mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-06 12:14:02 +00:00
Done as follows:
find -name build.yml | xargs dirname | while read d ; do
t=$(linuxkit pkg show-tag $d)
./scripts/update-component-sha.sh --image ${t%:*} ${t#*:}
done
git commit -s test pkg tools blueprints examples projects/kubernetes projects/swarmd docs linuxkit.yml Makefile src
This explicitly excludes projects/* which I did not know whether to update.
Then:
git reset --hard
for i in init runc containerd ca-certificates sysctl dhcpcd getty rngd ; do
o=$(git grep -h "\(image:\|-\) *linuxkit/$i:[0-9a-f]\{40\}" origin/master:linuxkit.yml | awk '// { print $2 }')
n=$(linuxkit pkg show-tag pkg/$i)
./scripts/update-component-sha.sh "$o" "$n"
done
git commit --amend projects
This updates any projects which were using components with the same hash as the
top-level linuxkit.yml.
Signed-off-by: Ian Campbell <ijc@docker.com>
26 lines
939 B
YAML
26 lines
939 B
YAML
# FIXME: This should use the minimal example
|
|
# We continue to use the kernel-config-test as CI is currently expecting to see a success message
|
|
kernel:
|
|
image: linuxkit/kernel:4.9.53
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- linuxkit/init:98e95fb67e8afcf02c09ba927e4b357fec42977a
|
|
- linuxkit/runc:991ef358ad8fc1111d64f4d8071f2009cc561f6a
|
|
- linuxkit/containerd:eaf0d615cfceb9d854408dd3c80429ee8ac4d051
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:aa685261ceb2557990dcfe9dd8824c6b9ec416e2
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: check-kernel-config
|
|
image: linuxkit/test-kernel-config:8b09b3d6e69440582e590a8981585851e9206bdc
|
|
- name: poweroff
|
|
image: linuxkit/poweroff:ffd3f539a6f4e67d4cd4ff36503636de35edd7b2
|
|
command: ["/bin/sh", "/poweroff.sh", "3"]
|
|
trust:
|
|
image:
|
|
- linuxkit/kernel
|
|
- linuxkit/init
|
|
- linuxkit/runc
|
|
- linuxkit/containerd
|
|
- linuxkit/dhcpcd
|