feat(gitlab-sim): 🚀 ajout graph
This commit is contained in:
Vendored
+33
@@ -0,0 +1,33 @@
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
# This pipeline includes templates from another GitLab project.
|
||||
# Without a token, gitlab-sim warns but still lints the local jobs.
|
||||
include:
|
||||
- project: my-group/ci-templates
|
||||
ref: main
|
||||
file: /templates/build.yml
|
||||
|
||||
- project: my-group/ci-templates
|
||||
ref: main
|
||||
file:
|
||||
- /templates/test-base.yml
|
||||
- /templates/security.yml
|
||||
|
||||
# These are ignored by the fetcher (not project: includes)
|
||||
- local: .gitlab/common.yml
|
||||
- template: Auto-DevOps.gitlab-ci.yml
|
||||
|
||||
build-job:
|
||||
stage: build
|
||||
# extends: .build-template # would reference a job from the remote include
|
||||
script:
|
||||
- go build ./...
|
||||
|
||||
test-job:
|
||||
stage: test
|
||||
script:
|
||||
- go test ./...
|
||||
needs:
|
||||
- build-job
|
||||
Reference in New Issue
Block a user