Skip to content

gitlab: push public key to mirror after signing specs#35409

Closed
scottwittenburg wants to merge 1 commit intospack:developfrom
scottwittenburg:gitlab-push-public-key
Closed

gitlab: push public key to mirror after signing specs#35409
scottwittenburg wants to merge 1 commit intospack:developfrom
scottwittenburg:gitlab-push-public-key

Conversation

@scottwittenburg
Copy link
Copy Markdown
Contributor

Assuming we can have the signing job export the public part of the reputational signing key, here, this change will make sure that public key is placed into the expected location in the mirror after the signing script finishes.

Since pipelines follow up the signing job with a rebuild index job, which notably includes the --keys argument, that should take care of indexing the new key once it's in place.

@spackbot-app spackbot-app bot added core PR affects Spack core functionality gitlab Issues related to gitlab integration labels Feb 8, 2023
@scottwittenburg
Copy link
Copy Markdown
Contributor Author

@kwryankrattiger I can't wait for that boiler plate reduction PR to land and put an end to PRs like this one!

@haampie
Copy link
Copy Markdown
Member

haampie commented Feb 9, 2023

@scottwittenburg since this is not tested and won't be tested even if you drop the draft status I'm not going to backport it to 0.19.1

@haampie haampie added this to the v0.19.2 milestone Feb 9, 2023
@scottwittenburg
Copy link
Copy Markdown
Contributor Author

this is not tested and won't be tested even if you drop the draft status

Just making sure we're on the same page: you're right this won't be tested in the PR, and won't be tested until a protected pipeline runs with the change.

I'm not going to backport it to 0.19.1

I think that's fine. As I mentioned in chat, I can manually push public key anywhere we need it for the current point release.

Copy link
Copy Markdown
Contributor

@kotfic kotfic left a comment

Choose a reason for hiding this comment

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

LGTM

@scottwittenburg scottwittenburg marked this pull request as ready for review February 10, 2023 17:52
kwryankrattiger added a commit to kwryankrattiger/spack that referenced this pull request Feb 10, 2023
kwryankrattiger added a commit to kwryankrattiger/spack that referenced this pull request Feb 10, 2023
kwryankrattiger added a commit to kwryankrattiger/spack that referenced this pull request Feb 17, 2023
kwryankrattiger added a commit to kwryankrattiger/spack that referenced this pull request Feb 24, 2023
kwryankrattiger added a commit to kwryankrattiger/spack that referenced this pull request Mar 7, 2023
kwryankrattiger added a commit that referenced this pull request Mar 10, 2023
* CI configuration boilerplate reduction and refactor

Configuration:
- New notation for list concatenation (prepend/append)
- New notation for string concatenation (prepend/append)
- Break out configuration files for: ci.yaml, cdash.yaml, view.yaml
- Spack CI section refactored to improve self-consistency and
composability
  - Scripts are now lists of lists and/or lists of strings
  - Job attributes are now listed under precedence ordered list that are
  composed/merged using Spack config merge rules.
  - "service-jobs" are identified explicitly rather than as a batch

CI:
- Consolidate common, platform, and architecture configurations for all CI stacks into composable configuration files
- Make padding consistent across all stacks (256)
- Merge all package -> runner mappings to be consistent across all
stacks

Unit Test:
- Refactor CI module unit-tests for refactor configuration

Docs:
- Add docs for new notations in configuration.rst
- Rewrite docs on CI pipelines to be consistent with refactored CI
workflow

* Script verbose environ, dev bootstrap

* Port #35409
@haampie
Copy link
Copy Markdown
Member

haampie commented Apr 3, 2023

What's the status here?

@haampie haampie removed this from the v0.19.2 milestone Apr 3, 2023
jmcarcell pushed a commit to key4hep/spack that referenced this pull request Apr 13, 2023
* CI configuration boilerplate reduction and refactor

Configuration:
- New notation for list concatenation (prepend/append)
- New notation for string concatenation (prepend/append)
- Break out configuration files for: ci.yaml, cdash.yaml, view.yaml
- Spack CI section refactored to improve self-consistency and
composability
  - Scripts are now lists of lists and/or lists of strings
  - Job attributes are now listed under precedence ordered list that are
  composed/merged using Spack config merge rules.
  - "service-jobs" are identified explicitly rather than as a batch

CI:
- Consolidate common, platform, and architecture configurations for all CI stacks into composable configuration files
- Make padding consistent across all stacks (256)
- Merge all package -> runner mappings to be consistent across all
stacks

Unit Test:
- Refactor CI module unit-tests for refactor configuration

Docs:
- Add docs for new notations in configuration.rst
- Rewrite docs on CI pipelines to be consistent with refactored CI
workflow

* Script verbose environ, dev bootstrap

* Port spack#35409
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core PR affects Spack core functionality gitlab Issues related to gitlab integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants