Skip to content
Snippets Groups Projects

Draft: Generate dashboard

Closed Pierre Dittgen requested to merge gen_dashboard into master
Files
2
+ 7
6
@@ -4,9 +4,10 @@ stages:
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"
@@ -26,10 +27,10 @@ Configure fetchers:
dbnomics-fetchers -v configure $provider_slug
done
Pages:
pages:
stage: deploy
image:
name: git.nomics.world:4567/dbnomics/dbnomics-dashboard:v1.0
name: git.nomics.world:4567/dbnomics/dbnomics-dashboard:1.0
entrypoint: [""]
variables:
FETCHERS_YML: fetchers.yml
@@ -43,7 +44,7 @@ Pages:
before_script:
- mkdir public
script:
- python generate-dashboard.py > public/index.html
- python /app/generate-dashboard.py > public/index.html
artifacts:
paths:
- public/