Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

platform: Drop checks for OS IDs #920

Closed
wants to merge 1 commit into from

Conversation

cgwalters
Copy link
Member

This way if someone uses e.g. -b rhcos, we will believe them and
try. Theoretically for example Flatcar should have its own OS ID
and set ID_LIKE=coreos or so - in general we should also support
ID_LIKE but that's a distinct path.

cgwalters added a commit to cgwalters/coreos-assembler that referenced this pull request Sep 21, 2018
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

For now we hardcode `-b rhcos`...but that should change.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
Copy link
Contributor

@ajeddeloh ajeddeloh left a comment

Choose a reason for hiding this comment

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

Curious what @bgilbert thinks, but lgtm. I asked crawford if there was any history here and he said no. I don't see a good reason for kola to care what it's testing. I suspect it was just a check to make sure if you fat-fingered the ami ID or selected the wrong OS you wouldn't waste time/resources, but that's moot now that there are multiple valid things to test.

Probably drop the comment? It seems like a comment we wouldn't want forever and I don't see a whole lot of good keeping it around for a while.

This way if someone uses e.g. `-b rhcos`, we will believe them and
try.  Theoretically for example Flatcar should have its own OS ID
and set `ID_LIKE=coreos` or so - in general we should also support
`ID_LIKE` but that's a distinct path.
@cgwalters
Copy link
Member Author

OK, now with no comment.

@bgilbert
Copy link
Contributor

This is okay, but I'd rather have the safety check for the reasons @ajeddeloh mentioned. Could we go ahead and add the additional case for FCOS?

@cgwalters cgwalters closed this Oct 19, 2018
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 24, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

For now we hardcode `-b rhcos`...but that should change.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 24, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 24, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 24, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 24, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 24, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to jlebon/coreos-assembler that referenced this pull request May 25, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 28, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 29, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
jlebon pushed a commit to cgwalters/coreos-assembler that referenced this pull request May 29, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
dustymabe pushed a commit to coreos/coreos-assembler that referenced this pull request May 29, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
ashcrow pushed a commit to ashcrow/coreos-assembler that referenced this pull request May 30, 2019
This is the first place we're wrapping mantle via our
main entrypoint, and hopefully we'll increase that.

Example usage: `coreos-assembler kola run rhcos.basic`.

Requires: coreos/mantle#920
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants