Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 29, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
protocolbuffers/protobuf major 24.0 -> v27.0

Release Notes

protocolbuffers/protobuf (protocolbuffers/protobuf)

v27.0: Protocol Buffers v27.0

Compare Source

Announcements

  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.

Compiler

C++

Java

Kotlin

Csharp

Objective-C

Python

PHP

PHP C-Extension

Ruby

Ruby C-Extension

UPB (Python/PHP/Ruby C-Extension)

Other

v26.1: Protocol Buffers v26.1

Compare Source

Announcements

  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.

C++

Java

Kotlin

Ruby

Other

v26.0: Protocol Buffers v26.0

Compare Source

Announcements

Compiler

C++

Java

Kotlin

Objective-C

Rust

Python

PHP

PHP C-Extension

Ruby

Ruby C-Extension

UPB (Python/PHP/Ruby C-Extension)


Configuration

📅 Schedule: Branch creation - "on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner May 29, 2024 14:46
@renovate renovate bot added the kind/enhancement This would improve or streamline existing functionality. label May 29, 2024
@renovate renovate bot requested a review from kaworu May 29, 2024 14:46
@renovate renovate bot added release-note/misc This PR makes changes that have no direct user impact. renovate/stop-updating Tell Renovate to stop updating PR labels May 29, 2024
@renovate renovate bot had a problem deploying to release-base-images May 29, 2024 14:46 Failure
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label May 29, 2024
@rolinh rolinh force-pushed the renovate/main-all-dependencies branch from ceb3f7d to 17e5693 Compare May 29, 2024 14:51
@rolinh rolinh had a problem deploying to release-base-images May 29, 2024 14:51 — with GitHub Actions Failure
@aanm
Copy link
Member

aanm commented May 29, 2024

/test

@aanm
Copy link
Member

aanm commented May 29, 2024

@rolinh I think this PR will need more help.

@rolinh rolinh force-pushed the renovate/main-all-dependencies branch from 17e5693 to b308079 Compare May 29, 2024 15:34
@rolinh rolinh had a problem deploying to release-base-images May 29, 2024 15:34 — with GitHub Actions Error
@auto-committer auto-committer bot requested review from a team as code owners May 29, 2024 15:47
@auto-committer auto-committer bot requested a review from nebril May 29, 2024 15:47
@auto-committer auto-committer bot temporarily deployed to release-base-images May 29, 2024 15:47 Inactive
@rolinh rolinh force-pushed the renovate/main-all-dependencies branch from 06c9035 to b8f7bf8 Compare May 29, 2024 17:07
@rolinh rolinh had a problem deploying to release-base-images May 29, 2024 17:07 — with GitHub Actions Error
rolinh and others added 2 commits May 29, 2024 19:10
Renovate adds the "v" as part of the protoc version so update the script
so that it works regardless.

Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
Signed-off-by: renovate[bot] <bot@renovateapp.com>
@rolinh rolinh force-pushed the renovate/main-all-dependencies branch from b8f7bf8 to 0767acd Compare May 29, 2024 17:11
@rolinh rolinh had a problem deploying to release-base-images May 29, 2024 17:11 — with GitHub Actions Error
Signed-off-by: Cilium Imagebot <noreply@cilium.io>
@auto-committer auto-committer bot temporarily deployed to release-base-images May 29, 2024 17:24 Inactive
@rolinh
Copy link
Member

rolinh commented May 30, 2024

It looks like we need to instruct the bot to run make -C api/v1 when updating the Cilium builder image. Not sure how to do that/where the code for the bot is.

A recent commit updated the protobuf implementation, which generates
different output code in the api directory. Apply those updates.

Signed-off-by: Joe Stringer <joe@cilium.io>
@joestringer
Copy link
Member

It's triggered from the base image builds workflow, so we can trace it from there.

$ git grep -l 'update.cilium.builder'
.github/workflows/build-images-base.yaml
CODEOWNERS
Documentation/contributing/development/images.rst
Documentation/contributing/release/backports.rst
images/Makefile
images/README.md
images/builder/update-cilium-builder-image.sh
images/runtime/update-cilium-runtime-image.sh
images/scripts/update-cilium-builder-image.sh

I've regenerated this manually for this PR for now, then we can follow up on automation here: #32804.

@joestringer
Copy link
Member

/test

@rolinh rolinh enabled auto-merge May 31, 2024 07:14
@rolinh rolinh added this pull request to the merge queue May 31, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 31, 2024
Merged via the queue into main with commit e7e1e36 May 31, 2024
@rolinh rolinh deleted the renovate/main-all-dependencies branch May 31, 2024 08:40
HadrienPatte added a commit that referenced this pull request Aug 23, 2025
With #41230, renovate will now handle updating those images, but since
they haven't been updated in a while, there's some manual adjustments
that are required before renovate can handle those.

With cilium/image-tools#339 and
cilium/image-tools#343, these two images no
longer include their test files. This PR removes the test stage from the
`runtime` image as it was just rerunning those tests and there are no
`runtime` image tests.

This PR also fixes the tests for the `builder` image. It turns out that
those tests have been broken since #32767 because they haven't been
running in CI for years. Those tests aren't running since we switched
from the legacy docker engine to buildkit, see [details](https://docs.docker.com/build/building/multi-stage/#differences-between-legacy-builder-and-buildkit):

> The legacy Docker Engine builder processes all stages of a Dockerfile leading up to the selected --target. It will build a stage even if the selected target doesn't depend on that stage.
>
> BuildKit only builds the stages that the target stage depends on.

Future followups:
* Does it make sense to have a test expect a specific version of `libprotoc` when this dependency is regularly automatically updated by renovate? With the current setup, this test will break everytime renovate updates `libprotoc`. I'd argue that the version string should be removed from the expected output so we only test that `protoc --version` runs sucessfully without expecting a given version string.
* Consider either:
  * Update the CI to ensure those container structure tests are run on
    PRs
  * Remove container structure tests as after this PR, only the `builder` image will have [some](https://github.com/cilium/cilium/blob/a7de0143835a080750dbbde7285be37ab8599883/images/builder/test/spec.yaml) and all they test is that `protoc` is installed in the image

Note: the release note for this PR is more focused on the user-visible
change related to the update of the `bpftools` and `llvm` images.

```release
images: Update `bpftools` and `llvm` images to reduce the size of the
`cilium` image by 39MB (`amd64`) / 35MB (arm64)
```

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
HadrienPatte added a commit that referenced this pull request Aug 23, 2025
With #41230, renovate will now handle updating those images, but since
they haven't been updated in a while, there's some manual adjustments
that are required before renovate can handle those.

With cilium/image-tools#339 and
cilium/image-tools#343, these two images no
longer include their test files. This PR removes the test stage from the
`runtime` image as it was just rerunning those tests and there are no
`runtime` image tests.

This PR also fixes the tests for the `builder` image. It turns out that
those tests have been broken since #32767 because they haven't been
running in CI for years. Those tests aren't running since we switched
from the legacy docker engine to buildkit, see [details](https://docs.docker.com/build/building/multi-stage/#differences-between-legacy-builder-and-buildkit):

> The legacy Docker Engine builder processes all stages of a Dockerfile leading up to the selected --target. It will build a stage even if the selected target doesn't depend on that stage.
>
> BuildKit only builds the stages that the target stage depends on.

Future followups:
* Does it make sense to have a test expect a specific version of `libprotoc` when this dependency is regularly automatically updated by renovate? With the current setup, this test will break everytime renovate updates `libprotoc`. I'd argue that the version string should be removed from the expected output so we only test that `protoc --version` runs successfully without expecting a given version string.
* Consider either:
  * Update the CI to ensure those container structure tests are run on
    PRs
  * Remove container structure tests as after this PR, only the `builder` image will have [some](https://github.com/cilium/cilium/blob/a7de0143835a080750dbbde7285be37ab8599883/images/builder/test/spec.yaml) and all they test is that `protoc` is installed in the image

Note: the release note for this PR is more focused on the user-visible
change related to the update of the `bpftools` and `llvm` images.

```release
images: Update `bpftools` and `llvm` images to reduce the size of the
`cilium` image by 39MB (`amd64`) / 35MB (arm64)
```

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
HadrienPatte added a commit that referenced this pull request Sep 3, 2025
With #41230, renovate will now handle updating those images, but since
they haven't been updated in a while, there's some manual adjustments
that are required before renovate can handle those.

With cilium/image-tools#339 and
cilium/image-tools#343, these two images no
longer include their test files. This PR removes the test stage from the
`runtime` image as it was just rerunning those tests and there are no
`runtime` image tests.

This PR also fixes the tests for the `builder` image. It turns out that
those tests have been broken since #32767 because they haven't been
running in CI for years. Those tests aren't running since we switched
from the legacy docker engine to buildkit, see [details](https://docs.docker.com/build/building/multi-stage/#differences-between-legacy-builder-and-buildkit):

> The legacy Docker Engine builder processes all stages of a Dockerfile leading up to the selected --target. It will build a stage even if the selected target doesn't depend on that stage.
>
> BuildKit only builds the stages that the target stage depends on.

Future followups:
* Does it make sense to have a test expect a specific version of `libprotoc` when this dependency is regularly automatically updated by renovate? With the current setup, this test will break everytime renovate updates `libprotoc`. I'd argue that the version string should be removed from the expected output so we only test that `protoc --version` runs successfully without expecting a given version string.
* Consider either:
  * Update the CI to ensure those container structure tests are run on
    PRs
  * Remove container structure tests as after this PR, only the `builder` image will have [some](https://github.com/cilium/cilium/blob/a7de0143835a080750dbbde7285be37ab8599883/images/builder/test/spec.yaml) and all they test is that `protoc` is installed in the image

Note: the release note for this PR is more focused on the user-visible
change related to the update of the `bpftools` and `llvm` images.

```release
images: Update `bpftools` and `llvm` images to reduce the size of the
`cilium` image by 39MB (`amd64`) / 35MB (arm64)
```

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
HadrienPatte added a commit that referenced this pull request Sep 4, 2025
With #41230, renovate will now handle updating those images, but since
they haven't been updated in a while, there's some manual adjustments
that are required before renovate can handle those.

With cilium/image-tools#339 and
cilium/image-tools#343, these two images no
longer include their test files. This PR removes the test stage from the
`runtime` image as it was just rerunning those tests and there are no
`runtime` image tests.

This PR also fixes the tests for the `builder` image. It turns out that
those tests have been broken since #32767 because they haven't been
running in CI for years. Those tests aren't running since we switched
from the legacy docker engine to buildkit, see [details](https://docs.docker.com/build/building/multi-stage/#differences-between-legacy-builder-and-buildkit):

> The legacy Docker Engine builder processes all stages of a Dockerfile leading up to the selected --target. It will build a stage even if the selected target doesn't depend on that stage.
>
> BuildKit only builds the stages that the target stage depends on.

Future followups:
* Does it make sense to have a test expect a specific version of `libprotoc` when this dependency is regularly automatically updated by renovate? With the current setup, this test will break everytime renovate updates `libprotoc`. I'd argue that the version string should be removed from the expected output so we only test that `protoc --version` runs successfully without expecting a given version string.
* Consider either:
  * Update the CI to ensure those container structure tests are run on
    PRs
  * Remove container structure tests as after this PR, only the `builder` image will have [some](https://github.com/cilium/cilium/blob/a7de0143835a080750dbbde7285be37ab8599883/images/builder/test/spec.yaml) and all they test is that `protoc` is installed in the image

Note: the release note for this PR is more focused on the user-visible
change related to the update of the `bpftools` and `llvm` images.

```release
images: Update `bpftools` and `llvm` images to reduce the size of the
`cilium` image by 39MB (`amd64`) / 35MB (arm64)
```

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/community-contribution This was a contribution made by a community member. kind/enhancement This would improve or streamline existing functionality. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. renovate/stop-updating Tell Renovate to stop updating PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants