run-setup-build.yml 547 B

1234567891011121314151617181920212223242526
  1. ---
  2. # Run setup and build code
  3. - name: Creat bash profile file
  4. command: "touch /home/ubuntu/.bash_profile"
  5. - name: Run setup script
  6. command: ./setup.sh
  7. args:
  8. chdir: "{{ remote_code_path }}"
  9. - name: Build joystream node
  10. shell: . ~/.bash_profile && yarn cargo-build
  11. args:
  12. chdir: "{{ remote_code_path }}"
  13. async: 3600
  14. poll: 0
  15. register: build_result
  16. - name: Check on build async task
  17. async_status:
  18. jid: "{{ build_result.ansible_job_id }}"
  19. register: job_result
  20. until: job_result.finished
  21. retries: 36
  22. delay: 100