Polish screen casts.

Signed-off-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
Fabian Kammel 2023-02-15 13:19:38 +00:00 committed by Moritz Eckert
parent c86f8a8845
commit 1e74dfd1c4
13 changed files with 4276 additions and 7771 deletions

View file

@ -14,7 +14,7 @@ RUN curl -sLO https://dl.k8s.io/release/v1.26.0/bin/linux/amd64/kubectl &&\
RUN curl -sLO https://releases.hashicorp.com/terraform/1.3.8/terraform_1.3.8_linux_amd64.zip &&\
unzip terraform_1.3.8_linux_amd64.zip &&\
sudo install terraform /usr/local/bin/terraform && rm terraform
sudo install terraform /usr/local/bin/terraform && rm terraform terraform_1.3.8_linux_amd64.zip
RUN curl -sLO https://github.com/edgelesssys/constellation/releases/latest/download/constellation-linux-amd64 &&\
sudo install constellation-linux-amd64 /usr/local/bin/constellation &&\

View file

@ -57,6 +57,7 @@ expect_prompt
run_command "# Step 5: Check for vulnerabilities"
expect_prompt
run_command "grype constellation.spdx.sbom -o table -q"
expect_prompt
# Stop recording
send "exit"

View file

@ -19,13 +19,15 @@ proc run_command {cmd} {
}
# Start recording
spawn asciinema rec --overwrite /recordings/create-cluster.cast
spawn asciinema rec --overwrite /recordings/delete-iam.cast
send "\r"
expect_prompt
run_command "cd constellation-iam-terraform"
expect_prompt
run_command "terraform apply -destroy -auto-approve"
expect -timeout 25
run_command "# All resources are cleaned up."
# Stop recording
send "exit"

View file

@ -19,7 +19,7 @@ proc run_command {cmd} {
}
# Start recording
spawn asciinema rec --overwrite /recordings/create-cluster.cast
spawn asciinema rec --overwrite /recordings/terminate-cluster.cast
send "\r"
expect_prompt