Closed rochacbruno closed 7 years ago
@JacobCallahan has the solution, we create docker images for each version and each image grabs nailgun from github using specific tag.
this can be managed, per-branch, in that branch's Dockerfile.
alternatively, if you don't want to have separate branches of satellite-populate, then we would have to create a new repo with just the dockerfile
@JacobCallahan cant we have a folder .dockerfiles/
and put everything in there? So dockerhub builds from subfolder and each subfolder is tagged with satellite version.
Ideally, we would drop the Dockerfile in the base directory of this project. Then we can manage the tags by git branches or git tags (just learned the later).
@JacobCallahan Lets use tag 6.1
/.dockerfiles/6.1/Dockerfile
Using this requirements.txt
# Uses nailgun from PyPI
nailgun
satellite-populate
tag 6.2
/.dockerfiles/6.2/Dockerfile
Using this requirements.txt
# Install nailgun specific branch
git+https://github.com/SatelliteQE/nailgun.git@6.2.z#egg=nailgun
satellite-populate
tag latest
/.dockerfiles/6.3/Dockerfile
Using requirements.txt
git+https://github.com/SatelliteQE/nailgun.git#egg=nailgun
satellite-populate
We need to run populate across different versions and nailgun has one branch/tag for each sat version.
initial idea is using
pip install satellite-populate[6.2]
and then defining that
[6.2]
we are telling that nailgun requirement is that specific version.but we have some issues to solve: