Closed Bug 677344 Opened 13 years ago Closed 13 years ago

Implement dev/stage/prod channels

Categories

(Cloud Services :: Server: Core, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tarek, Assigned: tarek)

References

Details

Attachments

(3 files)

Glue Command tested via the Makefile
Assignee: nobody → tarek
Status: NEW → ASSIGNED
Attachment #551536 - Flags: review?(rmiller)
Attachment #551548 - Flags: review?(rmiller)
Attachment #551536 - Flags: review?(rmiller) → review+
Attachment #551548 - Flags: review?(rmiller) → review+
Depends on: 677496
Attachment #551738 - Flags: review?(rmiller)
Attachment #551738 - Flags: feedback?
Attachment #551738 - Flags: feedback? → feedback?(jbonacci)
adding more code + heavy refactoring. I've started a branch for this in https://hg.mozilla.org/services/server-devtools called "channels" Will ask for a post-review once ready
That's how the branch works now: let's say you are in server-core. You can do: $ bin/buildapp The current channel is prod. Building the app Updating the repo .. [ok] Building Services dependencies [ok] Building External dependencies [ok] Now building the app itself .. [ok] [done] By default the app is built using the prod channel You can also build rpms: $ bin/buildrpms The current channel is prod. Building RPM for cef ... And also change channels: $ bin/buildapp -c dev The current channel is dev. Building the app Updating the repo .. [ok] Building Services dependencies [ok] Building External dependencies [ok] Now building the app itself .. [ok] [done] The channel stays sticky. so if you try to call a command without a channel, it will use the last used one, and defaults to prod the first time.
Attachment #551738 - Flags: review?(rmiller) → review+
I think this is a very good idea. I am looking forward to trying out Sync server installs with the various channel settings. I would be happy to provide feedback on the results of these tests if you are interested.
Implementation done. Now writing some docs.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Tarek - so for very long delay since my last entry. What is the status of your documentation? Looking here: http://docs.services.mozilla.com/howtos/run-sync.html I do not see any updates for the new channel option. Maybe we can pull in some info from your attachment above? https://bugzilla.mozilla.org/attachment.cgi?id=551738
Talked with Tarek. Channel documentation is actually found here: http://docs.services.mozilla.com/server-devguide/release.html
Status: RESOLVED → VERIFIED
Attachment #551738 - Flags: feedback?(jbonacci) → feedback-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: