-
Notifications
You must be signed in to change notification settings - Fork 114
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
e2e: Allow testing custom cni and dp image #518
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
@@ -189,7 +189,7 @@ echo "## build daemon image" | |||
podman build -t "${SRIOV_NETWORK_CONFIG_DAEMON_IMAGE}" -f "${root}/Dockerfile.sriov-network-config-daemon" "${root}" | |||
|
|||
echo "## build webhook image" | |||
podman build -t "${SRIOV_NETWORK_WEBHOOK_IMAGE}" -f "${root}/Dockerfile.webhook" "${root}" | |||
podman `build` -t "${SRIOV_NETWORK_WEBHOOK_IMAGE}" -f "${root}/Dockerfile.webhook" "${root}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why quotes around build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That went by mistake. Thanks for catching it
b5ca4bf
to
e8cf842
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
|
||
if [[ -v LOCAL_SRIOV_DEVICE_PLUGIN_IMAGE ]]; then | ||
export SRIOV_DEVICE_PLUGIN_IMAGE="$registry/$NAMESPACE/sriov-network-device-plugin:latest" | ||
echo "## Pushing ${LOCAL_SRIOV_DEVICE_PLUGIN_IMAGE} to cluster iamge ${SRIOV_SRIOV_DEVICE_PLUGIN_IMAGE}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a copy paste from above (the typo even got copied). Create a function instead to echo + tag + push.
if [[ -v LOCAL_SRIOV_DEVICE_PLUGIN_IMAGE ]]; then | ||
export SRIOV_DEVICE_PLUGIN_IMAGE="$registry/$NAMESPACE/sriov-network-device-plugin:latest" | ||
echo "## Pushing ${LOCAL_SRIOV_DEVICE_PLUGIN_IMAGE} to cluster iamge ${SRIOV_SRIOV_DEVICE_PLUGIN_IMAGE}" | ||
podman tag ${LOCAL_SRIOV_DEVICE_PLUGIN_IMAGE} ${SRIOV_SRIOV_DEVICE_PLUGIN_IMAGE} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SRIOV_SRIOV_DEVICE_PLUGIN_IMAGE has twice SRIOV in it. Is that on purpose?
e8cf842
to
f93387b
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
/hold |
Pull Request Test Coverage Report for Build 7692695746
💛 - Coveralls |
f93387b
to
2a8e70c
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
2a8e70c
to
ce2003f
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
ce2003f
to
aff6239
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
aff6239
to
0ed185e
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
0ed185e
to
01ac0a3
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
01ac0a3
to
b4f519a
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
1 similar comment
Thanks for your PR,
To skip the vendors CIs use one of:
|
e406b5f
to
a843b3b
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
This is now ready for review, it worked against sriov-cni wip PR: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thanks!
@adrianchiris , @e0ne can you take a look at this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor its otherwise lgtm
a843b3b
to
4ca7d9a
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
4ca7d9a
to
111af4c
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
Let `run-e2e-conformance-virtual-ocp.sh` and `run-e2e-conformance-virtual-cluster.sh` deploy clusters with specific SRIOV CNI and Device Plugin images. This will enable other projects to have full end-to-end test CI with operator's suite. Signed-off-by: Andrea Panattoni <[email protected]>
This is a leftover from - k8snetworkplumbingwg#534 Prior to this commit, `kubectl cluster-info ...` is invoked only if the conformance tests does not fail, which is not that useful. Signed-off-by: Andrea Panattoni <[email protected]>
111af4c
to
4663412
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
Two approvals gathered. |
All CI checks green. Merging |
Let
run-e2e-conformance-virtual-ocp.sh
andrun-e2e-conformance-virtual-cluster.sh
deploy clusters with specific SRIOV CNI and Device Plugin images. This will enable other projects to have full end-to-end test CI with the operator's suite.Ref:
cc @adrianchiris @e0ne