.gitlab-ci.yml 1.02 KB
Newer Older
1
2
3
4
5
6
7
8
9
image: python:latest

mr_center:
  before_script:
    - pip install -r requirements.txt
  script:
    - TOKEN=$GITLAB_TOKEN python mr_center.py
  artifacts:
    paths:
10
      - public/mr.html
11
12
13
14
15
16
17
18
19
    expire_in: 1 hour

pipelines_status:
  before_script:
    - pip install -r requirements.txt
  script:
    - TOKEN=$GITLAB_TOKEN python pipelines_status.py
  artifacts:
    paths:
20
      - public/pipelines.html
21
    expire_in: 1 hour
22

Laurent Peuch's avatar
Laurent Peuch committed
23
24
25
26
27
28
29
30
cubes_qa:
  before_script:
    - pip install -r requirements.txt
  script:
    - TOKEN=$GITLAB_TOKEN python qa_dashboard.py
  artifacts:
    paths:
      - public/qa.html
31
      - public/qa/
Laurent Peuch's avatar
Laurent Peuch committed
32
33
    expire_in: 1 hour

34
35
36
37
38
39
40
41
42
43
deprecated_warnings:
  before_script:
    - pip install -r requirements.txt
  script:
    - TOKEN=$GITLAB_TOKEN python deprecated-warnings.py
  artifacts:
    paths:
      - public/deprecated-warnings.html
    expire_in: 1 hour

44
45
pages:
  stage: deploy
46
47
48
  only:
    refs:
      - branch/default
49
  script:
50
    - echo "gitlab absolutly wants a script with something"
51
52
53
  artifacts:
    paths:
      - public