docs: update screencasts to use apply command (#2624)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-11-21 16:03:11 +01:00 committed by GitHub
parent 71dc5170a7
commit a6cf387a24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 2672 additions and 2661 deletions

View file

@ -9,10 +9,11 @@
#
# Create IAM configuration
pushd constellation || exit
constellation config generate gcp
constellation iam create gcp --update-config --projectID constellation-331613 --serviceAccountID constellation-demo --zone europe-west3-b --yes
popd || exit
docker run -it \
-v "${HOME}"/.config/gcloud:/root/.config/gcloud \
-v "$(pwd)"/recordings:/recordings \
-v "$(pwd)"/constellation:/constellation \
screenrecodings /scripts/configure-cluster.expect
docker build -t screenrecodings docker
@ -40,9 +41,8 @@ cp readme.svg ../static/img/shell-windowframe.svg
rm readme.svg new_header.cast
# cleanup Constellation
sudo chown -R "$USER":"$USER" ./constellation
pushd constellation || exit
constellation terminate -y
constellation iam destroy -y
rm -rf ./*
popd || exit
docker run -it \
-v "${HOME}"/.config/gcloud:/root/.config/gcloud \
-v "$(pwd)"/recordings:/recordings \
-v "$(pwd)"/constellation:/constellation \
screenrecodings /scripts/terminate-cluster.expect