provide commands for all new image schemas (#363)

* provide commands for all new image schemas
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
Fabian Kammel 2022-08-15 11:09:10 +02:00 committed by GitHub
parent 3018bfa03e
commit 97c985a7f4
2 changed files with 12 additions and 37 deletions

View file

@ -64,31 +64,6 @@ With `cdbg` and `yq` installed in your path:
6. Run `constellation init […]` as usual
### debugd GCP image
### debugd images
For GCP, run the following command to get a list of all constellation debug images, sorted by their creation date:
```shell
gcloud compute images list --filter="family~'constellation-debug-v.+'" --sort-by=creationTimestamp --project constellation-images --uri | sed 's#https://www.googleapis.com/compute/v1/##'
```
The images are grouped by the Constellation release they were built for.
Choose the newest debugd image for your release and copy the full URI.
### debugd Azure Image
Azure debug images are grouped by the Constellation release they were built for.
To get a list of available releases, run the following:
```shell
az sig image-definition list --resource-group constellation-images --gallery-name Constellation_Debug --query "[].name" -o table
```
Run the following command to get a list of all constellation debugd images for release v1.5.0, sorted by their creation date:
```shell
RELEASE=v1.5.0
az sig image-version list --resource-group constellation-images --gallery-name Constellation_Debug --gallery-image-definition ${RELEASE} --query "sort_by([], &publishingProfile.publishedDate)[].id" -o table
```
Choose the newest debugd image and copy the full URI.
For a full list of image naming conventions and how to retreive them check [image version documentation](/.github/docs/README.md#image-versions)