Closed Bug 985124 Opened 11 years ago Closed 11 years ago

Chief deployment for Peekaboo

Categories

(Infrastructure & Operations :: IT-Managed Tools, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: jd)

References

Details

Can we set up Chief for Peekaboo. Feel free to take the code from airmozilla since that seems to work perfectly fine.
So http://peekaboo1.webapp.scl3.mozilla.com/chief/peekaboo.prod is live. There is no deploy script yet so it does nothing as of this moment. I will start working on the dev environment in the morning. Once that is in place we can create and test a deploy script, then add it to prod. Cheers
Assignee: server-ops-webops → jcrowe
Depends on: 991329
I believe things are almost working now. The stuff on the server seems to be functioning and the deploy script makes it most of the way through. The current bug is about a define: File "/data/www/peekaboo.allizom.org/peekaboo/bin/update/deploy.py", line 103, in update update_locales() NameError: global name 'update_locales' is not defined You can see this at the end of the log here: http://peekaboo1.webapp.scl3.mozilla.com/chief/peekaboo.stage/logs/master.1397259909 If you make tat fix, you should be able to get the update by deploying, you will get the error on first deploy but if things are working correctly it should go away after that. Please let me know if it works or is you have any errors or if you need my help. Cheers
That issue is sorted, but now we are getting: File "/data/www/peekaboo.allizom.org/peekaboo/bin/update/deploy.py", line 110, in deploy checkin_changes() NameError: global name 'checkin_changes' is not defined Also while we are at it I do not see update defined, from line 118. Unless I am not reading this correctly of course. Let me know when you have these fixed and I will try again.
Success! http://peekaboo1.webapp.scl3.mozilla.com/chief/peekaboo.stage/logs/master.1397513331 I am going to close this out now. Prod should work as soon as this most recent deploy script gets pushed there. You will need to file a bug for that prod push whenever you are ready but after that you should be able to use Chief full time. Cheers
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I think it is behind. if you see line 22 & 23 you do a git fetch and git checkout. You can see in the log file it says: [localhost] out: Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. You need to add a 'git pull origin' to fast forward or change your git methodology to avoid the need to fast forward. Further, the log says: [2014-04-14 15:19:45] Running update_info and line 90 writes this information to the revision.txt file. Further, from the server: # git rev-parse HEAD 554d513caac6f26b769971f218919cd5086de834 Which aligns with the revision.txt file. I hope this helps.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.