Gyh's Braindump

BONES CLI

A tool used to produce new services using AWS resources (Lambda, S3, ECS Fargate, etc.)

  1. get ready to use

      toolbox install ada
      toolbox install bones
    
  2. Configure Brazil Edge Cache https://builderhub.corp.amazon.com/docs/bt101-build-service.html#ensure-that-your-brazil-edge-cache-is-properly-configured

  3. begin creation

       bones --new
    
  4. enable pipeline

  5. create a Brazil workspace

    brazil workspace create --root BT101

  6. set a version set for the workspace

    BONES CLI will create a version set.

  7. create Brazil packages inside the workspace

    brazil ws use --package "package name"

  8. build Brazil packages

    wait after pipeline finished

    • update version set to the latest: brazil ws sync --metadata
    • build: brazil-build
    • build and test: brazil-build test
    • build, test, style checks and all things: brazil-build release
  9. clean up services

    https://builderhub.corp.amazon.com/docs/bt101-cleanup.html