Hi Geora, The Jenkins job is in place now: https://jenkins.onap.org/view/integration/job/integration-master-sniroemulator-docker-merge/
However, it failed during push; it looks like you removed an earlier change I made to the pom.xml to push to nexus3 with the use of the variable ${docker.push.registry}. Was this intentional? If this was unintentionally removed, please put that variable back in pom.xml, and the push to nexus3 should succeed. Thanks, Gary From: Geora Barsky [mailto:geo...@amdocs.com] Sent: Tuesday, September 26, 2017 6:52 AM To: Gary Wu <gary.i...@huawei.com> Subject: RE: [integration] RE: SNIRO emulator implementation questions Hi Gary Could you please update if you were able to make some progress with Jenkins job setup ? Thanks Geora Barsky Amdocs Technology 647-688-1039 647-946-5290 [amdocs-a] Follow us on Facebook<http://www.facebook.com/amdocs/>, Twitter<http://twitter.com/amdocs>, LinkedIn<http://www.linkedin.com/company/amdocs>, YouTube<http://www.youtube.com/amdocsinc>, Google+<https://plus.google.com/105657940751678445194> and the Amdocs blog network<http://blogs.amdocs.com/>. From: Geora Barsky Sent: Friday, September 22, 2017 3:11 PM To: 'Gary Wu' <gary.i...@huawei.com<mailto:gary.i...@huawei.com>> Cc: 'onap-discuss@lists.onap.org' <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Subject: RE: [integration] RE: SNIRO emulator implementation questions Hi Gary, I set up the pom file in the way that docker image will be built by adding docker:build maven goal into JJB build steps Regarding push into docker repository – seems like in other jobs it is implemented by additional step via shell script. Please let me know if it can be done in this case as well Geora Barsky Amdocs Technology 647-688-1039 647-946-5290 [amdocs-a] Follow us on Facebook<http://www.facebook.com/amdocs/>, Twitter<http://twitter.com/amdocs>, LinkedIn<http://www.linkedin.com/company/amdocs>, YouTube<http://www.youtube.com/amdocsinc>, Google+<https://plus.google.com/105657940751678445194> and the Amdocs blog network<http://blogs.amdocs.com/>. From: Gary Wu [mailto:gary.i...@huawei.com] Sent: Friday, September 22, 2017 1:22 PM To: Geora Barsky <geo...@amdocs.com<mailto:geo...@amdocs.com>> Cc: 'onap-discuss@lists.onap.org' <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Subject: RE: [integration] RE: SNIRO emulator implementation questions Hi Geora, To keep the process simple, it would be best if you can set up the pom.xml such that it will build the end docker image directly with just “mvn clean install”. Also, is it possible to have the pom.xml inherit from oparent? This will take care of the distributionManagement configuration, etc. Thanks, Gary From: Geora Barsky [mailto:geo...@amdocs.com] Sent: Friday, September 22, 2017 10:12 AM To: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>> Cc: 'onap-discuss@lists.onap.org' <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Subject: RE: [integration] RE: SNIRO emulator implementation questions Hi Gary, I moved the entire directory to integration/test/mocks/sniroemulator. There is a pom file under integration\test\mocks\sniroemulator, which should be used to compile and create sniroemulator.jar The image name could be sniro-emulator. Please let me know if you will be able to run “docker build” using \integration\test\mocks\sniroemulator\src\main\docker\Dockerfile , which uses sniroemulator.jar Another option – we can try to use com.spotify: docker-maven-plugin plugin to build the image based on configuration if that plugin inside the pom file. Let me know if you think it is a good idea- I will update pom accordingly Thanks Geora Barsky Amdocs Technology 647-688-1039 647-946-5290 [amdocs-a] Follow us on Facebook<http://www.facebook.com/amdocs/>, Twitter<http://twitter.com/amdocs>, LinkedIn<http://www.linkedin.com/company/amdocs>, YouTube<http://www.youtube.com/amdocsinc>, Google+<https://plus.google.com/105657940751678445194> and the Amdocs blog network<http://blogs.amdocs.com/>. From: Gary Wu [mailto:gary.i...@huawei.com] Sent: Friday, September 22, 2017 10:40 AM To: Geora Barsky <geo...@amdocs.com<mailto:geo...@amdocs.com>> Cc: 'onap-discuss@lists.onap.org' <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Subject: RE: [integration] RE: SNIRO emulator implementation questions Hi Geora, I tried to build the docker image, but it seems to be missing some things: 1. It seems to need to build Java code, but there is no pom.xml? 2. The Dockerfile cannot be built as is (i.e. via “docker build”), since the needed jar files do not exist. Please provide either a pom.xml that builds the docker image directly, or otherwise provide a shell script that can do the same. I’d recommend the pom.xml approach since you need Java code compiled as well. 3. What is the intended docker image name? Something like “sniro-emulator”? Please move your entire directory into “test/mocks/sniro-emulator/” or whatever the image name is supposed to be so that the test/mocks/ directory can also be shared by other mock servers. Thanks, Gary From: Geora Barsky [mailto:geo...@amdocs.com] Sent: Friday, September 22, 2017 6:33 AM To: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>> Subject: RE: [integration] RE: SNIRO emulator implementation questions Hi Gary, Did you have a chance to look at it ? Kindly advise is there anything I can do to setup the job Geora Barsky Amdocs Technology 647-688-1039 647-946-5290 [amdocs-a] Follow us on Facebook<http://www.facebook.com/amdocs/>, Twitter<http://twitter.com/amdocs>, LinkedIn<http://www.linkedin.com/company/amdocs>, YouTube<http://www.youtube.com/amdocsinc>, Google+<https://plus.google.com/105657940751678445194> and the Amdocs blog network<http://blogs.amdocs.com/>. From: Geora Barsky Sent: Wednesday, September 20, 2017 9:32 AM To: 'Gary Wu' <gary.i...@huawei.com<mailto:gary.i...@huawei.com>> Cc: Yoav Kluger <yoav.klu...@amdocs.com<mailto:yoav.klu...@amdocs.com>>; Kang Xi <kang...@huawei.com<mailto:kang...@huawei.com>>; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; PLATANIA, MARCO (MARCO) <plata...@research.att.com<mailto:plata...@research.att.com>>; ROSE, DANIEL V <dr6...@att.com<mailto:dr6...@att.com>> Subject: RE: [integration] RE: SNIRO emulator implementation questions Hi Gary, The code has been put into repo, please help with setting up the Jenkins job Thanks Geora Barsky Amdocs Technology 647-688-1039 647-946-5290 [amdocs-a] Follow us on Facebook<http://www.facebook.com/amdocs/>, Twitter<http://twitter.com/amdocs>, LinkedIn<http://www.linkedin.com/company/amdocs>, YouTube<http://www.youtube.com/amdocsinc>, Google+<https://plus.google.com/105657940751678445194> and the Amdocs blog network<http://blogs.amdocs.com/>. From: Gary Wu [mailto:gary.i...@huawei.com] Sent: Tuesday, September 19, 2017 11:12 AM To: Geora Barsky <geo...@amdocs.com<mailto:geo...@amdocs.com>> Cc: Yoav Kluger <yoav.klu...@amdocs.com<mailto:yoav.klu...@amdocs.com>>; Kang Xi <kang...@huawei.com<mailto:kang...@huawei.com>>; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; PLATANIA, MARCO (MARCO) <plata...@research.att.com<mailto:plata...@research.att.com>>; ROSE, DANIEL V <dr6...@att.com<mailto:dr6...@att.com>> Subject: [integration] RE: SNIRO emulator implementation questions Hi Geora, Let’s put the emulator docker definition in the integration repo, as a subdirectory under integration/test/mocks/. Once your files are there, depending on how it needs to be build (shell script, pom, etc.) I can help with setting up the Jenkins jobs. Thanks, Gary From: Kang Xi Sent: Tuesday, September 19, 2017 7:07 AM To: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>> Cc: Geora Barsky <geo...@amdocs.com<mailto:geo...@amdocs.com>>; Yoav Kluger <yoav.klu...@amdocs.com<mailto:yoav.klu...@amdocs.com>>; PLATANIA, MARCO (MARCO) <plata...@research.att.com<mailto:plata...@research.att.com>>; ROSE, DANIEL V <dr6...@att.com<mailto:dr6...@att.com>> Subject: RE: SNIRO emulator implementation questions Hi Gary, Would you please help Geora? Thanks. Regards, Kang From: Geora Barsky [mailto:geo...@amdocs.com] Sent: Tuesday, September 19, 2017 10:02 To: Yoav Kluger <yoav.klu...@amdocs.com<mailto:yoav.klu...@amdocs.com>>; PLATANIA, MARCO (MARCO) <plata...@research.att.com<mailto:plata...@research.att.com>>; ROSE, DANIEL V <dr6...@att.com<mailto:dr6...@att.com>>; Kang Xi <kang...@huawei.com<mailto:kang...@huawei.com>> Subject: RE: SNIRO emulator implementation questions Hello Kang, Since we are developing SNIRO emulator as a standalone microservice with its own docker image, we would need to perform the following activities: 1. Add source code to GIT repository 2. Create Jenkins job to build docker image and upload it into Nexus3 Could you please advise or contact me with the right person who can assist with the above and guide through the necessary steps Thanks Geora Barsky Amdocs Technology 647-688-1039 647-946-5290 [amdocs-a] Follow us on Facebook<http://www.facebook.com/amdocs/>, Twitter<http://twitter.com/amdocs>, LinkedIn<http://www.linkedin.com/company/amdocs>, YouTube<http://www.youtube.com/amdocsinc>, Google+<https://plus.google.com/105657940751678445194> and the Amdocs blog network<http://blogs.amdocs.com/>. This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss