feat: Trigger enterprise testing on commit#2298
Merged
andrew-sha merged 13 commits intomainfrom Mar 22, 2024
Merged
Conversation
andrew-sha
commented
Mar 19, 2024
.circleci/continue_config.yml
Outdated
| --url https://circleci.com/api/v2/project/gh/TobikoData/sqlmesh-enterprise/pipeline \ | ||
| --header "Circle-Token: $ENTERPRISE_CIRCLE_API_TOKEN" \ | ||
| --header "content-type: application/json" \ | ||
| --data '{"branch":"trigger_workflow_on_post","parameters":{"run_main_pr":false, "run_core_commit":true, "sqlmesh_version":"'"$CIRCLE_BRANCH"'"}}' |
Contributor
Author
There was a problem hiding this comment.
Once the complementary changes in enterprise are merged this changes to "branch":"main"--I have it set to the feature branch for testing
izeigerman
approved these changes
Mar 20, 2024
vchan
approved these changes
Mar 20, 2024
.circleci/continue_config.yml
Outdated
| workflows: | ||
| main_pr: | ||
| jobs: | ||
| - trigger_private_tests |
Contributor
There was a problem hiding this comment.
Can we move this to the end to prevent unnecessary triggers? If the PR's tests fail, no need to trigger.
0725960 to
b60cc96
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds a job in the
main_prCircleCI workflow which emits a webhook to enterprise's pipeline endpoint to trigger testing (PR #195 in sqlmesh-enterprise repository)