.gitlab-ci.yml 1.47 KB
Newer Older
Marian Babik's avatar
Marian Babik committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
variables:
  DOCKER_VERSION: "17.05"

build:etf_cms_qa:
  stage: build
  environment: qa
  script: "echo Done"
  only:
    - qa
  tags:
    - docker-image-build
  variables:
    TO: gitlab-registry.cern.ch/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/etf-cms:qa

#build:triggers_qa:
#  stage: deploy
#  dependencies:
#    - build:base_qa
#  only:
#    - qa
#  script:
#    - "curl -X POST -F token=b1a43843b6d3a9ec5d81cd11cc5f4d -F ref=qa https://gitlab.cern.ch/api/v4/projects/12157/trigger/pipeline"
#build:exp_qa:
#  stage: build
#  environment: qa
#  script: "echo Done"
#  only:
#    - qa
#  tags:
#    - docker-image-build
#  variables:
#    CONTEXT_DIR: etf-exp
#    TO: gitlab-registry.cern.ch/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/exp:qa

build:etf_cms_stable:
  stage: build
  environment: production
  script: "echo Done"
  only:
    - master
  tags:
    - docker-image-build
  variables:
    TO: gitlab-registry.cern.ch/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/etf-cms:latest

#build:triggers_stable:
#  stage: deploy
#  dependencies:
#    - build:base_stable
#  only:
#    - master
#  script:
#    - "curl -X POST -F token=b1a43843b6d3a9ec5d81cd11cc5f4d -F ref=master https://gitlab.cern.ch/api/v4/projects/12157/trigger/pipeline"
#build:exp_prod:
#  stage: build
#  environment: production
#  script: "echo Done"
#  only:
#    - master
#  tags:
#    - docker-image-build
#  variables:
#    CONTEXT_DIR: etf-exp
#    TO: gitlab-registry.cern.ch/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/exp:latest