[
https://issues.apache.org/jira/browse/METRON-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685745#comment-16685745
]
ASF GitHub Bot commented on METRON-1860:
----------------------------------------
Github user mmiklavc commented on the issue:
https://github.com/apache/metron/pull/1261
@ottobackwards thanks for the submission. Per recent community comments, it
sounds like we could use some improvements to how our build/deploy dep versions
interact with other tooling that may require other versions of things.
Is this the correct dependency listings for each host/container?
The Docker container will be pre-configured with:
- Java 8
- Ansible 2.4.0+
- Python 2.7
- Maven 3.3.9
- C++11 compliant compiler, like GCC
And the developer host machine would now need to manage versions of:
- Vagrant 2.0+
- Vagrant Hostmanager Plugin
- Virtualbox 5.0+
- Docker
The deployment goes through these steps:
1. You mount m2 repo and your code dir in the Docker instance.
2. build_and_run optionally spins up Vagrant in VirtualBox.
3. build_and_run optionally creates Docker instance with pre-reqs for
building and deploying Metron.
4. build_and_run runs the build and then calls the Ansible deployment
scripts from within Docker.
At the end, you have an ephemeral Docker instance + Vagrant instance that
has the running Metron instance?
> Improve full dev experience by using docker and vagrant together
> ----------------------------------------------------------------
>
> Key: METRON-1860
> URL: https://issues.apache.org/jira/browse/METRON-1860
> Project: Metron
> Issue Type: Improvement
> Reporter: Otto Fowler
> Assignee: Otto Fowler
> Priority: Major
>
> Many new users have trouble getting full dev to run correctly. Setting up
> the environment to build metron and run the ansible is often a problem.
> We already have a docker container for fully building metron, that could also
> be used for running ansible.
> The idea to explore is the following:
> # run vagrant up, but without ansible, just stand up the base image
> # run docker to run the ansible playbooks against the vagrant machine
> # ???
> # profit
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)