Skip to content

Commit

Permalink
www: start chakracore-nightly with nightly-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocgreis committed Jun 13, 2017
1 parent e450100 commit c3525ef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions setup/www/resources/config/nightly-builder-chakracore.json.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"jenkinsToken": "{{ jenkins_token }}",
"jenkinsJobUrl": "https://ci-release.nodejs.org/job/node-chakracore-nightly",
"jenkinsCrumbUrl": "https://ci-release.nodejs.org/crumbIssuer/api/json",
"githubAuthUser": "{{ github_auth_user }}",
"githubAuthToken": "{{ github_auth_token }}",
"githubOrg": "nodejs",
"githubRepo": "node-chakracore",
"githubScheme": "https://github.com/",
"urlTypePrefix": "chakracore-"
}
9 changes: 9 additions & 0 deletions setup/www/tasks/tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
mode: 0644
tags: nightly-builder

- name: nightly-builder-chakracore | Copy config
template:
src: ./resources/config/nightly-builder-chakracore.json.j2
dest: /etc/nightly-builder-chakracore.json
mode: 0644
tags: nightly-builder

#TODO: the branches are hardwired here, they should be in vars somewhere
- name: tools | Add periodic tasks to crontab
lineinfile:
Expand All @@ -26,5 +33,7 @@
- '0 20 * * * dist /usr/bin/nodejs-nightly-builder --type nightly --ref heads/v6.x --config /etc/nightly-builder.json'
- '0 19 * * * dist /usr/bin/nodejs-nightly-builder --type nightly --ref heads/v7.x --config /etc/nightly-builder.json'
- '0 18 * * * dist /usr/bin/nodejs-nightly-builder --type nightly --ref heads/master --config /etc/nightly-builder.json'
- '0 11 * * * dist /usr/bin/nodejs-nightly-builder --type nightly --ref heads/v8.x --config /etc/nightly-builder-chakracore.json'
- '0 10 * * * dist /usr/bin/nodejs-nightly-builder --type nightly --ref heads/master --config /etc/nightly-builder-chakracore.json'
- '1 0 * * * root npm update -g nodejs-latest-linker nodejs-dist-indexer nodejs-nightly-builder >& /dev/null'
tags: tools

0 comments on commit c3525ef

Please sign in to comment.