Skip to content

Instantly share code, notes, and snippets.

@ericbaranowski
Created June 5, 2019 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericbaranowski/8c2f3fc1911b77b1498a7a407c57093b to your computer and use it in GitHub Desktop.
Save ericbaranowski/8c2f3fc1911b77b1498a7a407c57093b to your computer and use it in GitHub Desktop.
os: darwin
metadata:
name: Recipe
description: Recipe Description
stages:
- metadata:
name: Stage 1
description: Stage 1 description
url: https://stage1.example.com
steps:
- metadata:
name: Step 1
url: https://step1.stage1.example.com
execute:
run: echo "Step 1 of Stage 1"
rollback:
run: echo "Rollback of Step 1 of Stage 1"
- metadata:
name: Step 2
url: https://step2.stage1.example.com
execute:
run: echo "Step 2 of Stage 1"
rollback:
run: echo "Rollback of Step 2 of Stage 1"
- metadata:
name: Stage 2
description: Stage 2 description
url: https://stage2.example.com
steps:
- metadata:
name: Step 1
url: https://step1.stage2.example.com
execute:
run: echo "Step 1 of Stage 1"
shell: sh
rollback:
run: echo "Rollback of Step 1 of Stage 2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment