Skip to content
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: cancel old piplines #639

Merged
merged 19 commits into from
May 24, 2024
Merged

ci: cancel old piplines #639

merged 19 commits into from
May 24, 2024

Conversation

Ad96el
Copy link
Member

@Ad96el Ad96el commented May 16, 2024

fixes KILTProtocol/ticket#3406

This PR introduces automatic cancellation of pipelines when a new commit is pushed to the branch.

Furthermore, if any test fails, the entire pipeline will be canceled. If this is not wished, I can revert the changes.

Lastly, if a commit has the title "ci: Updates Snapshots", the tests will be skipped.

Example branch, where the pipeline is skipped because of the commit message: https://gitlab.com/kiltprotocol/kilt-node/-/pipelines/1293783978

@Ad96el Ad96el changed the title debug1 ci: cancel old piplines May 16, 2024
@Ad96el Ad96el force-pushed the ag_ci_skip_snapshots branch from 9f85893 to 616863a Compare May 16, 2024 14:18
@Ad96el Ad96el marked this pull request as ready for review May 16, 2024 15:25
@Ad96el Ad96el requested a review from ntn-x2 May 16, 2024 15:25
.gitlab-ci.yml Outdated Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
@ntn-x2 ntn-x2 enabled auto-merge (squash) May 24, 2024 06:35
@ntn-x2 ntn-x2 disabled auto-merge May 24, 2024 10:00
@ntn-x2 ntn-x2 merged commit b0e6bf2 into develop May 24, 2024
1 of 2 checks passed
@ntn-x2 ntn-x2 deleted the ag_ci_skip_snapshots branch May 24, 2024 10:00
Ad96el added a commit that referenced this pull request May 31, 2024
## fixes KILTprotocol/ticket#3406

This PR introduces automatic cancellation of pipelines when a new commit
is pushed to the branch.

Furthermore, if any test fails, the entire pipeline will be canceled. If
this is not wished, I can revert the changes.

Lastly, if a commit has the title "ci: Updates Snapshots", the tests
will be skipped.

Example branch, where the pipeline is skipped because of the commit
message:
https://gitlab.com/kiltprotocol/kilt-node/-/pipelines/1293783978

---------

Co-authored-by: Antonio <antonio@kilt.io>
Ad96el added a commit that referenced this pull request Aug 20, 2024
## fixes KILTprotocol/ticket#3406

This PR introduces automatic cancellation of pipelines when a new commit
is pushed to the branch.

Furthermore, if any test fails, the entire pipeline will be canceled. If
this is not wished, I can revert the changes.

Lastly, if a commit has the title "ci: Updates Snapshots", the tests
will be skipped.

Example branch, where the pipeline is skipped because of the commit
message:
https://gitlab.com/kiltprotocol/kilt-node/-/pipelines/1293783978

---------

Co-authored-by: Antonio <antonio@kilt.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants