Gitlab-2

  • Cache are globally defined
    if you cache .m2/respository → all the later stages/jobs will have that repo by default
  • Artifacts are defined within a “stage”
    if you make .m2/repository artifact → all the jobs in the SAME STAGE will start with that repo
    — but if different stage, will not pass through
  • stage vs job
    stage is what you define in beginning (test, deploy, build)
    and jobs make up the stage (job is the granular definition for gitlab)
    **** Jobs are run concurrently in the same stage
  • Stage, Job best practices : https://medium.com/@ryzmen/gitlab-fast-pipelines-stages-jobs-c51c829b9aa1
d
  • if you want to use artifacts from different stages use dependencies

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Ansible Cheat Sheet — DevOps Quickstart Guide

Setting up the CppND-Route-Planning-Project on Mac

The Six Basic Plots of Software Development

Adding Environment Secrets using CI/CD Pipelines

Demystifying Memory Management

A pile of RAM sticks on a table

Use Cloudockit to Easily Create Azure Architecture Diagrams

AI-Powered Efficiency — Katalon Offers Native Integration with Applitools

AI Powered Efficiency — Katalon Offers Native Integration with Applitools

How To Make Your Own Website and Monetize it?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
June Chung

June Chung

More from Medium

SysAdmin: Shells Part-1

the baggage carousel

Thoughts…