Skip to content
This repository was archived by the owner on Jan 22, 2022. It is now read-only.

Conversation

samestep
Copy link
Contributor

@samestep samestep commented May 25, 2021

Enables pytorch/pytorch#58778 by adding the follow two features to the syntax of .github/pytorch-circleci-labels.yml:

  • a default_params section that applies even when no labels are present
  • the parameter field is now optional on labels

@samestep samestep changed the title Add a ci/minimal label Enable a ci/minimal label May 26, 2021
@samestep samestep changed the title Enable a ci/minimal label Enable a ci/no-build label May 26, 2021
@samestep samestep marked this pull request as ready for review May 26, 2021 23:33
@samestep samestep requested review from a team and seemethere May 26, 2021 23:33
@samestep samestep merged commit 4f66db4 into pytorch:master May 27, 2021
@samestep samestep deleted the ci-minimal branch May 27, 2021 19:29
facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request May 27, 2021
Summary:
Depends on pytorch/probot#22. Adds a new label called `ci/no-build` that disables the CircleCI `build` workflow on PRs. The current behavior should be the same in the absence of `ci/no-build`.

Pull Request resolved: #58778

Reviewed By: malfet

Differential Revision: D28615349

Pulled By: samestep

fbshipit-source-id: 1ed521761ca4ffa32db954a51918f693beddb3f3
facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Jun 9, 2021
Summary:
Depends on pytorch/probot#22. Adds a new label called `ci/no-build` that disables the CircleCI `build` workflow on PRs. The current behavior should be the same in the absence of `ci/no-build`.

Specifically, after this PR lands, for anyone who isn't rebased onto the latest `master`, I believe this will happen:
- when they push to their PR, the CircleCI app triggers CI
- the `pytorch-probot` app sees that their PR doesn't have the `ci/no-build` tag, so it also triggers CI
- the latter should auto-cancel the former

After checking with #59087, it looks like this would cause the "errored" number to go up and then go down as Circle jobs are canceled (saying "Your CircleCI tests were canceled") and then restarted:

<img width="868" alt="Screen Shot 2021-05-27 at 12 39 20 PM" src="https://user-images.githubusercontent.com/8246041/119887123-9667b080-bee8-11eb-8acb-e1967899c9d5.png">

Pull Request resolved: #58778

Reviewed By: malfet

Differential Revision: D28995335

Pulled By: samestep

fbshipit-source-id: 8d7543b911e4bbbeef14639baf9d9108110b97c8
deniskokarev pushed a commit to deniskokarev/pytorch that referenced this pull request Jun 9, 2021
Summary:
Depends on pytorch/probot#22. Adds a new label called `ci/no-build` that disables the CircleCI `build` workflow on PRs. The current behavior should be the same in the absence of `ci/no-build`.

Pull Request resolved: pytorch#58778

Reviewed By: malfet

Differential Revision: D28615349

Pulled By: samestep

fbshipit-source-id: 1ed521761ca4ffa32db954a51918f693beddb3f3
deniskokarev pushed a commit to deniskokarev/pytorch that referenced this pull request Jun 9, 2021
Summary:
Depends on pytorch/probot#22. Adds a new label called `ci/no-build` that disables the CircleCI `build` workflow on PRs. The current behavior should be the same in the absence of `ci/no-build`.

Specifically, after this PR lands, for anyone who isn't rebased onto the latest `master`, I believe this will happen:
- when they push to their PR, the CircleCI app triggers CI
- the `pytorch-probot` app sees that their PR doesn't have the `ci/no-build` tag, so it also triggers CI
- the latter should auto-cancel the former

After checking with pytorch#59087, it looks like this would cause the "errored" number to go up and then go down as Circle jobs are canceled (saying "Your CircleCI tests were canceled") and then restarted:

<img width="868" alt="Screen Shot 2021-05-27 at 12 39 20 PM" src="https://user-images.githubusercontent.com/8246041/119887123-9667b080-bee8-11eb-8acb-e1967899c9d5.png">

Pull Request resolved: pytorch#58778

Reviewed By: malfet

Differential Revision: D28995335

Pulled By: samestep

fbshipit-source-id: 8d7543b911e4bbbeef14639baf9d9108110b97c8
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants