ubiquitous-computing-geo-ti.../.gitlab-ci.yml

64 lines
1.2 KiB
YAML
Raw Normal View History

2020-04-28 23:27:03 +02:00
build-vue:
image: docker:latest
stage: build
services:
- docker:dind
script:
- cd frontend
- docker build --pull -t vue .
rules:
- if: $CI_MERGE_REQUEST_ID
changes:
- frontend/**/*
when: always
- when: never
2020-04-28 23:27:03 +02:00
build-backend:
image: docker:latest
stage: build
services:
- docker:dind
script:
- cd backend
- docker build --pull -t backend .
rules:
- if: $CI_MERGE_REQUEST_ID
changes:
- backend/**/*
when: always
- when: never
2020-04-28 23:27:03 +02:00
build-android:
2020-05-11 23:26:01 +02:00
image: docker:latest
2020-04-28 23:27:03 +02:00
stage: build
2020-05-11 23:26:01 +02:00
services:
- docker:dind
2020-04-28 23:27:03 +02:00
script:
2020-05-11 23:26:01 +02:00
- cd android
- docker build --pull -t android .
rules:
- if: $CI_MERGE_REQUEST_ID
changes:
- android/**/*
when: always
- when: never
2020-05-30 21:39:00 +02:00
build-documentation:
image: icaotix/latex:full-incremental
stage: build
script:
- export CI_JOB_TIMESTAMP=$(date --utc -I)
2020-05-30 22:10:12 +02:00
- cd documentation
2020-05-30 21:39:00 +02:00
- latexmk -pdf documentation
- mv "documentation.pdf" "documentation-${CI_JOB_TIMESTAMP}.pdf"
artifacts:
paths:
2020-05-30 22:10:12 +02:00
- "**/documentation*.pdf"
2020-05-30 21:39:00 +02:00
rules:
- if: $CI_MERGE_REQUEST_ID
changes:
- documentation/**/*
when: always
- when: never