Hi All, in this video we will see that how can we connect python to mysql using image and services keyword. We will also see that how to create a table and insert data to the created table using python.
This time we will use .gitlab-ci.yml file instead of config.toml file for ci-cd process.
The default method through which gitlab connects 2 containers is bridge method. There are other methods available as well which can be used in gitlab to connect 2 containers. This video shows bridge method.
We will also see that sometimes some services will not available and hence we need to wait for few minutes to connect with those services.
Followings are the links that you can refer to know more about how networking works in gitlab docker executor and what are the different methods available in docker to connect containers.
https://docs.docker.com/engine/refere...
https://docs.gitlab.com/runner/execut...
Please use below link to get the files that I have used in this session.
https://gitlab.com/Nayan.1989/youtube...
In questa pagina del sito puoi guardare il video online GitLab Docker Executor #1.4 Connect Python With MySQL della durata di ore minuti seconda in buona qualità , che l'utente ha caricato WildestImagination 10 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 581 volte e gli è piaciuto 0 spettatori. Buona visione!