Files
glint/testdata/includes_project.yml
T

34 lines
717 B
YAML
Raw Permalink Normal View History

2026-06-07 20:13:03 +02:00
stages:
- build
- test
# This pipeline includes templates from another GitLab project.
2026-06-10 22:40:42 +02:00
# Without a token, glint warns but still lints the local jobs.
2026-06-07 20:13:03 +02:00
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