Skip to content

Add demo workflow #872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 162 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
e0d4b39
Add demo workflow
osterman Dec 19, 2024
75ae8d8
Add pull request trigger
osterman Dec 19, 2024
69cb6f0
install util-linux
osterman Dec 19, 2024
9e0777a
format
osterman Dec 19, 2024
9062468
format
osterman Dec 19, 2024
2600a6f
only commit when files changes
osterman Dec 19, 2024
2bbedb9
set committer
osterman Dec 23, 2024
8a2c86e
set committer
osterman Dec 23, 2024
63c62ca
set committer
osterman Dec 23, 2024
1e55e9d
set committer
osterman Dec 23, 2024
1fe7ffa
show status of files
osterman Dec 23, 2024
e838a8a
Rename Screengrabs to tmp
osterman Dec 23, 2024
a80687a
Rename tmp to screengrabs
osterman Dec 23, 2024
1df005f
Rename screengrabs to tmp
osterman Dec 23, 2024
806317c
Rename tmp to Screengrabs
osterman Dec 23, 2024
d27fceb
install to case sensitive path
osterman Dec 23, 2024
6b30d09
add new screengrabs
osterman Dec 23, 2024
1471ae2
simplify
osterman Dec 23, 2024
e77df1d
cannot import more than one level deep
osterman Dec 23, 2024
08673a8
use git ls
osterman Dec 23, 2024
a529cea
use git ls
osterman Dec 23, 2024
3031aa0
fix jq
osterman Dec 23, 2024
4f486b1
Add vhs step
osterman Dec 23, 2024
ef49fc9
Add vhs step
osterman Dec 23, 2024
09d0558
Add vhs step
osterman Dec 23, 2024
e0b4781
test install of atmos
osterman Dec 23, 2024
e1f5109
set path
osterman Dec 23, 2024
65608d2
set path
osterman Dec 23, 2024
c22cfb8
update
osterman Dec 23, 2024
62a9a70
update demo to add docs
osterman Dec 23, 2024
957aad4
update demo to add docs
osterman Dec 23, 2024
3e92700
increase ram
osterman Dec 23, 2024
97ff562
reduce frame rate
osterman Dec 23, 2024
6f1ce5b
reduce framerate
osterman Dec 24, 2024
4d84db3
install missing dep
osterman Dec 24, 2024
f9d23b3
strip out text
osterman Dec 24, 2024
6cafabf
add bat
osterman Dec 24, 2024
df2782a
add bat
osterman Dec 24, 2024
07390f8
Merge branch 'main' into regen-screengrabs
osterman Dec 24, 2024
cb688d9
symlink bat
osterman Dec 24, 2024
bddcb50
debug hanging vhs
osterman Dec 24, 2024
513c8e2
debug hanging screengrabs
osterman Dec 24, 2024
6c63877
debug broken tapes
osterman Dec 25, 2024
81eb5ee
debug broken tapes
osterman Dec 25, 2024
aa6599d
debug vhs
osterman Dec 25, 2024
2047d8e
debug vhs
osterman Dec 25, 2024
d859b4b
debug vhs
osterman Dec 25, 2024
f161810
debug vhs
osterman Dec 25, 2024
3d15df5
debug vhs
osterman Dec 25, 2024
b868732
debug vhs
osterman Dec 25, 2024
880c3e0
debug vhs
osterman Dec 25, 2024
a1e2006
debug vhs
osterman Dec 25, 2024
3195b0a
debug vhs
osterman Dec 25, 2024
73a8c1b
debug vhs
osterman Dec 25, 2024
67e5fff
debug vhs
osterman Dec 25, 2024
5793749
debug vhs
osterman Dec 25, 2024
1339e56
debug vhs
osterman Dec 25, 2024
0ab6e38
debug vhs
osterman Dec 25, 2024
3a0dccd
debug vhs
osterman Dec 25, 2024
dedf76c
debug vhs
osterman Dec 25, 2024
ce2bff7
debug vhs
osterman Dec 25, 2024
bd5cafd
debug vhs
osterman Dec 25, 2024
1856da7
debug vhs
osterman Dec 26, 2024
33956c4
switch vhs strategy and add audio
osterman Dec 26, 2024
e7c8db4
fix truncation
osterman Dec 26, 2024
d9245a4
move assets to cloudposse-corp
osterman Dec 31, 2024
dc6a905
move assets to cloudposse-corp
osterman Dec 31, 2024
f285b78
use github app
osterman Dec 31, 2024
1dfde36
use github app
osterman Dec 31, 2024
e2b8df7
test AWS connection
osterman Jan 10, 2025
729d283
test AWS connection
osterman Jan 10, 2025
7f1243a
Add permissions to auth with OIDC
goruha Jan 10, 2025
14b38cf
Allow to create PRs
goruha Jan 10, 2025
2f932e3
test AWS connection
osterman Jan 10, 2025
100917d
test AWS connection
osterman Jan 10, 2025
ad6817f
Merge branch 'main' into regen-screengrabs
osterman Jan 10, 2025
d307e71
Merge branch 'main' into regen-screengrabs
osterman Jan 10, 2025
1879d87
fix typo
osterman Jan 10, 2025
de8ca40
too many problems
osterman Jan 10, 2025
7e23dd1
only build mp4 when tape is newer than video
osterman Jan 11, 2025
3c08575
debug commit errors
osterman Jan 11, 2025
e1031b2
fix conflict
osterman Jan 11, 2025
203fbaf
Merge branch 'main' into regen-screengrabs
osterman Jan 20, 2025
1bd1584
test fix to push PR
osterman Jan 20, 2025
96cfb63
debug hung vhs recording
osterman Jan 21, 2025
ac16b12
debug hung vhs
osterman Jan 21, 2025
1f92a8d
try to use ubuntu-24.04 to fix vhs hang
osterman Jan 21, 2025
17ae449
try ctrl+c fix
osterman Jan 21, 2025
615f847
try ctrl+c fix
osterman Jan 21, 2025
78edd0c
try ctrl+c fix and increase timeout
osterman Jan 21, 2025
83fcd04
debug vhs
osterman Jan 21, 2025
d390e67
hide ps
osterman Jan 21, 2025
c04072c
upload to s3
osterman Jan 21, 2025
8928fac
polish tapes
osterman Jan 22, 2025
801f7b6
wip
osterman Jan 24, 2025
c6665c0
backup
osterman Feb 9, 2025
11795f4
backup
osterman Feb 11, 2025
14d310f
Use run with spinner
osterman Feb 12, 2025
b82d65c
Rewrite demo generation in go
osterman Feb 12, 2025
e969089
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 12, 2025
684b6fb
Merge branch 'main' into regen-screengrabs
osterman Feb 12, 2025
5f47cfc
Merge branch 'main' into regen-screengrabs
osterman Feb 12, 2025
d42fea5
change color of blue
osterman Feb 12, 2025
7721fc7
Merge branch 'regen-screengrabs' of github.com:cloudposse/atmos into …
osterman Feb 12, 2025
84f4b76
support headless
osterman Feb 17, 2025
575ad66
test disabling input
osterman Feb 18, 2025
2a70a4d
test changing default exit code
osterman Feb 18, 2025
7264ee4
try to force no tty in bubbletea
osterman Feb 18, 2025
0d02cb3
test opts
osterman Feb 18, 2025
da46ff4
add missing styles
osterman Feb 18, 2025
e3ba3ef
degrade to headless in CI
osterman Feb 18, 2025
e95f61d
fix logical condition
osterman Feb 18, 2025
24049c6
change logic
osterman Feb 18, 2025
2d5620b
ensure we update viewport
osterman Feb 18, 2025
cbf10fa
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 18, 2025
8f1a4c8
add heartbeat
osterman Feb 18, 2025
4c779f3
Merge branch 'regen-screengrabs' of github.com:cloudposse/atmos into …
osterman Feb 18, 2025
d292ec0
emit spinner on a heartbeat for non-tty
osterman Feb 18, 2025
b5dc5d5
log status
osterman Feb 18, 2025
a030512
detach stdin
osterman Feb 18, 2025
46aa861
try tmate
osterman Feb 18, 2025
96ff9a6
explicitly detach stdin
osterman Feb 18, 2025
f5dd434
install newer version of ffmpeg and use runs-on
osterman Feb 18, 2025
3824bf5
disable runs-on
osterman Feb 18, 2025
b2cf83f
pin to new ffmpeg installer release
osterman Feb 18, 2025
40122a9
log PATH for debugging
osterman Feb 19, 2025
3f910fe
try runs on again
osterman Feb 19, 2025
d75e637
Merge branch 'main' of github.com:cloudposse/atmos into regen-screeng…
osterman Feb 19, 2025
bbce73a
try ffmpeg 7.1
osterman Feb 19, 2025
a6c21c2
increase timeout for debug
osterman May 2, 2025
35f7c7f
fix conflict
osterman May 2, 2025
a415ef0
Merge branch 'main' into regen-screengrabs
osterman May 2, 2025
9711a55
[autofix.ci] apply automated fixes
autofix-ci[bot] May 2, 2025
a9944b8
chore: bump
osterman May 2, 2025
9ddbfdd
bypass vhs action
osterman May 2, 2025
1a716c8
bypass vhs action
osterman May 2, 2025
8f20f91
bypass vhs action
osterman May 2, 2025
0c47963
bypass vhs action
osterman May 2, 2025
f7038ff
bypass vhs action
osterman May 2, 2025
157844b
bypass vhs action
osterman May 2, 2025
6abb49b
bypass vhs action
osterman May 2, 2025
3d35edf
use aqua
osterman May 2, 2025
e61fc8d
every package manager sucks
osterman May 2, 2025
4201555
every package manager sucks
osterman May 2, 2025
840284f
every package manager sucks
osterman May 2, 2025
5fda476
every package manager sucks
osterman May 2, 2025
63d9b9e
every package manager sucks
osterman May 2, 2025
f4ac942
every package manager sucks
osterman May 2, 2025
868569a
every package manager sucks
osterman May 2, 2025
dc241ce
every package manager sucks
osterman May 2, 2025
85cf37c
every package manager sucks
osterman May 2, 2025
ff9e0ee
every package manager sucks
osterman May 2, 2025
23c538c
every package manager sucks
osterman May 2, 2025
aa63caf
every package manager sucks
osterman May 2, 2025
afea056
every package manager sucks
osterman May 2, 2025
98fb4d3
every package manager sucks
osterman May 2, 2025
dd42afa
every package manager sucks
osterman May 2, 2025
cb337cd
every package manager sucks
osterman May 2, 2025
1015f73
every package manager sucks
osterman May 2, 2025
837a22c
every package manager sucks
osterman May 2, 2025
bfff424
every package manager sucks
osterman May 2, 2025
c902286
every package manager sucks
osterman May 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 122 additions & 0 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
name: Demo

on:
workflow_dispatch:
pull_request:
types: [labeled, opened, synchronize]
paths:
- ".github/workflows/demo.yml"

env:
TERM: "xterm-256color"
COLORTERM: "truecolor"
LANG: "en_US.UTF-8"
ATMOS_LOGS_LEVEL: "Info"

jobs:
prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Get Atmos version
id: get-version
run: |
VERSION=$(curl -s https://api.github.com/repos/cloudposse/atmos/releases/latest | jq -r .tag_name)
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: List all .tape files
id: list-tapes
run: |
files=$(find . -type f -name '*.tape')
echo "matrix=$(echo -n \"$files\" | jq -R -s -c 'split(\"\\n\") | map(select(. != \"\"))')" >> $GITHUB_OUTPUT

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Shield your commands from the chaos of spaces and failures!

The shell commands need additional error handling and proper quoting:

Apply these improvements:

  - name: Get Atmos version
    id: get-version
    run: |
-     VERSION=$(curl -s https://api.github.com/repos/cloudposse/atmos/releases/latest | jq -r .tag_name)
+     VERSION=$(curl -s --fail https://api.github.com/repos/cloudposse/atmos/releases/latest | jq -r .tag_name)
+     if [ -z "$VERSION" ]; then
+       echo "Failed to get Atmos version"
+       exit 1
+     fi
      echo "version=$VERSION" >> $GITHUB_OUTPUT

  - name: List all .tape files
    id: list-tapes
    run: |
-     files=$(find . -type f -name '*.tape')
-     echo "matrix=$(echo -n \"$files\" | jq -R -s -c 'split(\"\\n\") | map(select(. != \"\"))')" >> $GITHUB_OUTPUT
+     files=$(find . -type f -name '*.tape' -print0 | jq -R -s -c 'split("\u0000") | map(select(. != ""))')
+     echo "matrix=$files" >> $GITHUB_OUTPUT
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Get Atmos version
id: get-version
run: |
VERSION=$(curl -s https://api.github.com/repos/cloudposse/atmos/releases/latest | jq -r .tag_name)
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: List all .tape files
id: list-tapes
run: |
files=$(find . -type f -name '*.tape')
echo "matrix=$(echo -n \"$files\" | jq -R -s -c 'split(\"\\n\") | map(select(. != \"\"))')" >> $GITHUB_OUTPUT
- name: Get Atmos version
id: get-version
run: |
VERSION=$(curl -s --fail https://api.github.com/repos/cloudposse/atmos/releases/latest | jq -r .tag_name)
if [ -z "$VERSION" ]; then
echo "Failed to get Atmos version"
exit 1
fi
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: List all .tape files
id: list-tapes
run: |
files=$(find . -type f -name '*.tape' -print0 | jq -R -s -c 'split("\u0000") | map(select(. != ""))')
echo "matrix=$files" >> $GITHUB_OUTPUT
🧰 Tools
🪛 actionlint (1.7.4)

20-20: shellcheck reported issue in this script: SC2086:info:2:28: Double quote to prevent globbing and word splitting

(shellcheck)


26-26: shellcheck reported issue in this script: SC2086:info:2:26: Double quote to prevent globbing and word splitting

(shellcheck)


26-26: shellcheck reported issue in this script: SC2086:info:2:96: Double quote to prevent globbing and word splitting

(shellcheck)

outputs:
matrix: ${{ steps.list-tapes.outputs.matrix }}
version: ${{ steps.get-version.outputs.version }}

screengrabs:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y aha util-linux make jq

- name: Checkout repository
uses: actions/checkout@v4

- name: Install Atmos
uses: jaxxstorm/[email protected]
with:
repo: cloudposse/atmos
tag: ${{ needs.prepare.outputs.version }}
chmod: 0755
extension-matching: disable
rename-to: atmos

- name: Run make build-all install
run: |
make -C demo/screengrabs build-all install
git add -A
git status

- name: Create or update PR
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: "chore/update-build-screengrabs-for-${{ needs.prepare.outputs.version }}"
title: "Update screengrabs for ${{ needs.prepare.outputs.version }}"
delete-branch: true
sign-commits: true
commit-message: |
chore: update screengrabs for ${{ needs.prepare.outputs.version }}
body: |
This PR updates the screengrabs for Atmos version ${{ needs.prepare.outputs.version }}.
base: main
labels: "no-release"

vhs:
needs: [prepare]
runs-on: ubuntu-latest
strategy:
matrix:
file: ${{ fromJson(needs.prepare.outputs.matrix) }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.file }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4

- name: Install Atmos
uses: jaxxstorm/[email protected]
with:
repo: cloudposse/atmos
tag: ${{ needs.prepare.outputs.version }}
chmod: 0755
extension-matching: disable
rename-to: atmos

- name: Prepare variables
id: vars
run: |
VERSION="${{ needs.prepare.outputs.version }}"
JOB_NAME=$(basename "${{ matrix.file }}" | sed 's/.tape$//')
echo "version=${VERSION}" >> $GITHUB_OUTPUT
echo "job_name=${JOB_NAME}" >> $GITHUB_OUTPUT
echo "branch_name=chore/update-${JOB_NAME}-for-${VERSION}" >> $GITHUB_OUTPUT
Comment on lines +203 to +204
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Define JOB_NAME or derive it before use
JOB_NAME is never set, so job_name=${JOB_NAME} will be empty, leading to invalid branch names. For example, add at the top of this block:

run: |
  JOB_NAME="demo"
🤖 Prompt for AI Agents (early access)
In .github/workflows/demo.yml around lines 189 to 190, the variable JOB_NAME is used without being defined, causing empty values and invalid branch names. Define JOB_NAME before these lines by assigning it a value, for example, add a line like JOB_NAME="demo" at the start of the run block to ensure it is set before usage.


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Improve variable preparation robustness!

The variable preparation step needs better error handling and validation.

   - name: Prepare variables
     id: vars
     run: |
       VERSION="${{ needs.prepare.outputs.version }}"
-      JOB_NAME=$(basename "${{ matrix.file }}" | sed 's/.tape$//')
+      if [[ ! -f "${{ matrix.file }}" ]]; then
+        echo "Tape file not found: ${{ matrix.file }}"
+        exit 1
+      fi
+      JOB_NAME=$(basename "${{ matrix.file }}" .tape)
+      if [[ -z "$JOB_NAME" ]]; then
+        echo "Failed to extract job name"
+        exit 1
+      fi
-      echo "version=${VERSION}" >> $GITHUB_OUTPUT
-      echo "job_name=${JOB_NAME}" >> $GITHUB_OUTPUT
-      echo "branch_name=chore/update-${JOB_NAME}-for-${VERSION}" >> $GITHUB_OUTPUT
+      {
+        echo "version=${VERSION}"
+        echo "job_name=${JOB_NAME}"
+        echo "branch_name=chore/update-${JOB_NAME}-for-${VERSION}"
+      } >> "$GITHUB_OUTPUT"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Prepare variables
id: vars
run: |
VERSION="${{ needs.prepare.outputs.version }}"
JOB_NAME=$(basename "${{ matrix.file }}" | sed 's/.tape$//')
echo "version=${VERSION}" >> $GITHUB_OUTPUT
echo "job_name=${JOB_NAME}" >> $GITHUB_OUTPUT
echo "branch_name=chore/update-${JOB_NAME}-for-${VERSION}" >> $GITHUB_OUTPUT
- name: Prepare variables
id: vars
run: |
VERSION="${{ needs.prepare.outputs.version }}"
if [[ ! -f "${{ matrix.file }}" ]]; then
echo "Tape file not found: ${{ matrix.file }}"
exit 1
fi
JOB_NAME=$(basename "${{ matrix.file }}" .tape)
if [[ -z "$JOB_NAME" ]]; then
echo "Failed to extract job name"
exit 1
fi
{
echo "version=${VERSION}"
echo "job_name=${JOB_NAME}"
echo "branch_name=chore/update-${JOB_NAME}-for-${VERSION}"
} >> "$GITHUB_OUTPUT"
🧰 Tools
🪛 actionlint (1.7.4)

109-109: shellcheck reported issue in this script: SC2129:style:3:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects

(shellcheck)


109-109: shellcheck reported issue in this script: SC2086:info:3:30: Double quote to prevent globbing and word splitting

(shellcheck)


109-109: shellcheck reported issue in this script: SC2086:info:4:32: Double quote to prevent globbing and word splitting

(shellcheck)


109-109: shellcheck reported issue in this script: SC2086:info:5:63: Double quote to prevent globbing and word splitting

(shellcheck)

- name: Create or update PR
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ steps.vars.outputs.branch_name }}
sign-commits: true
commit-message: |
chore: update ${{ steps.vars.outputs.job_name }} for ${{ steps.vars.outputs.version }}
title: Update ${{ steps.vars.outputs.job_name }} for ${{ steps.vars.outputs.version }}
body: |
This PR updates the demo gif for ${{ steps.vars.outputs.job_name }} with Atmos version ${{ steps.vars.outputs.version }}.
base: main
labels: no-release
102 changes: 0 additions & 102 deletions .github/workflows/vhs.yaml

This file was deleted.

22 changes: 22 additions & 0 deletions demo/defaults.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# VHS Defaults for Recordings and Screenshots

Set Theme "Monokai Vivid"

Set FontFamily "FiraCode Nerd Font"
#Set FontFamily "Hack Nerd Font"
Set FontSize 14

Set TypingSpeed 40ms

Set WindowBar Colorful

Set BorderRadius 8

Set Margin 0

Set Padding 10

Set Width 1400
Set Height 800

Set Shell "bash"
93 changes: 93 additions & 0 deletions demo/recordings/demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Demo of Atmos
Source style.tape

Output ../../docs/demo.gif

Sleep 500ms
Type "# First check you have Atmos installed" Sleep 500ms Enter
Type "atmos version" Sleep 500ms Enter
Sleep 1s

Type "# Now let's explore the Quick Start example" Sleep 500ms Enter
Type "cd examples/quick-start-advanced" Sleep 500ms Enter

Type "ls -al --color=force" Sleep 500ms Enter
Sleep 1s

Type "# We will start by installing some 3rd-party components and other artifacts..." Sleep 500ms Enter
Type "atmos vendor pull" Sleep 500ms Enter
Sleep 8s

Type "# In Atmos you can easily explore components, stacks, and run commands..." Sleep 500ms Enter
Type "atmos" Sleep 500ms Enter
Sleep 2s
Down Sleep 500ms
Down Sleep 500ms
Up Sleep 500ms
Up Sleep 500ms
Up Sleep 500ms
Up Sleep 500ms
Up Sleep 1s
Right Sleep 1s
Down Sleep 500ms
Right Sleep 1s
Down Sleep 500ms
Up Sleep 1s
Enter
Sleep 1s

Type "# Let's see what components we have available!" Sleep 500ms Enter
Type "atmos list components" Sleep 500ms Enter
Sleep 1s

Type "# Let's see where they can be deployed" Sleep 500ms Enter
Type "atmos list stacks" Sleep 500ms Enter
Sleep 2s

Type "# Let's validate the stack configurations" Sleep 500ms Enter
Type "atmos validate stacks" Sleep 500ms Enter
Sleep 2s

Type "# Let's review the production VPC configuration in the us-east-2 region..." Sleep 500ms Enter
Type "atmos describe stacks --components=vpc --stack=plat-ue2-prod --sections=vars" Sleep 500ms Enter
Sleep 2s

Type "# Or checkout all VPCs" Sleep 500ms Enter
Type "atmos describe stacks --components=vpc --sections=vars | less" Sleep 500ms Enter
Sleep 1s

Down 25 Sleep 500ms
Down 25 Sleep 500ms
Down 25 Sleep 500ms
Down 25 Sleep 500ms

Type "q" Sleep 500ms
Sleep 1s

Type "# In Atmos you can easily explore workflows and execute workflow commands..." Sleep 500ms Enter
Type "atmos workflow" Sleep 500ms Enter
Sleep 2s
Down Sleep 500ms
Right Sleep 500ms
Down Sleep 500ms
Right Sleep 500ms
Down Sleep 500ms
Down Sleep 500ms
Up Sleep 500ms
Up Sleep 500ms
Enter
Sleep 3s

Type "# Atmos has a lot of documented commands" Sleep 500ms Enter
Type "atmos --help" Sleep 500ms Enter
Sleep 3s

Type "# Atmos has native workflows for Terraform" Sleep 500ms Enter
Type "atmos terraform --help" Sleep 500ms Enter
Sleep 5s

Type "# Check out the docs at https://atmos.tools/" Sleep 500ms Enter
Sleep 2s

Type "# or join us in #atmos at https://slack.cloudposse.com!" Sleep 500ms Enter
Sleep 3s
36 changes: 36 additions & 0 deletions demo/recordings/style.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# VHS Defaults

Set Theme "Monokai Vivid"

Set FontFamily "FiraCode Nerd Font"
#Set FontFamily "Hack Nerd Font"
Set FontSize 14

Set TypingSpeed 40ms

Set WindowBar Colorful

Set BorderRadius 8

Set Margin 0

Set Padding 10

Set Width 1400
Set Height 800

Set Shell "bash"

# VHS Defaults for Recordings

Set Framerate 30
Set CursorBlink true
Set Margin 20
Set MarginFill "#674EFF"

Set Width 1400
Set Height 800

Set PlaybackSpeed 1

Set Framerate 30
4 changes: 2 additions & 2 deletions demo/screengrabs/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
INSTALL_PATH ?= ../../website/src/components/screengrabs
INSTALL_PATH ?= ../../website/src/components/Screengrabs
all: build-all install

# Write to /website/static/screengrab/
install:
install:
@echo "Installing screengrabs to $(INSTALL_PATH)"
@mkdir -p $(INSTALL_PATH)
@cp -a artifacts/* $(INSTALL_PATH)
Expand Down
Loading
Loading