mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-01 23:18:41 +00:00
Bump yml
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>
This commit is contained in:
@@ -22,7 +22,7 @@ docker run -it --rm \
|
||||
-v $(pwd):/go/src/github.com/linuxkit/linuxkit \
|
||||
-w /go/src/github.com/linuxkit/linuxkit/src/cmd/linuxkit \
|
||||
--entrypoint /go/bin/vndr \
|
||||
linuxkit/go-compile:7cac05c5588b3dd6a7f7bdb34fc1da90257394c7
|
||||
linuxkit/go-compile:20621b2539e546a8c94e625928f8d59f12684398
|
||||
```
|
||||
|
||||
To update a single dependency:
|
||||
@@ -32,7 +32,7 @@ docker run -it --rm \
|
||||
-v $(pwd):/go/src/github.com/linuxkit/linuxkit \
|
||||
-w /go/src/github.com/linuxkit/linuxkit/src/cmd/linuxkit \
|
||||
--entrypoint /go/bin/vndr \
|
||||
linuxkit/go-compile:7cac05c5588b3dd6a7f7bdb34fc1da90257394c7
|
||||
linuxkit/go-compile:20621b2539e546a8c94e625928f8d59f12684398
|
||||
github.com/docker/docker
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user