#deployment #pack #build #make

bin+lib assemble

assemble following a set of defined instructions in a YAML file

3 releases

0.1.2 May 15, 2020
0.1.1 May 11, 2020
0.1.0 May 8, 2020

#24 in #pack

BSD-3-Clause

10KB
184 lines

assemble

crates.io Build Status

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>

Dependencies

~16MB
~354K SLoC