Build and Publish Artifacts to Package Registry using Gitlab Pipeline | Python Project CI/CD

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • This video explains the simple and detailed explanation to build and publish code artifacts to Gitlab package registry. This pipeline is explained the CI/CD implementation of a simple python flask program. The same mechanism can be used for any complex projects and for other programming languages also. I have not included the stages for code lint checks to keep this pipeline simple.
    There are more interesting videos in this channel. Please check the following links.
    Introduction to Version Control System? • Introduction to Versio...
    How to install Git Client in a Desktop ? • How to Install Git Cli...
    How to clone a repository using Git ? • How to Clone a reposit...
    How to pass credentials to git commandline client ? • Git Operations - How t...
    How to commit code to GIT - the end to end workflow ? • How to commit code to ...
    Learn GitLab CI/CD in 10 minutes. • Learn Gitlab CI/CD in ...
    #gitlab #packageregistry #pipeline #cicd #devops #python #flask

Комментарии • 11

  • @John-hi8rd
    @John-hi8rd 8 месяцев назад

    Thanks for the video. I just want confirm if I understand it correctly, the shell script for each job will be executed in the docker container of the image that you mentioned for each job, right? Do you have any video that you will use the container registry instead?

    • @coderinboots
      @coderinboots  8 месяцев назад

      Yes. that is correct. The image is pulled from the container registry. I have not bundled the docker image with the scripts. If you want the image to be pulled from a private container registry, you just need to configure the registry in the docker service running on the gitlab runner node.

  • @vinodprabhu8083
    @vinodprabhu8083 8 месяцев назад

    Hi,
    many thanks for the video. it is well laid. Now that the packages registry is populated, how does it get used in another project ?
    can you also provide an example for the same ?

    • @coderinboots
      @coderinboots  8 месяцев назад

      We can share the packages using the project or group token. Using the token other projects can access the packages and artifacts. The default CI_JOB_TOKEN has access only within the same project. Let me know if this is clear. Else i can provide some more details.

    • @vinodprabhu8083
      @vinodprabhu8083 8 месяцев назад +1

      THanks @@coderinboots .
      Is it possible to store the third party packages into packages registry just like ho we can storea container image in a container registry. All the examples are storing only the egg info and a tgz. but they do not contain th eactual packages.

    • @coderinboots
      @coderinboots  8 месяцев назад

      @@vinodprabhu8083 Yes you can store any file in the package registry. The gitlab registry has a package registry where you can store any files. You can do the file upload using Gitlab APIs.

  • @RakhiParashar-uy2uf
    @RakhiParashar-uy2uf Год назад

    We are not able clone the project repository shown in vedio

  • @RakeshMansani
    @RakeshMansani 6 часов назад +1

    Hi Can i have your contact number need some inputs for Devops CICD project. How can i contact you?

    • @coderinboots
      @coderinboots  4 часа назад

      Please email the details to coderinboots@gmail.com