SatelliteQE / satellite-populate

This new module adds tools and commands to populate and validate entities in the system based in YAML file.
Other
8 stars 10 forks source link

Manage nailgun branches to run across different versions #11

Closed rochacbruno closed 7 years ago

rochacbruno commented 7 years ago

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:

rochacbruno commented 7 years ago

@JacobCallahan has the solution, we create docker images for each version and each image grabs nailgun from github using specific tag.

JacobCallahan commented 7 years ago

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

rochacbruno commented 7 years ago

@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.

JacobCallahan commented 7 years ago

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).

rochacbruno commented 7 years ago

@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