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 .
|
2020-04-29 00:43:56 +02:00
|
|
|
rules:
|
|
|
|
- if: $CI_MERGE_REQUEST_ID
|
2020-05-30 21:10:28 +02:00
|
|
|
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 .
|
2020-04-29 00:43:56 +02:00
|
|
|
rules:
|
|
|
|
- if: $CI_MERGE_REQUEST_ID
|
2020-05-30 21:10:28 +02:00
|
|
|
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 .
|
2020-04-29 00:43:56 +02:00
|
|
|
rules:
|
|
|
|
- if: $CI_MERGE_REQUEST_ID
|
2020-05-30 21:10:28 +02:00
|
|
|
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)
|
|
|
|
- latexmk -pdf documentation
|
|
|
|
- mv "documentation.pdf" "documentation-${CI_JOB_TIMESTAMP}.pdf"
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- "documentation*.pdf"
|
|
|
|
rules:
|
|
|
|
- if: $CI_MERGE_REQUEST_ID
|
|
|
|
changes:
|
|
|
|
- documentation/**/*
|
|
|
|
when: always
|
|
|
|
- when: never
|