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

gitlab ci: Better tagging of "service" jobs #36846

Conversation

scottwittenburg
Copy link
Contributor

@scottwittenburg scottwittenburg commented Apr 13, 2023

Until now, gitlab ci relied on service jobs (noop, cleanup, and reindex) to have the "public" tag to avoid being run on the signing runner or the gpu runners at UO. But after the ci boiler plate reduction PR, we can no longer use the reserved tags ("public", "protected", and "notary") in that way. This is fine because that wasn't really a good approach anyway.

Now the "service" tag has been added to some of the cheaper or more highly available runners (see here), and the goal of this PR is to use those runners for these jobs.

Here is an example of a reindex-job that ran on the signing runner and failed because that runner only allows the use of one particular image.

  • Tag non-rebuild jobs to target a cheaper (and more highly available) subset of runners.
  • Add missing resource requests to these jobs as well.

@spackbot-app spackbot-app bot added commands core PR affects Spack core functionality gitlab Issues related to gitlab integration tests General test capability(ies) labels Apr 13, 2023
Copy link
Contributor

@kwryankrattiger kwryankrattiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @scottwittenburg !

- Tag non-rebuild jobs to target a cheaper (and more highly available)
subset of runners.

- Add missing resource requests to these jobs as well.
@eugeneswalker
Copy link
Contributor

OK to merge?

@scottwittenburg scottwittenburg merged commit bfa94c5 into spack:develop Apr 14, 2023
@scottwittenburg scottwittenburg deleted the more-specific-tags-for-service-jobs branch April 14, 2023 15:03
RikkiButler20 pushed a commit to RikkiButler20/spack that referenced this pull request Apr 25, 2023
- Tag non-rebuild jobs to target a cheaper (and more highly available)
subset of runners.

- Add missing resource requests to these jobs as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commands core PR affects Spack core functionality gitlab Issues related to gitlab integration tests General test capability(ies)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants