-
Notifications
You must be signed in to change notification settings - Fork 3
Trigger Sultan tests #73
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
Conversation
9a9cbf6 to
aa98718
Compare
| @@ -0,0 +1,23 @@ | |||
| on: push | |||
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.
The name of the file is pull_request.yml but it runs on push.
I recommend using the generic sultan-ci.yml file name.
| on: push | |
| on: push |
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 originally intended to run on pull requests, I totally forget about changing this.
9a863c7 to
da4e4bb
Compare
da4e4bb to
5d09016
Compare
| @@ -0,0 +1,22 @@ | |||
| on: push | |||
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.
If you case you've forgot to run it on pull_request. The syntax below means that the ci will run on every pull request, in addition to push on the juniper branch.
This means that a PR merge, will trigger another build that allows us to actually save the image instead of just testing the pipeline.
| on: push | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - juniper |
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.
Triggering on pull_request won't allow us to fetch the branch name. Push actually works on merge too. Here's a proof:
- The workflow run on devstack repo: https://github.com/appsembler/devstack/runs/3036630625?check_suite_focus=true
- The workflow run on Sultan: https://github.com/appsembler/sultan/runs/3036632015?check_suite_focus=true
- And here's a picture of the created image

Change description
Run Sultan tests on this branch.
Type of change
Checklists
Development
Security
Code review