Re: [onap-discuss] [integration][holmes] How to Get Dependencies like MySQL during the Building of the Dockers?

2017-08-16 Thread Gary Wu
Hi Guangrong,

The LF Jenkins slave VMs are freshly allocated for each job, and the VM images 
are not pre-loaded with any docker images; all the docker images are freshly 
pulled when they are needed.  The MySQL docker image is pretty small, so this 
shouldn’t be taking that long, but if needed probably the right thing to do is 
to get the mysql docker image cached in the ONAP nexus3 proxy.

If you feel that this is necessary, can you send a request to ONAP helpdesk for 
that?

Thanks,
Gary

From: fu.guangr...@zte.com.cn [mailto:fu.guangr...@zte.com.cn]
Sent: Tuesday, August 15, 2017 5:57 PM
To: Gary Wu 
Cc: onap-discuss@lists.onap.org
Subject: 答复: RE: RE: [onap-discuss] 答复: [integration][holmes] How to Get 
Dependencies like MySQL during the Building of the Dockers?


Gary,



Is there an existing MySQL docker image on the server which is used to perform 
the CSIT task? If no, would you please help to pull it to the server first? 
Otherwise we have to do it every time before we carry out our CSIT task, which 
is quite time-consuming.



I'm sorry that I can not check it by myself because I don't know how to connect 
to the CSIT server ( and I don't think I have the privilege to access it).



Thanks in advance.



Regards,

Guangrong








原始邮件
发件人: >;
收件人:付光荣10144542;
抄送人: >;
日 期 :2017年08月16日 01:10
主 题 :RE: RE: [onap-discuss] 答复: [integration][holmes] How to Get Dependencies 
like MySQL during the Building of the Dockers?


Hi Guangrong,

For CSIT, I would suggest that you start up the MySQL docker container in your 
setup.sh and pass its IP address to your microservice docker container via an 
environment  variable.

Thanks,
Gary

From: fu.guangr...@zte.com.cn 
[mailto:fu.guangr...@zte.com.cn]
Sent: Tuesday, August 15, 2017 2:14 AM
To: Gary Wu >
Cc: onap-discuss@lists.onap.org
Subject: 答复: RE: [onap-discuss] 答复: [integration][holmes] How to Get 
Dependencies like MySQL during the Building of the Dockers?


Thanks for your suggetion, Gary.



I have sent an email to the DCAE team to discuss about that. But the solution 
you suggested is specifically for the production environment. For development, 
especially for the CSIT purpose, we need the support  of MySQL to accomplish 
the FT tasks. Could the integration team help to find a way to achieve that?



Looking forward to your reply.



Best Regards,

Guangrong








原始邮件
发件人: >;
收件人:付光荣10144542;
抄送人: >;
日 期 :2017年08月15日 01:09
主 题 :RE: [onap-discuss] 答复: [integration][holmes] How to Get Dependencies like 
MySQL during the Building of the Dockers?


Hi Guangrong,

It depends on what your MySQL dependency looks like.

If your dependency is to store data in a running MySQL instance, it is 
recommended that you run a separate  MySQL container independently from the 
container for  your own microservice, and configure your microservice to 
communicate with that MySQL instance.  For this, you can use the docker 
container provided directly by MySQL: 
https://hub.docker.com/r/mysql/mysql-server/.  You should not run a MySQL 
instance directly within your own microservice docker container.

If you have dependencies on MySQL libraries in your code, then it’s recommended 
that you set that up  manually in your Dockerfile configuration scripts.

Thanks,
Gary



From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of 
fu.guangr...@zte.com.cn
Sent: Sunday, August 13, 2017 5:51 PM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] 答复: [integration][holmes] How to Get Dependencies like 
MySQL during the Building of the Dockers?


Hi,



I have not heard any response so far. Could anybody please help to answer the 
question or give me any suggestion?



Thanks.



Guangrong








原始邮件
发件人:付光荣10144542
收件人: >;
日 期 :2017年08月10日 22:09
主 题 :[integration][holmes] How to Get Dependencies like MySQL during the 
Building of the Dockers?



Hi all,



While making dockers, we want to integrate MySQL as a part of our components. 
Do we have to pull it directly from the internet or is it stored in some place 
of ONAP so that we could fetch it from within?



Thanks.



Guangrong




















___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] [integration][holmes] How to Get Dependencies like MySQL during the Building of the Dockers?

2017-08-10 Thread fu.guangrong
Hi all,




While making dockers, we want to integrate MySQL as a part of our components. 
Do we have to pull it directly from the internet or is it stored in some place 
of ONAP so that we could fetch it from within?




Thanks.




Guangrong___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss