Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ fetchCount: 20
# Show only projects with recent pipelines
pipelinesOnly: false

# Whether to include archived projects
includeArchived: false

# Zooms the dashboard to fill the screen with all displayed projects.
# Not compatible with all browsers! See https://caniuse.com/#feat=css-zoom
autoZoom: false
Expand Down
1 change: 1 addition & 0 deletions charts/gitlab-monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ config: |
"maxAge": 168,
"fetchCount": 20,
"pipelinesOnly": false,
"includeArchived": false,
"autoZoom": false,
"showPipelineIds": true,
"showJobs": "iconAndName",
Expand Down
1 change: 1 addition & 0 deletions charts/gitlab-monitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ config: |
"maxAge": 168,
"fetchCount": 20,
"pipelinesOnly": false,
"includeArchived": false,
"autoZoom": false,
"showPipelineIds": true,
"showJobs": "iconAndName",
Expand Down
5 changes: 5 additions & 0 deletions src/components/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@
gitlabApiParams.include_subgroups = includeSubgroups
}

const includeArchived = Config.root.includeArchived
if (includeArchived === false) {
gitlabApiParams.archived = "false"
}

// Only use main level projects API if tighter scope not defined
const scopeType = Config.root.projectScope
// Reformat the variable as a flat list of Ids
Expand Down
1 change: 1 addition & 0 deletions src/config.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"maxAge": 168,
"fetchCount": 20,
"pipelinesOnly": false,
"includeArchived": false,
"autoZoom": false,
"showPipelineIds": true,
"showProjectOnlyOn": [],
Expand Down