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

pubsys-setup: don't require repo section if Infra.toml exists #1146

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

zmrow
Copy link
Contributor

@zmrow zmrow commented Oct 5, 2020

Issue number:
Fixes #1143

Description of changes:
Note: The indent caused whitespace changes that makes the GitHub diff hard to read. See this gist: https://gist.github.com/zmrow/56ace20e86deeaec061e60358aebddf4 for the diff without whitespace changes.

The user could have set up Infra.toml for other purposes, for example just
building images and AMIs, and they don't care about repos. In this case, we
can continue and generate role/key for them, as if there's no Infra.toml.

Testing done:

  • Tested with no Infra.toml
  • Tested with an Infra.toml without a repo section
  • Tested with an Infra.toml with a repo section

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

The user could have set up Infra.toml for other purposes, for example just
building images and AMIs, and they don't care about repos.  In this case, we
can continue and generate role/key for them, as if there's no Infra.toml.

Co-authored-by: Zac Mrowicki <[email protected]>
Co-authored-by: Tom Kirchner <[email protected]>
@zmrow zmrow requested review from tjkirch and bcressey October 5, 2020 18:42
@tjkirch tjkirch merged commit e08f394 into bottlerocket-os:develop Oct 6, 2020
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.

pubsys-setup does not ignore partial Infra.toml
4 participants