mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-28 23:09:36 -04:00
docs: update asciinema videos (#2777)
This commit is contained in:
parent
d525be4a49
commit
2af34ceaf4
9 changed files with 2764 additions and 2676 deletions
|
@ -23,26 +23,21 @@ spawn asciinema rec --overwrite /recordings/create-cluster.cast
|
|||
send "\r"
|
||||
expect_prompt
|
||||
|
||||
run_command "# Step 1: Create cloud environment"
|
||||
run_command "# Step 1: Create the Constellation cluster"
|
||||
expect_prompt
|
||||
run_command "constellation create"
|
||||
run_command "constellation apply"
|
||||
expect -re "y\/n"
|
||||
send "y"
|
||||
send "\r"
|
||||
expect_prompt
|
||||
|
||||
run_command "# Step 2: Initialize Constellation"
|
||||
expect_prompt
|
||||
run_command "constellation apply"
|
||||
expect_prompt
|
||||
|
||||
run_command "# Wait for cluster to finish bootstrapping..."
|
||||
expect_prompt
|
||||
# Without a sleep we only see a single node, not 5.
|
||||
run_command "sleep 300"
|
||||
expect_prompt
|
||||
|
||||
run_command "# Step 3: Connect to Constellation"
|
||||
run_command "# Step 2: Connect to Constellation"
|
||||
expect_prompt
|
||||
run_command "export KUBECONFIG=/constellation/constellation-admin.conf"
|
||||
expect_prompt
|
||||
|
|
|
@ -23,13 +23,12 @@ spawn asciinema rec --overwrite /recordings/github-readme.cast
|
|||
send "\r"
|
||||
expect_prompt
|
||||
|
||||
run_command "constellation create"
|
||||
expect -re "y\/n"
|
||||
send "y"
|
||||
send "\r"
|
||||
run_command "constellation config generate gcp"
|
||||
expect_prompt
|
||||
run_command "constellation iam create gcp --update-config --projectID constellation-331613 --serviceAccountID constellation-demo --zone europe-west3-b -y"
|
||||
expect_prompt
|
||||
|
||||
run_command "constellation apply"
|
||||
run_command "constellation apply -y"
|
||||
expect_prompt
|
||||
|
||||
run_command "export KUBECONFIG=/constellation/constellation-admin.conf"
|
||||
|
|
|
@ -8,13 +8,6 @@
|
|||
# screenrecordings container. A full script run takes ~20min.
|
||||
#
|
||||
|
||||
# Create IAM configuration
|
||||
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
|
||||
|
||||
# Create cast
|
||||
|
@ -34,7 +27,7 @@ tail -n+2 recordings/github-readme.cast >> new_header.cast
|
|||
|
||||
# Then render cast into svg using:
|
||||
# https://github.com/nbedos/termtosvg
|
||||
termtosvg render new_header.cast readme.svg -t window-frame.svg -D 1ms
|
||||
python3 -m termtosvg render new_header.cast readme.svg -t window-frame.svg -D 1ms
|
||||
|
||||
# Copy and cleanup
|
||||
cp readme.svg ../static/img/shell-windowframe.svg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue