Skip to content

Commit 50143a0

Browse files
update pipeline spec with remote yaml from git
1 parent 53a467e commit 50143a0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/content/pipelines/spec.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title = "Spec"
33
+++
44

5-
A Pipeline needs `.version`, `.kind`, and `.metadata` fields.
5+
A Pipeline needs `.version`, `.kind`, and `.metadata` fields.
66

77
A Pipeline also needs a `.spec` section.
88

@@ -57,7 +57,7 @@ spec:
5757
stages: []
5858
```
5959
60-
#### Basic Pipeline with explicit clone step
60+
#### Basic Pipeline with explicit clone step
6161
6262
```yaml
6363
version: '1.0'
@@ -143,8 +143,10 @@ spec:
143143
encrypted: true
144144
specTemplate:
145145
location: git
146+
context: git-context-name # if not specified will use the default git-context
146147
repo: codefresh-io/cli
147148
path: codefresh.yml
149+
revision: master # can be a branch or commit. if not specified will use CF_BRANCH variable value
148150
steps: {}
149151
stages: []
150152
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.14.1",
3+
"version": "0.14.2",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)