mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: change gcp image and image family names
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
00ca87a7ec
commit
6a20d18082
13
.github/actions/os_build_variables/action.yml
vendored
13
.github/actions/os_build_variables/action.yml
vendored
@ -261,20 +261,13 @@ runs:
|
|||||||
echo "rawImagePath=${basePath}/mkosi.output.gcp/fedora~37/image.raw" >> $GITHUB_OUTPUT
|
echo "rawImagePath=${basePath}/mkosi.output.gcp/fedora~37/image.raw" >> $GITHUB_OUTPUT
|
||||||
echo "imagePath=${basePath}/mkosi.output.gcp/fedora~37/image.tar.gz" >> $GITHUB_OUTPUT
|
echo "imagePath=${basePath}/mkosi.output.gcp/fedora~37/image.tar.gz" >> $GITHUB_OUTPUT
|
||||||
echo "jsonOutput=${basePath}/mkosi.output.gcp/fedora~37/image-upload.json" >> $GITHUB_OUTPUT
|
echo "jsonOutput=${basePath}/mkosi.output.gcp/fedora~37/image-upload.json" >> $GITHUB_OUTPUT
|
||||||
|
echo "imageName=constellation-${imageVersion//./-}" >> $GITHUB_OUTPUT
|
||||||
|
echo "imageFilename=constellation-${imageVersion//./-}.tar.gz" >> $GITHUB_OUTPUT
|
||||||
if [[ "${stream}" = "stable" ]]
|
if [[ "${stream}" = "stable" ]]
|
||||||
then
|
then
|
||||||
echo "imageName=constellation-${imageVersion//./-}" >> $GITHUB_OUTPUT
|
|
||||||
echo "imageFilename=constellation-${imageVersion//./-}.tar.gz" >> $GITHUB_OUTPUT
|
|
||||||
echo "imageFamily=constellation" >> $GITHUB_OUTPUT
|
echo "imageFamily=constellation" >> $GITHUB_OUTPUT
|
||||||
elif [[ "${imageType}" = "debug" && ( "${ref}" = "-" || "${ref}" = "main" ) ]]
|
|
||||||
then
|
|
||||||
echo "imageName=constellation-${ref}-${stream}-${timestamp}" >> $GITHUB_OUTPUT
|
|
||||||
echo "imageFilename=constellation-${ref}-${stream}-${timestamp}.tar.gz" >> $GITHUB_OUTPUT
|
|
||||||
echo "imageFamily=constellation-debug-${semver//./-}" >> $GITHUB_OUTPUT
|
|
||||||
else
|
else
|
||||||
echo "imageName=constellation-${ref}-${stream}-${timestamp}" >> $GITHUB_OUTPUT
|
echo "imageFamily=constellation-${ref::45}" >> $GITHUB_OUTPUT
|
||||||
echo "imageFilename=constellation-${ref}-${stream}-${timestamp}.tar.gz" >> $GITHUB_OUTPUT
|
|
||||||
echo "imageFamily=constellation-${ref}" >> $GITHUB_OUTPUT
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Configure QEMU input variables
|
- name: Configure QEMU input variables
|
||||||
|
4
.github/workflows/build-os-image.yml
vendored
4
.github/workflows/build-os-image.yml
vendored
@ -720,13 +720,13 @@ jobs:
|
|||||||
"lookup-table.json" \
|
"lookup-table.json" \
|
||||||
"s3://cdn-constellation-backend/${{ needs.build-settings.outputs.imageApiBasePath }}/info.json" \
|
"s3://cdn-constellation-backend/${{ needs.build-settings.outputs.imageApiBasePath }}/info.json" \
|
||||||
--no-progress
|
--no-progress
|
||||||
(
|
{
|
||||||
echo -e "Image version ([Lookup table](https://cdn.confidential.cloud/${{ needs.build-settings.outputs.imageApiBasePath }}/info.json)):"
|
echo -e "Image version ([Lookup table](https://cdn.confidential.cloud/${{ needs.build-settings.outputs.imageApiBasePath }}/info.json)):"
|
||||||
echo
|
echo
|
||||||
echo -e "\`\`\`"
|
echo -e "\`\`\`"
|
||||||
echo "${{ needs.build-settings.outputs.imageNameShort }}"
|
echo "${{ needs.build-settings.outputs.imageNameShort }}"
|
||||||
echo -e "\`\`\`"
|
echo -e "\`\`\`"
|
||||||
) >> "$GITHUB_STEP_SUMMARY"
|
} >> "$GITHUB_STEP_SUMMARY"
|
||||||
|
|
||||||
add-version-to-versionsapi:
|
add-version-to-versionsapi:
|
||||||
needs: [upload-image-lookup-table, build-settings]
|
needs: [upload-image-lookup-table, build-settings]
|
||||||
|
Loading…
Reference in New Issue
Block a user