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

CI: set and verify DESIRED_NETWORK (netavark, cni) #16389

Merged

Conversation

edsantiago
Copy link
Member

We have CI tests running in netavark mode when CNI is desired.
Add a new .cirrus.yml envariable, CI_DESIRED_NETWORK, which
we then force-check in e2e and system tests. Simple copy/paste
of #14912 (the RUNTIME check) with manual s/RUNTIME/NETWORK/
and other minor changes.

Signed-off-by: Ed Santiago [email protected]

None

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 2, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: edsantiago

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 2, 2022
@edsantiago edsantiago force-pushed the verify_network_backend branch 2 times, most recently from 111f12a to 32aa558 Compare November 2, 2022 19:03
@mheon
Copy link
Member

mheon commented Nov 2, 2022

LGTM

@edsantiago edsantiago force-pushed the verify_network_backend branch from 32aa558 to 2bce17c Compare November 2, 2022 19:37
@edsantiago
Copy link
Member Author

/hold

#15760 appears to be close to merging, I will defer to it and will reconcile conflicts here.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 2, 2022
@edsantiago edsantiago force-pushed the verify_network_backend branch from 2bce17c to 6a631b4 Compare November 2, 2022 21:09
@edsantiago edsantiago removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 2, 2022
@edsantiago edsantiago force-pushed the verify_network_backend branch 4 times, most recently from 5c8c5b3 to 27f5d2b Compare November 3, 2022 00:00
@edsantiago edsantiago force-pushed the verify_network_backend branch from 27f5d2b to c0fdde5 Compare November 3, 2022 02:12
.cirrus.yml Outdated
- env: &priorfedora_envvars
DISTRO_NV: ${PRIOR_FEDORA_NAME}
VM_IMAGE_NAME: ${PRIOR_FEDORA_CACHE_IMAGE_NAME}
CTR_FQIN: ${PRIOR_FEDORA_CONTAINER_FQIN}
CI_DESIRED_RUNTIME: crun
CI_DESIRED_NETWORK: netavark
Copy link
Member

Choose a reason for hiding this comment

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

I thought prior fedora should use cni?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ugh - that's what happens when I code late in the day. Thank you for catching that. Fixed and pushed.

We have CI tests running in netavark mode when CNI is desired.
Add a new .cirrus.yml envariable, CI_DESIRED_NETWORK, which
we then force-check in e2e and system tests. Simple copy/paste
of containers#14912 (the RUNTIME check) with manual s/RUNTIME/NETWORK/
and other minor changes.

Signed-off-by: Ed Santiago <[email protected]>
@edsantiago edsantiago force-pushed the verify_network_backend branch from c0fdde5 to d7e70c7 Compare November 3, 2022 10:41
@rhatdan
Copy link
Member

rhatdan commented Nov 3, 2022

/lgtm
/hold cancel

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 3, 2022
@openshift-merge-robot openshift-merge-robot merged commit 6428ff1 into containers:main Nov 3, 2022
@edsantiago edsantiago deleted the verify_network_backend branch November 3, 2022 12:25
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants