-
Notifications
You must be signed in to change notification settings - Fork 7k
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
CLD-5704 Migrate daily master/cloud tests #27393
Conversation
E2E test run is starting for commit
|
E2E test run is starting for commit
|
E2E test run is starting for commit
|
☝️ the run above was triggered for the |
E2E test run is starting for commit
|
☝️ the run above was triggered for the |
/e2e-test |
E2E test triggered successfully for PR #27393. The corresponding commit's status check will be available shortly. |
E2E test run is starting for commit
|
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.
Love it, great work @mvitale1989!
TEST_FILTER_VARIABLE="TEST_FILTER_DAILY_${SERVER@U}" | ||
BUILD_ID_SUFFIX="${IS_TEST_UNSTABLE:+unstable-}daily-${SERVER}-ent" | ||
echo "status_check_context=E2E Tests/test-${BUILD_ID_SUFFIX}${MM_ENV:+/$MM_ENV_HASH}" >> $GITHUB_OUTPUT | ||
echo "workers_number=10" >> $GITHUB_OUTPUT # Daily tests are not time critical, and it's more efficient to run on fewer workers |
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.
👍
(Originally, all 20 workers except for unstable test but sounds good for daily tests.)
E2E test run is starting for commit
|
E2E test run is starting for commit
|
/e2e-test |
E2E test triggered successfully for PR #27393. The corresponding commit's status check will be available shortly. |
E2E test run is starting for commit
|
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.
I would love to see this integrated with spinwicks on demand 🚀
@@ -24,7 +24,9 @@ | |||
* For sending hooks to Mattermost channels | |||
* - FULL_REPORT, WEBHOOK_URL and DIAGNOSTIC_WEBHOOK_URL | |||
* Test type | |||
* - TYPE=[type], e.g. "MASTER", "PR", "RELEASE", "CLOUD" | |||
* - TYPE=[type]; valid values: "PR", "RELEASE", "MASTER", "MASTER_UNSTABLE", "CLOUD", "CLOUD_UNSTABLE", "NONE" |
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.
We do not need cloud anymore correct ?
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 variable just contains the type of test that was run, rather than the type of server binary (as you say onprem and cloud are now the same binary). As of now there are test cases that apply only when a cloud license is used.
Thanks for reviewing ❤️ as of now the tests depend on accessing the dependencies directly (e.g. we need to check if some migrations are complete), but it's worth checking if we can adapt them to run against spinwicks. I'll create a ticket to explore this |
/cherry-pick release-9.10 |
Cherry pick is scheduled. |
* [skip ci] Support Cloud/daily tests and Zephyr integration * [skip ci] Fix workflow file * [skip ci] Fix typo in workflow input name * Fix cloud variable passing * [skip ci] Fix typo * Utilize master branch image for daily tests * Apply Saturn's suggestion, fixes and improvements (cherry picked from commit 4f68dbb)
* [skip ci] Support Cloud/daily tests and Zephyr integration * [skip ci] Fix workflow file * [skip ci] Fix typo in workflow input name * Fix cloud variable passing * [skip ci] Fix typo * Utilize master branch image for daily tests * Apply Saturn's suggestion, fixes and improvements (cherry picked from commit 4f68dbb) Co-authored-by: Mario Vitale <mvitale1989@hotmail.com>
Summary
This PR adds support for daily master/cloud E2E tests in GHA.
REPORT_TYPE
input will decide how the test will behave.MASTER
,MASTER_UNSTABLE
,CLOUD
andCLOUD_UNSTABLE
), themattermostdevelopment/mattermost-enterprise-edition:master
image is automatically picked, no matter the givencommit_sha
orPR_NUMBER
you specified at triggering timeThe triggering of this job will be done by argo-events.
Ticket Link
https://mattermost.atlassian.net/browse/CLD-5704
Release Note