jhu-sheridan-libraries / jhuda-general-issues

0 stars 0 forks source link

Create archive-docker env to enable development in similar manner to that of PASS #22

Closed htpvu closed 4 years ago

emetsger commented 5 years ago

Using https://github.com/emetsger/slarx-docker as a test, I was able to compose an image for Fedora, and have the Docker Cloud environment automatically build, test, and push the image.

At this point I just need to review any outstanding requirements for the image and then move the repository to the appropriate location.

emetsger commented 5 years ago

You have to 1) Connect your Docker repository to a GitHub repository. 2) Flip on “Automated Builds” on the Docker Cloud side. 3) Configure the location of the build context and Dockerfile relative to the GitHub repository root. 4) Finally, add a docker-compose.test.yml in the configured build context directory with the sut service defined. It looks like fundamentally there can only be one image produced per GitHub repository.

emetsger commented 5 years ago

Deposit Services leverages dependent builds, which is implemented in a hacky way, which would need to be revisited in this approach.