-
Notifications
You must be signed in to change notification settings - Fork 267
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
Update E2E tests script to provide option for using nightly releases #2855
Update E2E tests script to provide option for using nightly releases #2855
Conversation
/hold |
4a08b1a
to
a9e0388
Compare
Cuts time for the integration tests down from 15-16 mins to about 8 mins on prow. Expect to see similar impact for the nightly tests on Z and P on dogfooding. We'll make further improvements to this by building the E2E docker image as part of the nightly release (tagging with the same version) so we can use a prebuilt image in those tests. |
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
Some automated tests just need to run the integration tests / browser E2E tests against a specific release version. They do not need to build the application from scratch. Add support for an environment variable `USE_NIGHTLY_RELEASE` which bypasses the normal `npm install`, webpack build, ko build, etc. and instead deploys the latest nightly release to the target environment.
a9e0388
to
2d9b471
Compare
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
2d9b471
to
7f8887b
Compare
Finished testing, removing the temporary env change so we continue using the build from main in integration tests. The |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: briangleeson 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 |
Changes
Depends on #2854
Some automated tests just need to run the integration tests / browser
E2E tests against a specific release version. They do not need to
build the application from scratch.
Add support for an environment variable
USE_NIGHTLY_RELEASE
whichbypasses the normal
npm install
, webpack build, ko build, etc. andinstead deploys the latest nightly release to the target environment.
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes