.gitlab-ci.yml 474 Bytes
Newer Older
Kelly Hair's avatar
testing  
Kelly Hair committed
1 2 3
image: alpine:latest

stages: 
Kelly Hair's avatar
another  
Kelly Hair committed
4
  - build cluster
Kelly Hair's avatar
testing  
Kelly Hair committed
5 6 7
  - build code
  - cluster down

Kelly Hair's avatar
Kelly Hair committed
8 9
build cluster:
  stage: build cluster
Kelly Hair's avatar
shoot  
Kelly Hair committed
10
  variables: 
Kelly Hair's avatar
Ready  
Kelly Hair committed
11
     CLUSTER_STATE: "UP"
Kelly Hair's avatar
Kelly Hair committed
12
  trigger: 
Kelly Hair's avatar
Kelly Hair committed
13
    project: khair1-group/project-b
Kelly Hair's avatar
Kelly Hair committed
14
    strategy: depend
Kelly Hair's avatar
Kelly Hair committed
15

Kelly Hair's avatar
testing  
Kelly Hair committed
16 17 18 19 20
build code: 
  stage: build code
  script: 
    - echo "building"

Kelly Hair's avatar
yes2  
Kelly Hair committed
21 22
cluster down:
  variables: 
Kelly Hair's avatar
Ready  
Kelly Hair committed
23
     CLUSTER_STATE: "DOWN"
Kelly Hair's avatar
yes2  
Kelly Hair committed
24
  stage: cluster down
Kelly Hair's avatar
Kelly Hair committed
25 26 27
  trigger: 
    project: khair1-group/project-b
    strategy: depend
Kelly Hair's avatar
Kelly Hair committed
28

Kelly Hair's avatar
Kelly Hair committed
29
# Adding line to kickoff run