version: "v1.0" name: renuo-cli agent: machine: type: e1-standard-2 os_image: ubuntu1804 auto_cancel: running: when: "true" blocks: - name: tests execution_time_limit: minutes: 10 task: secrets: - name: renuo-cli env_vars: - name: RAILS_ENV value: test prologue: commands: - checkout --use-cache - cache restore - gem update bundler - bundle install -j 4 --path vendor/bundle - cache store jobs: - name: tests commands: - bin/check epilogue: on_fail: commands: - artifact push job --expire-in 2w log/test.log - artifact push job --expire-in 2w tmp/screenshots promotions: - name: master pipeline_file: master-deploy.yml