Skip to content

Commit 80e9bbc

Browse files
tklauseraanm
authored andcommitted
Remove image update scripts in favor of renovatebot
Now that renovatebot is enabled on the repo it will take care of keeping image dependencies up-to-date. Drop the scripts used for manual image updates. Signed-off-by: Tobias Klauser <tobias@cilium.io>
1 parent 46da22a commit 80e9bbc

8 files changed

Lines changed: 2 additions & 225 deletions

Makefile

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,23 @@ PUSH ?= false
77
EXPORT ?= false
88
PLATFORMS ?= linux/amd64,linux/arm64
99

10-
all-images: lint maker-image update-maker-image tester-image update-tester-image compilers-image update-compilers-image bpftool-image llvm-image network-perf-image
10+
all-images: lint maker-image tester-image compilers-image bpftool-image llvm-image network-perf-image
1111

1212
lint:
1313
scripts/lint.sh
1414

1515
.buildx_builder:
1616
docker buildx create --platform $(PLATFORMS) --buildkitd-flags '--debug' > $@
1717

18-
update-alpine-base-image:
19-
scripts/update-alpine-base-image.sh
20-
21-
update-golang-image:
22-
scripts/update-golang-image.sh
23-
24-
update-ubuntu-image:
25-
scripts/update-ubuntu-image.sh
26-
2718
maker-image: .buildx_builder
2819
PUSH=$(PUSH) EXPORT=$(EXPORT) scripts/build-image.sh image-maker images/maker $(PLATFORMS) "$$(cat .buildx_builder)" $(REGISTRIES)
2920

30-
update-maker-image:
31-
scripts/update-maker-image.sh $(firstword $(REGISTRIES))
32-
3321
tester-image: .buildx_builder
3422
PUSH=$(PUSH) EXPORT=$(EXPORT) TEST=true scripts/build-image.sh image-tester images/tester $(PLATFORMS) "$$(cat .buildx_builder)" $(REGISTRIES)
3523

36-
update-tester-image:
37-
scripts/update-tester-image.sh $(firstword $(REGISTRIES))
38-
3924
compilers-image: .buildx_builder
4025
PUSH=$(PUSH) EXPORT=$(EXPORT) TEST=true scripts/build-image.sh image-compilers images/compilers $(PLATFORMS) "$$(cat .buildx_builder)" $(REGISTRIES)
4126

42-
update-compilers-image:
43-
scripts/update-compilers-image.sh $(firstword $(REGISTRIES))
44-
4527
bpftool-image: .buildx_builder
4628
PUSH=$(PUSH) EXPORT=$(EXPORT) TEST=true scripts/build-image.sh cilium-bpftool images/bpftool $(PLATFORMS) "$$(cat .buildx_builder)" $(REGISTRIES)
4729

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,4 @@ However, that's only required for full integration, and you can build images loc
104104
account or any other registry.
105105

106106
When changes to these images are merged into master, builds should run and push new images to each of the registries.
107-
Once new images are out, a PR will be required to update all dependent images, please use the following commands to
108-
make updates and commit the resulting changes:
109-
110-
> NOTE: You can only use the `update-*-image` make targets when you are _not building locally_. For example, if you have built a new `compilers`
111-
> locally, or perhaps even pushed it your Docker Hub account, and you want to consume this new version to build new `llvm` image - you need to update
112-
> `images/llvm/Dockerfile` manually, as the `scripts/update-*-images.sh` is not capable of handling this.
113-
114-
- `make update-maker-image`
115-
- `make update-compilers-image`
107+
Once new images are out, renovatebot will open a PR to update all dependent images.

scripts/update-alpine-base-image.sh

Lines changed: 0 additions & 31 deletions
This file was deleted.

scripts/update-compilers-image.sh

Lines changed: 0 additions & 33 deletions
This file was deleted.

scripts/update-golang-image.sh

Lines changed: 0 additions & 31 deletions
This file was deleted.

scripts/update-maker-image.sh

Lines changed: 0 additions & 38 deletions
This file was deleted.

scripts/update-tester-image.sh

Lines changed: 0 additions & 33 deletions
This file was deleted.

scripts/update-ubuntu-image.sh

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)