-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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: move remaining Cypress tests behind GH label #174523
Merged
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a2f2f7e
ci: move remaining Cypress tests behind GH label
4ffc74f
Merge branch 'main' into move-cypress
d19744c
Merge branch 'main' into move-cypress
yngrdyn 816ec8b
Merge branch 'main' into move-cypress
yngrdyn 3a64668
Address review comments
db1f4e8
Merge branch 'main' into move-cypress
62cc241
Rename file
d0ddbbd
Address review comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
.buildkite/pipelines/pull_request/security_solution/osquery.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/osquery_cypress.sh | ||
label: 'Osquery Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 6 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/security_serverless_osquery.sh | ||
label: 'Serverless Osquery Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 6 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 |
12 changes: 12 additions & 0 deletions
12
.buildkite/pipelines/pull_request/security_solution/threat_intelligence.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/threat_intelligence.sh | ||
label: 'Threat Intelligence Cypress Tests' | ||
agents: | ||
queue: n2-4-spot | ||
depends_on: build | ||
timeout_in_minutes: 60 | ||
parallelism: 2 | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
/^x-pack\/test\/security_solution_cypress/
should be replaced by
/^x-pack\/test\/threat_intelligence_cypress/
Currently all the Cypress tests haven’t been migrated to the
x-pack/test
folder are still in thex-pack/plugins/threat_intelligence
folder unfortunately.I had started to migrated things over before the holidays (actually I was trying to merge them within the security_solution_cypress folder directly for simplicity and code reusability) but we had to jump on reducing flakiness instead. Not sure when I’ll have the time to get back to that…
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.
also, looking at the code, here are a few that I think we should add
other
x-pack
plugins:/x-pack\/plugins\/cases/
/x-pack\/plugins\/timelines/
/x-pack\/plugins\/triggers_actions_ui/
/x-pack\/plugins\/rule_registry/
other
packages
:/packages\/kbn-es-query/
/packages\/kbn-securitysolution-io-ts-list-types/
/packages\/kbn-i18n-react/
/packages\/kbn-i18n/
/packages\/shared-ux/
/packages\/kbn-doc-links/
/packages\/kbn-securitysolution-io-ts-list-types/
other
src
plugins:/src\/plugins\/data/
/src\/plugins\/kibana_utils/
/src\/plugins\/inspector/
/src\/plugins\/data_views/
/src\/core/
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.
Done 👍