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: Set job names. #59055

Merged
merged 1 commit into from
Mar 20, 2019
Merged

CI: Set job names. #59055

merged 1 commit into from
Mar 20, 2019

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Mar 9, 2019

This should make it easier to identify what each job is doing when looking at the Travis or Appveyor UI.

  • Set name for each job in Travis.
  • Move CI_JOB_NAME to the front in Appveyor so that it appears first in the UI.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 9, 2019
@ehuss
Copy link
Contributor Author

ehuss commented Mar 9, 2019

This changes the job name for a few jobs for consistency, such as x86_64-applecheck-x86_64-apple. If there are any external tools tracking jobs by name, this will likely cause some disruption. If such tools exist, I can change the names back to their original.

@Mark-Simulacrum
Copy link
Member

@rustbot modify labels to I-nominated and T-infra.

We should discuss this at the next meeting and if there are no concerns raised r=me on the implementation.

Cc @alexcrichton, @pietroalbini, and @kennytm in particular

@rustbot rustbot added I-nominated T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Mar 10, 2019
@kennytm
Copy link
Member

kennytm commented Mar 10, 2019

I'm leaning towards not changing the CI job names since I don't see the appeal of having a "consistent" $VERB-$NOUN-style name. AFAIK no automated services need to distinguish between different jobs based on the $VERB. Plus the existing names are already recorded throughout the spurious PR tracking sheet.

As for the PR itself, why some jobs are named check-xxx and some are named test-xxx? For instance the check-x86_64-linux (existing name x86_64-gnu-llvm-6.0) and check-x86_64-apple (existing name x86_64-apple) jobs still run the full test suite.

@Centril
Copy link
Contributor

Centril commented Mar 10, 2019

Having clearer names on the overview of builds, e.g. https://travis-ci.com/rust-lang/rust/builds/103795945, would be useful when doing rollups. For example, what each macOS builder does is really cryptic... @kennytm What's are the drawbacks to this change?

@kennytm
Copy link
Member

kennytm commented Mar 10, 2019

@Centril I'm +1 with adding the name: field, but -0 with changing the name from x86_64-apple to check-x86_64-apple.

@Centril
Copy link
Contributor

Centril commented Mar 10, 2019

@kennytm Oh... I'm fine with whatever on that front.

@ehuss
Copy link
Contributor Author

ehuss commented Mar 10, 2019

I'm sorry, I somehow had it in my mind that "check" and "test" were different. I have reverted the name changes, so every job name should now be the same as before.

If you want a preview of what it looks like, here are some samples:
https://travis-ci.org/ehuss/test/builds/504330368
https://ci.appveyor.com/project/ehuss/test/builds/22962579

@pietroalbini
Copy link
Member

👍 This is way clearer when looking for a job, and it shouldn't affect anything else.

@alexcrichton
Copy link
Member

@bors: r+

Looks like since the renamings are backed out this is otherwise equivalent, and definitely much nicer to read on the travis side of things

@bors
Copy link
Contributor

bors commented Mar 11, 2019

📌 Commit 8371377 has been approved by alexcrichton

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 11, 2019
@pietroalbini
Copy link
Member

Removing the nomination since the team already approved the PR.

pietroalbini added a commit to pietroalbini/rust that referenced this pull request Mar 13, 2019
CI: Set job names.

This should make it easier to identify what each job is doing when looking at the Travis or Appveyor UI.

- Set `name` for each job in Travis.
- Move `CI_JOB_NAME` to the front in Appveyor so that it appears first in the UI.
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Mar 14, 2019
CI: Set job names.

This should make it easier to identify what each job is doing when looking at the Travis or Appveyor UI.

- Set `name` for each job in Travis.
- Move `CI_JOB_NAME` to the front in Appveyor so that it appears first in the UI.
@bors
Copy link
Contributor

bors commented Mar 16, 2019

☔ The latest upstream changes (presumably #59226) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 16, 2019
This should make it easier to identify what each job is doing when looking at the Travis or Appveyor UI.

- Set `name` for each job in Travis.
- Move `CI_JOB_NAME` to the front in Appveyor so that it appears first in the UI.
@pietroalbini
Copy link
Member

@bors r=alexcrichton

@bors
Copy link
Contributor

bors commented Mar 16, 2019

📌 Commit 2070414 has been approved by alexcrichton

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 16, 2019
kennytm added a commit to kennytm/rust that referenced this pull request Mar 19, 2019
CI: Set job names.

This should make it easier to identify what each job is doing when looking at the Travis or Appveyor UI.

- Set `name` for each job in Travis.
- Move `CI_JOB_NAME` to the front in Appveyor so that it appears first in the UI.
bors added a commit that referenced this pull request Mar 20, 2019
Rollup of 5 pull requests (all of which changes `src/ci/docker`)

Successful merges:

 - #58986 ([CI] Update binutils for powerpc64 and powerpc64le)
 - #59038 (Track embedded-book in the toolstate)
 - #59055 (CI: Set job names.)
 - #59253 (Calculate Docker cache hash precisely from Dockerfile's dependencies)
 - #59257 (Update CI configuration for building Redox libraries)

Failed merges:

r? @ghost
@bors bors merged commit 2070414 into rust-lang:master Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants