Skip to content

Instantly share code, notes, and snippets.

@jonmorehouse
Created October 11, 2023 00:17
Show Gist options
  • Save jonmorehouse/c1c346b4ebc27f0e6dd73172b6053f5e to your computer and use it in GitHub Desktop.
Save jonmorehouse/c1c346b4ebc27f0e6dd73172b6053f5e to your computer and use it in GitHub Desktop.
---
key_stroke_delay: 50ms
command_delay: 200ms
terminal: ~/nuon $
env_vars:
WHATEVER: VALUE-TEST
steps:
- name: "install nuon"
display_cmd: /bin/bash -c "$(curl -fsSL https://nuon-artifacts.s3.us-west-2.amazonaws.com/cli/install.sh)"
cmd:
- bash
- ~/nuon/mono/exp/demo-scripts/install-cli.sh
- name: curl a live install application
cmd:
- curl
- https://ctl.stage.nuon.co/livez
- name: show all installs of app
display_cmd: nuon installs list
cmd:
- nuon
- -f ~/.seed.yml
- installs
- list
- name: discuss application architecture
display_cmd: browse mono repo
cmd:
- open
- https://github.com/powertoolsdev/mono/tree/main/services/e2e
- name: application is modeled using nuon components
display_cmd: nuon components list
cmd:
- nuon
- -f ~/.seed.yml
- components
- list
# terraform component
- name: terraform component
display_cmd: nuon components get -c e2e_infra
cmd:
- nuon
- components
- get
- -c e2e_infra
- name: terraform component code
cmd:
- vim
- ~/nuon/mono/services/e2e/nuon/component_terraform_module.tf
- name: build new changes
cmd:
- nuon
- builds
- create
- -c e2e_infra
# container component
- name: container component
cmd:
- nuon
- components
- -c e2e_external_image
- name: terraform component code
cmd:
- nvim
- ~/nuon/mono/services/e2e/nuon/component_external_image.tf
- name: build with new changes
cmd:
- nuon
- builds
- create
- -c e2e_external_image
# helm component
- name: container component
cmd:
- nuon
- components
- -c e2e_helm
- name: terraform component code
cmd:
- nvim
- ~/nuon/mono/services/e2e/nuon/component_helm_chart.tf
- name: build with new changes
cmd:
- nuon
- builds
- create
- -c e2e_helm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment