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

Make e2e test run over other networks #1339

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

BbolroC
Copy link
Contributor

@BbolroC BbolroC commented Jun 7, 2021

Description

The current e2e test only runs over the network istio. It would be good to run the test over other network layers (e.g. contour and kourier) if the network is pre-installed and the environment variable $INGRESS_CLASS is set.

Changes

  • Introduce an environment $INGRESS_CLASS
  • Toggle off the istio installation when the $INGRESS_CLASS is set to a value other than istio.ingress.networking.knative.dev (e.g. kourier or contour)
  • Set the ingress.class against the config map config-network in the e2e test
  • Assume that the corresponding network should be installed in advance

Reference

Fixes #1337

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 7, 2021
@knative-prow-robot knative-prow-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 7, 2021
@knative-prow-robot
Copy link
Contributor

Hi @BbolroC. Thanks for your PR.

I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@knative-prow-robot knative-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 7, 2021
@BbolroC BbolroC changed the title Make e2e test run over other networks WIP: Make e2e test run over other networks Jun 7, 2021
@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 7, 2021
@BbolroC BbolroC changed the title WIP: Make e2e test run over other networks Make e2e test run over other networks Jun 7, 2021
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 7, 2021
@codecov
Copy link

codecov bot commented Jun 7, 2021

Codecov Report

Merging #1339 (b12b322) into main (81cb343) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1339   +/-   ##
=======================================
  Coverage   72.97%   72.97%           
=======================================
  Files         160      160           
  Lines        8151     8151           
=======================================
  Hits         5948     5948           
  Misses       1476     1476           
  Partials      727      727           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 81cb343...b12b322. Read the comment docs.

@navidshaikh
Copy link
Collaborator

/ok-to-test

/assign @dsimansk

@knative-prow-robot knative-prow-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 8, 2021
Copy link
Contributor

@maximilien maximilien left a comment

Choose a reason for hiding this comment

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

/ok-to-test

Can you mention the other networks you are testing?

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 8, 2021
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BbolroC, maximilien

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 8, 2021
@knative-prow-robot knative-prow-robot merged commit 217df5c into knative:main Jun 8, 2021
@BbolroC
Copy link
Contributor Author

BbolroC commented Jun 8, 2021

/ok-to-test

Can you mention the other networks you are testing?

I tested contour, but there should be no problem with kourier as well.

@BbolroC BbolroC deleted the multi-network branch June 8, 2021 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable to e2e-test with contour and kourier
5 participants