Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
management
Manage
Activity
Members
Labels
Plan
Issues
180
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dbnomics-fetchers
management
Merge requests
!8
Draft: Generate dashboard
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: Generate dashboard
gen_dashboard
into
master
Overview
1
Commits
8
Pipelines
8
Changes
2
Closed
Pierre Dittgen
requested to merge
gen_dashboard
into
master
3 years ago
Overview
1
Commits
8
Pipelines
8
Changes
1
Expand
Update CI to update dbnomics dashboard using
dbnomics-dashboard container image
0
0
Merge request reports
Viewing commit
a5aad7e7
Prev
Next
Show latest version
1 file
+
1
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a5aad7e7
Don't override entry-point
· a5aad7e7
Pierre Dittgen
authored
3 years ago
.gitlab-ci.yml
+
27
−
3
Options
stages
:
-
configure
-
deploy
Configure fetchers
:
stage
:
configure
only
:
changes
:
-
fetchers.yml
rules
:
-
changes
:
-
fetchers.yml
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
image
:
python:3.8
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
@@ -24,3 +26,25 @@ Configure fetchers:
echo "Configuring fetcher for provider ${provider_slug}"
dbnomics-fetchers -v configure $provider_slug
done
pages
:
stage
:
deploy
image
:
name
:
git.nomics.world:4567/dbnomics/dbnomics-dashboard:1.0
entrypoint
:
[
"
"
]
variables
:
FETCHERS_YML
:
fetchers.yml
GITLAB_BASE_URL
:
https://git.nomics.world
GRAFANA_DASHBOARD_URL
:
https://git.nomics.world/-/grafana/d/CjF6WPZMz/fetcher-pipelines-on-k8s
UI_BASE_URL
:
https://db.nomics.world
SOLR_URL
:
https://solr.db.nomics.world/solr/dbnomics
NB_DATA_MODEL_JOBS
:
"
1000"
NB_INDEXER_JOBS
:
"
1000"
resource_group
:
dashboard
before_script
:
-
mkdir public
script
:
-
python /app/generate-dashboard.py > public/index.html
artifacts
:
paths
:
-
public/