-
Notifications
You must be signed in to change notification settings - Fork 167
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
[WIP] Cleaning up the www setup to match production #54
Conversation
- Detected if dhparam.pem exists, saving a boatload of time - adding a bunch of paths into the app from /home/dist
- Also sets up authorized_keys for staging, dist - Includes setting up the id_rsa and id_rsa.pub keys in .ssh
with_items: | ||
- "{{ server_user }}" | ||
- "{{ staging_user }}" | ||
- "{{ dist_user }}" |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
||
- name: Configure | setup cron for download-stats | ||
cron: name="update_download_stats" minute="30" hour="1" job="/home/iojs/update-download-stats.sh" user="root" | ||
tags: setup |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This is getting close, but I'm unable to find |
Additional open questions:
|
Reminder @rvagg that I'm blocked on finishing this without some input. |
Really sorry @kenperkins, I'm a terrible bottle-neck for these things, way too overloaded. Trying to get on top of some of these things now. What is /root/mkdldtxt.sh?An initial version of what's in What is /root/countdldtxt.shPart of the above, redundant now too. There were two scripts to do the job that one is now doing. Who is responsible to create /home/dist/public and /home/dist/public-test directories?The promote script(s) are responsible for What is /home/dist/dist-indexer/ls-types.js?What is /home/dist/dist-indexer/transform-filename.js?Parts of dist-indexer https://github.com/iojs/build/tree/master/tools/dist/dist-indexer, but also:
What are all of the files in /home/staging/promote?I've put them in a PR including a README, see #76 and note that they are also invoked by scripts in Who creates /home/staging/staging directory?It should be created by server setup. Each of the release build slaves has a jenkins config which makes it |
Wow, it's like Christmas morning! Thanks @rvagg I'll try to resurrect this as soon as I can find some engineering time. |
This unfortunately looks stale. Going to close it but feel free to reopen with a rebased version seeing how a lot of the changes has gone in one way or the other. |
This is a work in progress; the plan is to get the anisble playbook up to date with production such that we can re-build an identical box in moments should the need arise.
dist
andstaging
usersdist-indexer
andnpm install
in/home/dist/dist-indexer
promote_nightly.sh
into/home/staging/promote/
update-download-stats.sh
into/home/iojs
Current Changes
dhparam.pem
exists, saving a boatload of time/home/dist
authorized_keys
memberauthorized_keys
setup to be a bit cleanerdist
,staging
users with ssh keyspromote_nightly.sh
andupdate-download-stats.sh
Open Questions
/root/mkdldtxt.sh
?/root/countdldtxt.sh
/home/dist/public
and/home/dist/public-test
directories?/home/dist/dist-indexer/ls-types.js
?/home/dist/dist-indexer/transform-filename.js
?/home/staging/promote
?/home/staging/staging
directory?