Crates.io | assemble |
lib.rs | assemble |
version | 0.1.2 |
source | src |
created_at | 2020-05-08 21:12:39.4387 |
updated_at | 2020-05-15 23:33:49.832817 |
description | assemble following a set of defined instructions in a YAML file |
homepage | https://github.com/nbari/assemble |
repository | https://github.com/nbari/assemble |
max_upload_size | |
id | 239011 |
size | 23,723 |
build
& deploy
following a set of defined instructions in a YAML file asm.yml
The asm.yml
file:
---
name: <name of the deployment>
version: <commit or date in ISO 8601>
env: # key-value environment variables
KEY: <value>
build: # list of steps to do in order
- <shell command to run>
- name: <name of the step>
do: <shell command to run>
get: <s3/name/commit/item>
put: <s3/name/commit/item>
deploy: # steps for deploying
- name: <name of the step>
do: <shell command to run>
get: <s3/name/version/item>
put: <s3/name/version/item>
# list of supported storage types
# needs to support get/put
storage:
- type: <type like s3>
key: <value>