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

Store repos under repo name so you can build multiple #1135

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

zmrow
Copy link
Contributor

@zmrow zmrow commented Sep 28, 2020

Description of changes:
While testing #1133 we found that building multiple repos defined in Infra.toml wouldn't work because the path didn't include the repo name, causing a conflict. You had to delete directories from previous repo builds even though they're unrelated. This change separates created repos using their names.

Testing done:
Built 2 repos with different names and saw the latest links pointing the

build/repos/
├── default
│   ├── bottlerocket-1.0.1-dafe3b16-dirty
│   │   ├── aws-k8s-1.17
...
│   └── latest -> bottlerocket-1.0.1-dafe3b16-dirty
└── default2
    ├── bottlerocket-1.0.1-dafe3b16-dirty
    │   ├── aws-k8s-1.17
...
    └── latest -> bottlerocket-1.0.1-dafe3b16-dirty

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.

Co-authored-by: Zac Mrowicki <[email protected]>
Co-authored-by: Tom Kirchner <[email protected]>
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.

5 participants