.semaphore/semaphore.yml in renuo-cli-1.7.3 vs .semaphore/semaphore.yml in renuo-cli-1.8.0

- old
+ new

@@ -5,35 +5,30 @@ type: e1-standard-2 os_image: ubuntu1804 auto_cancel: running: when: "true" +fail_fast: + cancel: + when: "branch != 'master'" blocks: - name: tests execution_time_limit: - minutes: 10 + minutes: 5 + dependencies: [] task: secrets: - name: renuo-cli - env_vars: - - name: RAILS_ENV - value: test prologue: commands: - checkout --use-cache - - cache restore - - gem update bundler + - source .semaphore/bin/cache_restore ruby - bundle install -j 4 --path vendor/bundle - - cache store + - source .semaphore/bin/cache_store ruby 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