Skip to content

Commit ba8239f

Browse files
authored
feat(circleciconfig): add override-with stanza to job references (SchemaStore#4630)
1 parent b6df481 commit ba8239f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

src/schemas/json/circleciconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,10 @@
11661166
"type": "string"
11671167
}
11681168
}
1169+
},
1170+
"override-with": {
1171+
"description": "This allows overriding the job to run with a different job definition. The provided job override must be an orb job.",
1172+
"type": "string"
11691173
}
11701174
}
11711175
},
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# yaml-language-server: $schema=../../schemas/json/circleciconfig.json
2+
version: 2.1
3+
4+
orbs:
5+
welcome: circleci/[email protected]
6+
7+
jobs:
8+
test:
9+
docker:
10+
- image: cimg/base:current
11+
steps:
12+
- checkout
13+
14+
workflows:
15+
test-workflow:
16+
jobs:
17+
- test:
18+
override-with: welcome/test

0 commit comments

Comments
 (0)