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

ci-automation/vms: Export official release variable #989

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

pothos
Copy link
Member

@pothos pothos commented Jul 17, 2023

The official release variable is used to decide whether a build ID gets
appended to the FLATCAR_VERSION (or VERSION in os-release) or not. It
was set for the image job but not for the vms job, causing the
build_sysext script to get the build ID appended to the FLATCAR_VERSION
which causes a mismatch with the one from the image job.
Set the official release variable in the vms job as well.

How to use

Needed for the branched Alpha

Testing done

In the workspace of the vms job I ran this:

sdk@flatcar-sdk-all-3665_0_0_os-alpha-3665_0_0 ~/trunk/src/scripts $ COREOS_OFFICIAL=1 sh -c 'source ./common.sh ; echo "$FLATCAR_VERSION"'
3665.0.0
sdk@flatcar-sdk-all-3665_0_0_os-alpha-3665_0_0 ~/trunk/src/scripts $ COREOS_OFFICIAL=0 sh -c 'source ./common.sh ; echo "$FLATCAR_VERSION"'
3665.0.0+2023-07-17-1517

The ci-cleanup file gets created in ci-automation/ to remove any
leftovers when a build gets stopped. Since it is in the git tree, git
status sees untracked files which is a bit confusing.
Ignore the ci-cleanup file.
The official release variable is used to decide whether a build ID gets
appended to the FLATCAR_VERSION (or VERSION in os-release) or not. It
was set for the image job but not for the vms job, causing the
build_sysext script to get the build ID appended to the FLATCAR_VERSION
which causes a mismatch with the one from the image job.
Set the official release variable in the vms job as well.
@pothos pothos merged commit 12de6d9 into main Jul 17, 2023
1 check failed
@pothos pothos deleted the kai/fix-build-sysext branch July 17, 2023 16:11
pothos added a commit that referenced this pull request Jul 17, 2023
ci-automation/vms: Export official release variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants