Closed Bug 823672 Opened 12 years ago Closed 11 years ago

[badgus-stage] Setup Chief on genericadm for badgus-stage

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task, P1)

x86
macOS

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bburton, Assigned: jd)

References

Details

(Whiteboard: [triaged 20130104])

Attachments

(1 file)

Chief has been requested for badgus-stage, this bug tracks the work
jd offered to work on this too... he did a nice job on fxflicks' new Chief stuff recently. :)

Marking as P1, because I'm about to create a tracker q1 goal bug for Chief improvements.
Priority: P3 → P1
Whiteboard: [triaged 20130104]
Blocks: 827462
Blocks: 835934
Looks like this is shaping up to be part of a Q1 goal for community building. Anything I can do to help things along?
We're aiming for 2012-03-01 to issue our Webdev Contributor badges, so we will need to have badges.mozilla.org set up with - hopefully - a week or two to spare.
Severity: normal → major
Dropping this back down to stop paging.

The presence or absence of Chief for updating should not block or delay an app's launch date... it's a definite benefit, but should generally not be considered a blocker to production status. We will still be able to deploy the app without Chief, it's just less convenient because it has to come through IT.

For the record, we typically prioritize Chief deployments based on how frequently an app is being pushed.
Severity: major → normal
I'd like to see this site capable of continual deployment like MDN. But, realistically, updates will probably start off at around 1-per-week since I'm the only part time developer on it so far. 

If we can get this thing to production with update-via-IT-bug, I'm fine with that versus blocking on Chief.
In order to get this going I will need you to create a deploy script. You need to create an update folder in scripts and put an deploy file and a settings dist file, you can find an example here:

https://github.com/mozilla/inventory/tree/master/scripts/update

You will need to have this file do everything that the current update script is doing. I will attach the current script from the stage environment to this bug.

Also if it helps here is the code for Chief:
https://github.com/mozilla/chief

Once you have these components in place, update this bug and I will work on getting the Chief bits set up on this end.

Regards
Attached file Update Script
Assignee: server-ops-webops → jcrowe
https://github.com/mozilla/moztrap/commit/1.4.1 is a good example of the one I just wrote for moztrap too, we're getting them setup with Chief on staging and prod as they push often
So... should this be a shell script (like attached) or a python script (like moztrap or inventory)? 

Is there any way to test this to be sure I've written it right? I don't have access to anything but my laptop & VPN, as far as I know. This should be a pretty simple playdoh app, at least with regard to deployment
(In reply to Les Orchard [:lorchard] from comment #9)
> So... should this be a shell script (like attached) or a python script (like
> moztrap or inventory)? 
> 
> Is there any way to test this to be sure I've written it right? I don't have
> access to anything but my laptop & VPN, as far as I know. This should be a
> pretty simple playdoh app, at least with regard to deployment

Actually.. does this look like a good example, too? I think mozillians is a simple playdoh app, except for the bits I don't need:

https://github.com/lmorchard/mozillians/blob/master/scripts/update/update.py
(In reply to Les Orchard [:lorchard] from comment #9)
> So... should this be a shell script (like attached) or a python script (like
> moztrap or inventory)? 
> 
> Is there any way to test this to be sure I've written it right? I don't have
> access to anything but my laptop & VPN, as far as I know. This should be a
> pretty simple playdoh app, at least with regard to deployment

It needs to be a commander compatible Python script, like moztrap or inventory's

The shell script :jd attached should be translated into said Python script
Les,

This looks good for a start. I will work on getting this deployed on dev in the next few days and we can test from there.

Thanks for the quick response.
Chief has been set up and tested on dev and stage.

Let us know if you run into any issues.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Works for me, thank you very much!
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: