Skip to content

Comments

UNOMI-334 Docker Maven integration#155

Merged
sergehuber merged 2 commits intomasterfrom
UNOMI-334-docker-maven-integration
May 3, 2020
Merged

UNOMI-334 Docker Maven integration#155
sergehuber merged 2 commits intomasterfrom
UNOMI-334-docker-maven-integration

Conversation

@sergehuber
Copy link
Contributor

This PR contains a Maven - Docker integration which brings the following benefits:

  • Version is automatically managed by Maven
  • Docker-compose is integrated with Maven, making it very easy to build and start a full Unomi environment by just using: mvn clean install and then mvn docker:start in the Docker sub-project
  • Docker push is also possible directly using mvn docker:push (it will use the project version as a tag, which should make it also easy to handle releases).

sergehuber added 2 commits May 3, 2020 09:56
- Maven is now directly integrated with the docker-compose making it possible to start Unomi with `maven clean install` and `mvn docker:start`.
- Use project version for image tag
- Increment Javascript timeout since Docker images execute seemingly slower on some installs (such as macOS)
- Add a top-level profile to build Docker sub-project.
@sergehuber sergehuber requested review from Taybou, fpapon and jbonofre May 3, 2020 08:29
Copy link
Member

@fpapon fpapon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, in my branch, I replaced this with karaf-maven-plugin (as unomi is now a "real" karaf custom distribution).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You replaced the docker-maven-plugin with the karaf-maven-plugin ? Or the dependency on the distribution?

@sergehuber sergehuber merged commit 918a323 into master May 3, 2020
@sergehuber sergehuber deleted the UNOMI-334-docker-maven-integration branch May 3, 2020 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants