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

kola/harness: detect LTS major version #200

Merged
merged 1 commit into from
Aug 6, 2021
Merged

Conversation

pothos
Copy link
Member

@pothos pothos commented Aug 6, 2021

The LTS branch is flatcar-lts-MAJOR and only flatcar-MAJOR branch names
were considered which let to an invalid major version "lts" being
parsed.
Take the element after either "flatcar" or "flatcar-lts" when splitting
on "-". The full build ID is "dev-flatcar(-lts)-MAJOR-nightly-XYZ".

How to use

Testing done

Tested with a nightly build for flatcar-2955

@pothos pothos requested a review from a team August 6, 2021 10:13
@pothos pothos force-pushed the kai/lts-nightly branch 2 times, most recently from 927f7d4 to 102125e Compare August 6, 2021 10:36
@pothos
Copy link
Member Author

pothos commented Aug 6, 2021

@jepio I saw your PR too late, but took your changes now while simplifying the shell command.

The LTS branch is flatcar-lts-MAJOR and only flatcar-MAJOR branch names
were considered which let to an invalid major version "lts" being
parsed.
Take the element after either "flatcar" or "flatcar-lts" when splitting
on "-". The full build ID is "dev-flatcar(-lts)-MAJOR-nightly-XYZ".
Copy link
Member

@jepio jepio left a comment

Choose a reason for hiding this comment

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

Looks good

@pothos pothos merged commit 75978da into flatcar-master Aug 6, 2021
@pothos pothos deleted the kai/lts-nightly branch August 6, 2021 10:52
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.

2 participants