Closed jdirocco closed 6 years ago
@MarcioMateus, @tdegueul Could we automate KB build for docker image?
Hi @md2manoppello
This change was introduced in commit 8fb7d0c4edc757d8de2144488814a92a80176f50
To KB docker image downloads the jar built by Jenkins (configured for the localhost
) and updates the application.properties
to connect to the KB-db
.
I did some small tests, but I would be great id you could do a more extensive testing.
Regarding the automatic generation of Docker images from the CI builds, the images are now (automatically?) pushed to https://hub.docker.com/u/crossminer/; @borisbaldassari took care of that. I don't know how this is realized though, as I haven't seen anything new on the CI server.
@borisbaldassari uses a diferente platform (Codefresh.io) to push the images to Docker Hub. If I am not wrong, it monitors the Git repository and creates the Docker images based on the Dockerfiles in it. Currently, no trigger is defined to create/update Docker images at Docker Hub, it must be done manually. But we can define triggers based on GitHub events or define Cron tasks.
Thank you! Can we close this issue?
Yes, I think that the main question is already addressed.
Jenkins builds KB service platform at http://ci5.castalia.camp:8080/job/scava-knowledgebase/lastSuccessfulBuild/artifact/knowledge-base/org.eclipse.scava.knowledgebase/target/scava.knoledgebase.jar . KB testing step needs that
spring.data.mongodb.host
haslocalhost
value inapplicacation.properties
. Instead, docker kb image needs to set this parameter asKB-db
. @MarcioMateus, did you change this value on http://ci3.castalia.camp/dl/scava.knoledgebase.jar ?