Skip to content

Commit 8b4788a

Browse files
committedFeb 20, 2019
FEATURE: II-206 Use II config file
Loading closures has been deprecated for II pipelines. The necessary functionality for loading file content can now be specified in the configuration file. Implements II-206, builds on II-328.
1 parent e34b16a commit 8b4788a

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed
 

‎.gdc-ii-config.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
microservices:
2+
lcm-bricks:
3+
docker:
4+
dockerfile: './Dockerfile'
5+
argumentsFromFiles:
6+
BRICKS_VERSION: 'VERSION'
7+
18
integratedTests:
29
- env: bash
310
path: .

‎Jenkinsfile

+1-14
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,4 @@
55
@Library('pipelines-shared-libs')
66
import com.gooddata.pipeline.Pipeline
77

8-
def config = [
9-
'microservices': [
10-
'lcm-bricks': [
11-
'docker': [
12-
'dockerfile': './Dockerfile',
13-
'arguments': [
14-
'BRICKS_VERSION': { readFile('./VERSION').trim() }
15-
]
16-
]
17-
]
18-
]
19-
]
20-
21-
Pipeline.get(this, config).run()
8+
Pipeline.resolve(this).run()

0 commit comments

Comments
 (0)
Please sign in to comment.