When matching a bootscript
by name, we need to take into account its architecture
#255
Closed
4 of 5 tasks
Labels
todo
region
andarchitecture
fields in cache entries (theregion
cache is for later, just create the field for now)architecture
field in cache entries when possiblescw run
(image context),scw tag --architecture
(architecture argument)), pass the architecture argument to the cache resolverowner
field, so we can filter byuser/XXX
=title
matchingXXX
andowner
= my organization id,community/XXX
= community meta organization,public/XXX
orXXX
= entity with public=True (official images/bootscripts)Note: do not create a
commercial-type
->architecture
mapping nor anarchitecture aliases
mapping, for now we need to write the exactly same architectureexample
scw run
scw run --bootscript=stable my-arm-image
: bootscript matchingstable
for the architecturearmv7l
scw run --bootscript=stable my-arm64-image
: bootscript matchingstable
for the architectureaarch64
scw run --bootscript=stable my-amd64-image
: bootscript matchingstable
for the architecturex86_64
scw tag
scw tag --arch=arm --bootscript=latest my-snapshot
: bootscript matchinglatest
for architecture armv7lscw tag --arch=x86_64 --bootscript=latest my-snapshot
: bootscript matchinglatest
for architecture x86_64scw tag --arch=arm64 --bootscript=latest my-snapshot
: bootscript matchinglatest
for architecture aarch64live example
Actually we have this error when trying to tag with a bad bootscript
The text was updated successfully, but these errors were encountered: