-
Notifications
You must be signed in to change notification settings - Fork 471
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: Add parameter to run Nightly Test #4299
Conversation
I cancelled the nightly tests since I just wanted to test to see if they would run with a triggered parameter and whether it would upload the file as expected. |
@@ -15,6 +15,9 @@ parameters: | |||
result_path: | |||
type: string | |||
default: "/tmp/build_test_results" | |||
valid_nightly_branch: | |||
type: string | |||
default: /hotfix\/.*/ |
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.
Nice trick!
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
* Remove double-quotes and comments * test adding valid_nightly_branch parameter * update CI_E2E_FILENAME * change circleci branch reference * change where the variable is referenced * add parameter expansion * revert script name changes. Remove nightly from name
Summary
We want to easily run nightly test on any branch in the main repo.
Nightly tests remove the
-short
flag from tests. They are longer and more thorough. These tests are important especially for large feature branches.With these changes, algorand devs can Trigger a pipeline on a branch in the go-algorand repo with:
valid_nightly_branch: {current_branch_name}
, e.g.valid_nightly_branch: test/master-copy2
Test Plan
Triggered the CircleCI job manually and provided the parameter. Made sure the filename is uploaded.
https://app.circleci.com/pipelines/github/algorand/go-algorand?branch=test%2Fmaster-copy2