Merge pull request 'feat(ci): Add base pipeline' (#85) from feat/cross-compile into master

Reviewed-on: #85
This commit is contained in:
Lucas Schwiderski 2023-03-23 19:34:45 +01:00
commit a2814bfd20

View file

@ -0,0 +1,37 @@
---
# The base pipeline that runs continuously, checks for branches and
# creates a new pipeline instance for each of them.
resource_types:
- name: git-branches
type: registry-image
source:
repository: aoldershaw/git-branches-resource
resources:
- name: repo-branches
type: git-branches
source:
uri: https://git.sclu1034.dev/bitsquid_dt/dtmt
- name: repo
type: git
source:
uri: https://git.sclu1034.dev/bitsquid_dt/dtmt
jobs:
- name: set-pipelines
plan:
- in_parallel:
- get: repo-branches
trigger: true
- get: repo
- load_var: branches
file: repo-branches/branches.json
- across:
- var: branch
values: ((.:branches))
set_pipeline: dtmt-check
file: repo/.ci/pipelines/check.yml
instance_vars:
branch: ((.:branch.name))