Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.11 backports 2022-01-20 #18569

Merged
merged 14 commits into from Jan 25, 2022
Merged

v1.11 backports 2022-01-20 #18569

merged 14 commits into from Jan 25, 2022

Conversation

kkourt
Copy link
Contributor

@kkourt kkourt commented Jan 21, 2022

v1.11 backports 2022-01-20

Once this PR is merged, you can update the PR labels via:

$ for pr in 17988 17980 18024 18468 18471 18506 18482; do contrib/backporting/set-labels.py $pr done 1.11; done

Note

Skipped #18483: since it contained a mistake which is fixed by #18582, so they should probably be backported together.

joestringer and others added 3 commits January 20, 2022 18:41
[ upstream commit 1b42f7a ]

On GitHub, one cannot request oneself to review one's own PR. This
results in the following problem when submitting a backport PR:

    $ submit-backport
    Using GitHub repository joestringer/cilium (git remote: origin)
    Sending PR for branch v1.10:

    v1.10 backports 2021-11-23

     * #17788 -- Additional FQDN selector identity tracking fixes (@joestringer)

    Once this PR is merged, you can update the PR labels via:
    ```upstream-prs
    $ for pr in 17788; do contrib/backporting/set-labels.py $pr done 1.10; done
    ```

    Sending pull request...
    remote:
    remote: Create a pull request for 'pr/v1.10-backport-2021-11-23' on GitHub by visiting:
    remote:      https://github.com/joestringer/cilium/pull/new/pr/v1.10-backport-2021-11-23
    remote:
    Error requesting reviewer: Unprocessable Entity (HTTP 422)
    Review cannot be requested from pull request author.

    Signal ERR caught!

    Traceback (line function script):
    58 main /home/joe/git/cilium/contrib/backporting/submit-backport

Fix this by excluding ones own username from the reviewers list.

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
[ upstream commit eed68f5 ]

Build gops on native platform rather than amd64.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
[ upstream commit 2d41a3c ]

Add cross-compilation packages for both arm64 and amd64 to
cilium-builder regardless of the build target. This allows Cilium
image build to succeed also on arm64. Without this
builer/cilium/download-hubble.sh failed due to missing
'x86_64-linux-gnu-strip'.

Also install 'binutils-x86-64-linux-gnu' whenever installing
'binutils-aarch64-linux-gnu' to fix gops build on arm64.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
@kkourt kkourt requested review from a team as code owners January 21, 2022 08:32
@kkourt kkourt requested a review from nebril January 21, 2022 08:32
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.11 This PR represents a backport for Cilium 1.11.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. labels Jan 21, 2022
@kkourt kkourt temporarily deployed to release-base-images January 21, 2022 08:32 Inactive
@@ -109,7 +109,7 @@ jobs:
quay.io/${{ github.repository_owner }}/${{ matrix.name }}-ci:v1.11-race
quay.io/${{ github.repository_owner }}/${{ matrix.name }}-ci:${{ steps.tag.outputs.tag }}-race
build-args: |
BASE_IMAGE=quay.io/cilium/cilium-runtime:3e2ea3c996d8372ba65ee14058a716f797c67496@sha256:f5ea135fce72807158e520d1754e826b138cf9e97adde528fd992b3e79ef6ee8
BASE_IMAGE=quay.io/cilium/cilium-runtime:805506ff0dc0a9886fc1a8ce53191275f8baf62e
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong click sorry => I think there might be an issue here with the image reference as we're missing the sha256 pin.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm following steps here: https://docs.cilium.io/en/stable/contributing/development/images/#update-cilium-builder-and-cilium-runtime-images

I think they images are build in the build deployment and running the scripts will add their checksums.

@kkourt kkourt force-pushed the pr/kkourt/v1.11-backport-2022-01-20 branch from f0ba0b9 to ba84ba5 Compare January 21, 2022 14:05
@kkourt kkourt requested a review from a team as a code owner January 21, 2022 14:05
@kkourt kkourt dismissed nbusseneau’s stale review January 21, 2022 14:10

I cannot deploy the branch so that the images can be build. I'm dismissing the review, in case it causes this.

@kkourt kkourt force-pushed the pr/kkourt/v1.11-backport-2022-01-20 branch from ba84ba5 to ba68d85 Compare January 21, 2022 14:11
@kkourt kkourt temporarily deployed to release-base-images January 21, 2022 14:11 Inactive
@kkourt kkourt temporarily deployed to release-base-images January 21, 2022 14:11 Inactive
Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
@kkourt kkourt force-pushed the pr/kkourt/v1.11-backport-2022-01-20 branch from ba68d85 to 71315db Compare January 21, 2022 14:31
@kkourt kkourt temporarily deployed to release-base-images January 21, 2022 14:31 Inactive
Copy link
Member

@jrajahalme jrajahalme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good on my part :-)

@kkourt kkourt added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jan 25, 2022
@kkourt
Copy link
Contributor Author

kkourt commented Jan 25, 2022

CI is green, and got all approvals from original authors. Marking ready-to-merge.

@kkourt kkourt merged commit 71029a4 into v1.11 Jan 25, 2022
@kkourt kkourt deleted the pr/kkourt/v1.11-backport-2022-01-20 branch January 25, 2022 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.11 This PR represents a backport for Cilium 1.11.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants