.gitlab-ci.yml 478 Bytes
Newer Older
Jan Dinkelbach's avatar
Jan Dinkelbach committed
1
2
variables:
    DOCKER_TAG_DEV: ${CI_COMMIT_REF_NAME}
Jan Dinkelbach's avatar
Jan Dinkelbach committed
3
    DOCKER_IMAGE_DEV: cimpy
Jan Dinkelbach's avatar
Jan Dinkelbach committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  
stages:
- prepare
- generate

docker:
    stage: prepare
    script:
        - docker build -t ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV} .
    tags:
        - shell
        - linux


documentation:
    stage: generate
    script:
Jan Dinkelbach's avatar
Jan Dinkelbach committed
21
        - cd scripts && ./docu.sh
Jan Dinkelbach's avatar
Jan Dinkelbach committed
22
23
24
    image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
    artifacts:
        paths:
Jan Dinkelbach's avatar
Jan Dinkelbach committed
25
            - documentation
Jan Dinkelbach's avatar
Jan Dinkelbach committed
26
27
    tags:
        - docker