Skip to content

Commit

Permalink
NOJIRA: Adds more timeouts to CI stages
Browse files Browse the repository at this point in the history
  • Loading branch information
avtar committed Mar 14, 2018
1 parent 2604726 commit 01e3458
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@
steps:
- name: "Create VM"
command: "DISPLAY=:0 vagrant up --provider virtualbox && npm install"
timeout_in_minutes: 15
timeout_in_minutes: 20

# Wait and make sure the VM was successfully created before proceeding. Otherwise the remaining steps will not run.
- wait

- name: "Install dependencies"
command: "vagrant ssh -c 'cd /home/vagrant/sync; npm install'"
timeout_in_minutes: 20

- name: "Build Infusion"
command: "vagrant ssh -c 'cd /home/vagrant/sync; grunt clean stylus modulefiles:all pathMap:all copy:all copy:necessities uglify:all concat:all compress:all'"
timeout_in_minutes: 20

- name: "Run tests"
command: "npm run test:vagrant"
timeout_in_minutes: 20

- name: "Destroy VM"
command: "vagrant destroy -f"
timeout_in_minutes: 5

0 comments on commit 01e3458

Please sign in to comment.