ability to build rpms for a specific tag

RESOLVED FIXED

Status

--
critical
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: atoll, Assigned: tarek)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

I need to be able to build rpms for a specific tag.

So, for instance, when I want to build key-exchange and all of its associated rpms and core, I *might* do:

hg clone -r 0.1.20101130 http://hg/services/server-key-exchange
cd server-key-exchange
make SERVER_CORE_TAG=0.1.20101129 build build_core build_rpms

And that would give me a set of rpms for server-key-exchange tag 0.1.20101130, server-core tag 0.1.20101129.

Any way that this can be done is fine with me.  If it means checking out server-core to a specific tag and building rpms there, instead of doing make build_core inside server-key-exchange, I'm cool with that.

This is essential for production deployment.

Updated

8 years ago
Component: Server: Other → Server: Key Exchange
QA Contact: other-server → key-exchange-server
(Assignee)

Comment 1

8 years ago
done in http://hg.mozilla.org/services/server-full/rev/760206bf7182 and http://hg.mozilla.org/services/server-key-exchange/rev/f8c3fce47890

The syntax is REPO_NAME for the sub repository named "repo-name".

Examples: make SERVER_CORE=0.1.20101129 build 

The next step is to have that bootstrap script in a single place so it's not duplicated in every repo. I'll move it to admin-scripts and have the Makefile look for it when "make build" is called.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.