File tree Expand file tree Collapse file tree 5 files changed +11
-0
lines changed
Expand file tree Collapse file tree 5 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ fetchCount: 20
5959# Show only projects with recent pipelines
6060pipelinesOnly : false
6161
62+ # Whether to include archived projects
63+ includeArchived : false
64+
6265# Zooms the dashboard to fill the screen with all displayed projects.
6366# Not compatible with all browsers! See https://caniuse.com/#feat=css-zoom
6467autoZoom : false
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ config: |
3131 "maxAge": 168,
3232 "fetchCount": 20,
3333 "pipelinesOnly": false,
34+ "includeArchived": false,
3435 "autoZoom": false,
3536 "showPipelineIds": true,
3637 "showJobs": "iconAndName",
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ config: |
3030 "maxAge": 168,
3131 "fetchCount": 20,
3232 "pipelinesOnly": false,
33+ "includeArchived": false,
3334 "autoZoom": false,
3435 "showPipelineIds": true,
3536 "showJobs": "iconAndName",
Original file line number Diff line number Diff line change 151151 gitlabApiParams .include_subgroups = includeSubgroups
152152 }
153153
154+ const includeArchived = Config .root .includeArchived
155+ if (includeArchived === false ) {
156+ gitlabApiParams .archived = " false"
157+ }
158+
154159 // Only use main level projects API if tighter scope not defined
155160 const scopeType = Config .root .projectScope
156161 // Reformat the variable as a flat list of Ids
Original file line number Diff line number Diff line change 44 "maxAge" : 168 ,
55 "fetchCount" : 20 ,
66 "pipelinesOnly" : false ,
7+ "includeArchived" : false ,
78 "autoZoom" : false ,
89 "showPipelineIds" : true ,
910 "showProjectOnlyOn" : [],
You can’t perform that action at this time.
0 commit comments