contrail-dev-env: Add an option for repo branch in Dockerfile

Bug #1765408 reported by Andrei Bunghez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
In Progress
Undecided
Andrei Bunghez
Trunk
Fix Committed
Undecided
Andrei Bunghez
OpenContrail
New
Undecided
Andrei Bunghez

Bug Description

Hi all,

As a developer, I would like to have an option to checkout a specific branch of the contrail project when building the sandbox container.

e.g. docker build --build-arg BRANCH=R5.0 -t contrail-dev-env .

This will cause the repo to be initialized and synced from the R5.0 branch of contrail-vnc.

Regards,
Andrei

Tags: ci
Changed in opencontrail:
assignee: nobody → Andrei Bunghez (abunghez)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/42178
Submitter: Andrei Bunghez (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/42180
Submitter: Andrei Bunghez (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: ci
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/42178
Submitter: Andrei Bunghez (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/42180
Submitter: Andrei Bunghez (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/42178
Submitter: Wojciech Urbanski (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/43830
Submitter: Wojciech Urbanski (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/42180
Committed: http://github.com/Juniper/contrail-dev-env/commit/9cc14716d80e0676a94b7409617cd526bd1d3560
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 9cc14716d80e0676a94b7409617cd526bd1d3560
Author: Andrei Bunghez <email address hidden>
Date: Thu Apr 19 16:34:18 2018 +0300

Add posibility to init repo from a specific branch

Adding a BRANCH build-arg in order to be able to initilize sandbox from a particular contrail-vnc branch.

usage example:
docker build --build-arg BRANCH=R5.0 .

Change-Id: I68e52fd400afa03806728575eaba08ab7c916e7e
Closes-Bug: #1765408

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/43830
Committed: http://github.com/Juniper/contrail-dev-env/commit/ed89424ed010b7168f3697117c817df5563ecb81
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit ed89424ed010b7168f3697117c817df5563ecb81
Author: Wojciech Urbański <email address hidden>
Date: Thu Jun 14 10:55:16 2018 +0200

Add information in README about using different version of code

Change-Id: I265fd33b20de692a1662ebf62bf9ca224a24ce70
Closes-Bug: #1765408

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/44322
Submitter: Wojciech Urbanski (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/44322
Committed: http://github.com/Juniper/contrail-dev-env/commit/640d85b4738957a87298edfd22088b0eee390f60
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 640d85b4738957a87298edfd22088b0eee390f60
Author: Wojciech Urbański <email address hidden>
Date: Tue Jul 3 16:41:25 2018 +0200

Complete information about using different branch

Change-Id: Ic16127fd328d98404f2d5397c24d34ad1f3a9f19
Closes-Bug: #1765408

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.