-
Notifications
You must be signed in to change notification settings - Fork 0
/
codefresh.yml
31 lines (29 loc) · 858 Bytes
/
codefresh.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# More examples of Codefresh YAML can be found at
# https://codefresh.io/docs/docs/yaml-examples/examples/
version: "1.0"
# Stages can help you organize your steps in stages
stages:
- "clone"
- "build"
steps:
Clone:
title: "Cloning repository"
type: "git-clone"
repo: "jcantosz/cf-pipeline-factory"
# CF_BRANCH value is auto set when pipeline is triggered
# Learn more at codefresh.io/docs/docs/codefresh-yaml/variables/
revision: "${{CF_BRANCH}}"
git: "github-jesse"
stage: "clone"
UpdatePipelines:
title: "Create or Update pipelines"
type: "pipeline-trigger-merge"
stage: "build"
working_directory: '${{Clone}}/pipeline-specs'
scale:
pipeline-factory:
arguments:
SPEC: pipeline-factory.yaml
gradle-pipeline:
arguments:
SPEC: gradle-pipeline.yaml