#Execute repo sync and run vesta-300-developer build
stages:
  - setup
  - build
  - shutdown

setup:
  stage: setup
  only: 
    - master
  script:
  - docker start vesta-builds

build:
  stage: build
  only: 
    - master
  script:
  - docker exec -i vesta-builds bash < build.sh

shutdown:
  stage: shutdown
  only: 
    - master
  script:
  - docker stop vesta-builds