build-code.yml 359 B

1234567891011121314
  1. ---
  2. - name: Get latest Joystream code and build it
  3. hosts: all
  4. tasks:
  5. - name: Get code from local or git repo
  6. include_role:
  7. name: common
  8. tasks_from: "{{ 'get-code-local' if build_local_code|bool else 'get-code-git' }}"
  9. - name: Run setup and build
  10. include_role:
  11. name: common
  12. tasks_from: run-setup-build