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: support nightly version in version comparisons #198

Merged
merged 2 commits into from
Aug 2, 2021

Conversation

pothos
Copy link
Member

@pothos pothos commented Aug 2, 2021

  • kola: support nightly version in version comparions

    The nightly version is the build date but the build ID has the branch
    reference. To support the version comparion for nightly builds we need
    to generate a version for the "main" branch and the major version
    branches that is higher than the current release version.

    Use 999999.99.99 as version in the semantic version checks for nightly
    builds from the "main" branch or custom dev builds and use MAJOR.99.99
    as version for nightly builds from the release branch.

  • kola/tests/misc/verity: run test based on major version

How to use

Testing done

$ sudo ./kola run  -k --keys --key ~/.ssh/id_rsa.pub --board=amd64-usr --channel=alpha --parallel=1 --platform=qemu    --qemu-image=flatcar_production_image.bin
2021-08-02T15:25:15Z kola: Using "999999.99.99" as version to filter tests...
=== RUN   cl.network.initramfs.second-boot
[…]

kola/harness.go Outdated Show resolved Hide resolved
@pothos pothos force-pushed the kai/kola-minimum-version branch 3 times, most recently from e0ad4a1 to 7ce6af4 Compare August 2, 2021 15:28
@pothos pothos requested a review from a team August 2, 2021 15:36
@pothos pothos marked this pull request as ready for review August 2, 2021 15:36
@tormath1 tormath1 changed the title kola: support nightly version in version comparions kola: support nightly version in version comparisons Aug 2, 2021
The nightly version is the build date but the build ID has the branch
reference. To support the version comparion for nightly builds we need
to generate a version for the "main" branch and the major version
branches that is higher than the current release version.

Use 999999.99.99 as version in the semantic version checks for nightly
builds from the "main" branch or custom dev builds and use MAJOR.99.99
as version for nightly builds from the release branch.
@pothos pothos merged commit 2e3f6af into flatcar-master Aug 2, 2021
@pothos pothos deleted the kai/kola-minimum-version branch August 2, 2021 19:53
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.

3 participants