Skip to content

JanBrek/GitLab-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitLab-Snippets

Child pipelines for gitlab CI. You can put them in a separate repository if desired.

Tested with a local installation (Not gitlab.com) but should work.

getSecrets.yml

Uses the GitLab API to retrieve secrets from another project's vault to use in another project pipeline / job. Needed Variables:

  • Project number
  • Project Access Token
  • Secret names
  • Environment (No environment = '*')

Debug output is shown when the script fails or when succeeded + debug: "True"

Found variables are saved in dotenv file for use in a next job

liquibase-ci.yml

Pipeline to control your liquibase rollout using tags from within a GitLab pipeline

Be sure to add the stages to your parent pipeline See variable explanation on how to use

About

Snippets from my work with gitlab CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •