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

Use cilium-cli latest stable version in conformance-datapath workflows #24809

Merged
merged 1 commit into from Apr 11, 2023

Conversation

pippolo84
Copy link
Member

Currently, both conformance-datapath workflows are using the latest cilium-cli-ci images, built from the master branch. This recent cilium-cli commit:

cilium/cilium-cli@0c03922

seems to be the culprit of the failures in the conformance workflows:

Error from server (BadRequest): error when creating "tmpl.yaml": DaemonSet in version "v1" cannot be handled as a DaemonSet: json: cannot unmarshal bool into Go struct field NodeSelectorRequirement.spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.values of type string

Since there is no need to use the cilium-cli built from the master branch, the version is changed to be the latest stable one.

This will serve as a temporary fix for the workflows until the issue is addressed in the cilium-cli repository.

Also, renovate is enabled in order to update cilium-cli version in the workflows as soon as a new stable version is released.

@pippolo84 pippolo84 added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Apr 11, 2023
@pippolo84 pippolo84 force-pushed the pr/pippolo84/fix-conformance-datapath branch 2 times, most recently from dc4b5b5 to 4b26fc6 Compare April 11, 2023 11:54
@pippolo84 pippolo84 force-pushed the pr/pippolo84/fix-conformance-datapath branch from 4b26fc6 to a200118 Compare April 11, 2023 12:02
Currently, both conformance-datapath workflows are using the latest
cilium-cli-ci images, built from the master branch.  This recent
cilium-cli commit:

cilium/cilium-cli@0c03922

seems to be the culprit of the failures in the conformance workflows:

`Error from server (BadRequest): error when creating "tmpl.yaml":
DaemonSet in version "v1" cannot be handled as a DaemonSet: json: cannot
unmarshal bool into Go struct field
NodeSelectorRequirement.spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.values
of type string`

Since there is no need to use the cilium-cli built from the master
branch, the version is changed to be the latest stable one.

This will serve as a temporary fix for the workflows until the issue is
addressed in the cilium-cli repository.

Also, renovate is enabled in order to update cilium-cli version in the
workflows as soon as a new stable version is released.

Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@pippolo84
Copy link
Member Author

Example run of ci-datapath with this fix applied: https://github.com/cilium/cilium/actions/runs/4667795698?pr=24809

@pippolo84 pippolo84 marked this pull request as ready for review April 11, 2023 13:40
@pippolo84 pippolo84 requested review from a team as code owners April 11, 2023 13:40
Copy link
Member

@pchaigno pchaigno left a comment

Choose a reason for hiding this comment

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

Thanks!

@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 11, 2023
@dylandreimerink dylandreimerink merged commit 0a984a7 into master Apr 11, 2023
43 checks passed
@dylandreimerink dylandreimerink deleted the pr/pippolo84/fix-conformance-datapath branch April 11, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants