Skip to content
Snippets Groups Projects
Commit 867d9cf6 authored by Pascal Osterwinter's avatar Pascal Osterwinter
Browse files

Testing Pipeline for schema-link-checker

parent 5c2ef00b
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,9 @@ include:
stages:
- build
- upload
- validate
build:
.build:
stage: build
image: node:lts-alpine
variables:
......@@ -33,7 +34,7 @@ build:
rules:
- when: always
upload:preview:
.upload:preview:
stage: upload
image: alpine:latest
environment:
......@@ -51,7 +52,7 @@ upload:preview:
- ssh -o CheckHostIP=no fitko@dorado.uberspace.de mkdir -p preview.docs.fitko.dev/fit-connect
- rsync -rLvz --delete --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:preview.docs.fitko.dev/fit-connect/$CI_COMMIT_REF_SLUG
upload:production:
.upload:production:
stage: upload
image: alpine:latest
environment:
......@@ -67,7 +68,7 @@ upload:production:
- ssh -o CheckHostIP=no fitko@dorado.uberspace.de mkdir -p docs.fitko.de/fit-connect
- rsync -rLvz --delete --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:docs.fitko.de/fit-connect
stop:preview:
.stop:preview:
stage: .post
image: alpine:latest
environment:
......@@ -82,3 +83,15 @@ stop:preview:
- *pre-deploy-uber-space-setup
script:
- ssh fitko@dorado.uberspace.de "rm -rf preview.docs.fitko.dev/fit-connect/$CI_COMMIT_REF_SLUG"
link-check:
stage: validate
variables:
CRAWLER_URL: https://docs.fitko.de/fit-connect/docs
CRAWLER_DOMAIN: docs.fitko.de/fit-connect/docs
needs:
- upload:preview
trigger:
strategy: depend
project: fit-connect/schema-link-checker
branch: main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment