Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

force instance name from config #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jacum
Copy link

@jacum jacum commented Jan 31, 2019

This little change allows forcing instance name (in fact it should be numeric due to other logics in plugin that I didn't dare to touch). Then the network name can be known in advance.

The following scenario is supported by this change:

  • Jenkinsfile using docker 'agent' to build the application and to run the end-to-end tests
  • Agent container and all compose containers have to share the same docker network
  • Docker network needs to be created in the very beginning, before agent container starts
  • In current implementation, sbt-docker-compose plugin creates random networks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant