Skip to content
Snippets Groups Projects
Commit d6d54b42 authored by Richard Bachmann's avatar Richard Bachmann
Browse files

Remove docs CI stage, moved to submodule

parent 87177518
No related branches found
No related tags found
No related merge requests found
Pipeline #48860 failed
......@@ -9,7 +9,6 @@ stages:
- shouldfail
- publish_rpm
- release_rpm
- docs
variables:
XROOTD_VERSION: 4
......
catalogue_schema_draw:
stage: docs
image: gitlab-registry.cern.ch/cta/eoscta-operations/registry/container_registry/cta-schemacrawler
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
changes:
- catalogue/common_catalogue_schema.sql
when: on_success
allow_failure: true
script:
- echo "Generating DB schema drawing"
- mkdir drawings
- sqlite3 common_db.sqlite < catalogue/common_catalogue_schema.sql
- /opt/schemacrawler/bin/schemacrawler.sh --server=sqlite --database=common_db.sqlite --command=script --script-language=python --script=/opt/mermaid.py --info-level=standard > drawings/db_schema.mmd
- /opt/schemacrawler/bin/schemacrawler.sh --server=sqlite --database=common_db.sqlite --command=schema --outputformat=png --info-level=standard --output-file=drawings/db_schema.png
- /opt/schemacrawler/bin/schemacrawler.sh --server=sqlite --database=common_db.sqlite --command=schema --outputformat=svg --info-level=standard --output-file=drawings/db_schema.svg
artifacts:
when: always
expire_in: 30 days # Pipeline artifacts from the latest pipeline are kept forever.
paths:
- drawings/
trigger_doc_update:
stage: docs
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
changes:
- catalogue/common_catalogue_schema.sql
when: manual
allow_failure: true
trigger:
project: CTA/eoscta-docs
strategy: depend
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment