... | ... | @@ -18,18 +18,18 @@ Tested the CI process localy using this command: |
|
|
|
|
|
Tested CI process remotely.
|
|
|
|
|
|
Trouble solved:
|
|
|
## Trouble solved:
|
|
|
* cache .m2/repository to avoid to download for every steps all the maven dependency (https://gitlab.com/gitlab-org/gitlab-ce/issues/15167). Added this parameter to MAVEN_OPTS variables
|
|
|
MAVEN_OPTS: -Dmaven.repo.local=/cache/maven.repository
|
|
|
|
|
|
Trouble not solved:
|
|
|
## Trouble not solved:
|
|
|
* Run docker build in dind: Cannot connect to the Docker daemon problem (https://docs.gitlab.com/ce/ci/docker/using_docker_build.html)
|
|
|
* Store variables from maven execution (p.es. version, etc)
|
|
|
|
|
|
Next steps:
|
|
|
## Next steps:
|
|
|
* build and deploy a docker image a docker registry:
|
|
|
* Define a step to build docker image (https://docs.gitlab.com/ce/ci/docker/using_docker_build.html)
|
|
|
* Define a step to test docker image
|
|
|
* Configure a GitLab Container Registry (https://about.gitlab.com/2016/05/23/gitlab-container-registry/) Martin Hamant
|
|
|
* Configure a GitLab Container Registry (https://about.gitlab.com/2016/05/23/gitlab-container-registry/) @mh
|
|
|
* Define a step to deploy the image in the docker registry
|
|
|
* Use the docker image sotred in the docker registry to create a container |
|
|
\ No newline at end of file |