diff --git a/ui/.taskcluster.yml b/ui/.taskcluster.yml new file mode 100644 index 0000000000..40cf89b934 --- /dev/null +++ b/ui/.taskcluster.yml @@ -0,0 +1,27 @@ +version: 0 +metadata: + name: Balrog UI Task Graph + description: Balrog UI + owner: "{{ event.head.user.email }}" + source: "{{ event.head.repo.url }}" +tasks: + - provisionerId: "{{ taskcluster.docker.provisionerId }}" + workerType: "{{ taskcluster.docker.workerType }}" + payload: + maxRunTime: 1200 + image: "bhearsum/lineman-docker" + command: + - "/bin/bash" + - "-c" + - "git clone $GITHUB_HEAD_REPO_URL && cd balrog-ui && git checkout $GITHUB_HEAD_BRANCH && npm install && npm install -g lineman && lineman spec-ci" + extra: + github: + env: true + events: + - push + - pull_request.* + metadata: + name: Balrog UI Pull Request + description: Pull Request + owner: "{{ event.head.user.email }}" + source: "{{ event.head.repo.url }}" diff --git a/ui/.travis.yml b/ui/.travis.yml deleted file mode 100644 index 70e57ea362..0000000000 --- a/ui/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -language: node_js -node_js: -- 0.10 -script: "lineman spec-ci" - -# currently cannot customise per user fork, see: -# https://github.com/travis-ci/travis-ci/issues/1094 -# please comment out this section in your personal fork! -notifications: - irc: - channels: - - "irc.mozilla.org#balrog" - on_success: always - on_failure: always - template: - - "\x02%{repository}\x0314#%{build_number}\x03\x02 (%{branch} - %{commit} : %{author}): \x02\x0312%{message}\x02\x03" - - "\x02Change view\x02 : \x0314%{compare_url}\x03" - - "\x02Build details\x02 : \x0314%{build_url}\x03" - - "\x02Commit message\x02 : \x0314%{commit_message}\x03"