[go: up one dir, main page]

Skip to content

custom developer gitlab pipelines

As an engineer, I would like to build a subset of my pipeline and receive feedback for my build.

I would like to only build one job (and those that it requires earlier) in a dynamic way. eg:

Given a pipeline:

job1:

job2:

test1:
  needs: [job1]


test2:
  needs: [job1, job2]

I want to be able to ask gitlab to build test1, I would expect this build to contain only the job and test1 jobs.

# build test1 and everything it needs
gle --pipeline test1

or

# build test1 and job2 and everything they need
gle --pipeline test1 job2

Optionally, I would like to be able to specify that any dependant jobs I require fetch their input artifacts from another already completed pipeline. eg:

# build test1 and fetch needed artifacts from jobs in the given pipeline
gle --pipeline test1 --from group/project/1235

I would optionally like -w to open a web browser to follow the pipeline as it runs

Edited by Ian Norton
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information