Files
glint/testdata/includes_project.yml
T

34 lines
717 B
YAML

stages:
- build
- test
# This pipeline includes templates from another GitLab project.
# Without a token, glint 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