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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# SDK container env passing helpers
sdk_container/.env
sdk_container/.sdkenv
ci-cleanup.sh

# build cache / artefacts directories
__build__/
Expand Down
8 changes: 8 additions & 0 deletions ci-automation/vms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ function _vm_build_impl() {
# Keep compatibility with SDK scripts where "equinix_metal" remains unknown.
formats=$(echo "$formats" | tr ' ' '\n' | sed 's/equinix_metal/packet/g')

source sdk_lib/sdk_container_common.sh

if is_official "${vernum}"; then
export COREOS_OFFICIAL=1
else
export COREOS_OFFICIAL=0
fi

local images_in="images-in/"
local file
rm -rf "${images_in}"
Expand Down
Loading