Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WWW changes for ChakraCore nightlies and releases #547

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
"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
4 changes: 4 additions & 0 deletions setup/www/tasks/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
- nodejs/release
- nodejs/test
- nodejs/docs
- nodejs/chakracore-nightly
- nodejs/chakracore-release
- iojs/next-nightly
- iojs/nightly
- iojs/rc
Expand Down Expand Up @@ -93,6 +95,8 @@
- nodejs/next-nightly
- nodejs/nightly
- nodejs/release
- nodejs/chakracore-nightly
- nodejs/chakracore-release
- iojs/custom
- iojs/next-nightly
- iojs/nightly
Expand Down
12 changes: 12 additions & 0 deletions setup/www/tools/promote/promote_nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ dstdir=$test_dstdir
dirmatch=$test_dirmatch

. ${__dirname}/_promote.sh $site

srcdir=$chakracore_nightly_srcdir
dstdir=$chakracore_nightly_dstdir
dirmatch=$chakracore_nightly_dirmatch

. ${__dirname}/_promote.sh $site

srcdir=$chakracore_release_srcdir
dstdir=$chakracore_release_dstdir
dirmatch=$chakracore_release_dirmatch

. ${__dirname}/_promote.sh $site
8 changes: 8 additions & 0 deletions setup/www/tools/promote/settings
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@ nightly_dirmatch=.*
next_nightly_srcdir=${staging_rootdir}next-nightly
next_nightly_dstdir=${dist_rootdir}next-nightly
next_nightly_dirmatch=.*

chakracore_nightly_srcdir=${staging_rootdir}chakracore-nightly
chakracore_nightly_dstdir=${dist_rootdir}chakracore-nightly
chakracore_nightly_dirmatch=.*

chakracore_release_srcdir=${staging_rootdir}chakracore-release
chakracore_release_dstdir=${dist_rootdir}chakracore-release
chakracore_release_dirmatch=.*