File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ const ANNOTATIONS = [
1515 'screwdriver.cd/repoManifest' ,
1616 'screwdriver.cd/dockerEnabled' ,
1717 'screwdriver.cd/dockerCpu' ,
18- 'screwdriver.cd/dockerRam'
18+ 'screwdriver.cd/dockerRam' ,
19+ 'screwdriver.cd/nodeLabel'
1920] ;
2021const annotationRe = / s c r e w d r i v e r .c d \/ ( \w + ) / ;
2122
Original file line number Diff line number Diff line change @@ -161,13 +161,15 @@ describe('index test', () => {
161161 'beta.screwdriver.cd/cpu' : 'HIGH' ,
162162 'beta.screwdriver.cd/ram' : 'LOW' ,
163163 'screwdriver.cd/disk' : 'HIGH' ,
164+ 'screwdriver.cd/nodeLabel' : 'foo-label' ,
164165 'invald.screwdriver.cd' : 'invalid'
165166 } ) ;
166167
167168 assert . deepEqual ( parsed , {
168169 cpu : 'HIGH' ,
169170 ram : 'LOW' ,
170- disk : 'HIGH'
171+ disk : 'HIGH' ,
172+ nodeLabel : 'foo-label'
171173 } ) ;
172174 } ) ;
173175
You can’t perform that action at this time.
0 commit comments