File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 4
4
needs : ["diff", "tidy", "docker-build"]
5
5
rules :
6
6
- if : $CI_PIPELINE_SOURCE == 'merge_request_event'
7
- - if : $ CI_PIPELINE_SOURCE == 'push'
7
+ - if : " $CI_PROJECT_NAMESPACE != 'haproxy-controller' && $ CI_PIPELINE_SOURCE == 'push'"
8
8
- if : $CI_PIPELINE_SOURCE == 'schedule'
9
9
image : $CI_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
10
10
services :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ docker-build:
3
3
needs : []
4
4
rules :
5
5
- if : $CI_PIPELINE_SOURCE == 'merge_request_event'
6
- - if : $ CI_PIPELINE_SOURCE == 'push'
6
+ - if : " $CI_PROJECT_NAMESPACE != 'haproxy-controller' && $ CI_PIPELINE_SOURCE == 'push'"
7
7
- if : $CI_PIPELINE_SOURCE == 'schedule'
8
8
image : $CI_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
9
9
services :
Original file line number Diff line number Diff line change 2
2
stage : diff
3
3
rules :
4
4
- if : $CI_PIPELINE_SOURCE == 'merge_request_event'
5
- - if : $ CI_PIPELINE_SOURCE == 'push'
5
+ - if : " $CI_PROJECT_NAMESPACE != 'haproxy-controller' && $ CI_PIPELINE_SOURCE == 'push'"
6
6
image :
7
7
name : $CI_REGISTRY_GO/golang:$GO_VERSION
8
8
entrypoint : [ "" ]
@@ -17,7 +17,7 @@ diff-crd:
17
17
stage : diff
18
18
rules :
19
19
- if : $CI_PIPELINE_SOURCE == 'merge_request_event'
20
- - if : $ CI_PIPELINE_SOURCE == 'push'
20
+ - if : " $CI_PROJECT_NAMESPACE != 'haproxy-controller' && $ CI_PIPELINE_SOURCE == 'push'"
21
21
image :
22
22
name : $CI_REGISTRY_GO/golang:$GO_VERSION
23
23
entrypoint : [ "" ]
Original file line number Diff line number Diff line change 4
4
needs : []
5
5
rules :
6
6
- if : $CI_PIPELINE_SOURCE == 'merge_request_event'
7
- - if : $ CI_PIPELINE_SOURCE == 'push'
7
+ - if : " $CI_PROJECT_NAMESPACE != 'haproxy-controller' && $ CI_PIPELINE_SOURCE == 'push'"
8
8
image :
9
9
name : $CI_REGISTRY_GO/golang:$GO_VERSION
10
10
entrypoint : [""]
@@ -18,7 +18,7 @@ gofumpt:
18
18
needs : []
19
19
rules :
20
20
- if : $CI_PIPELINE_SOURCE == 'merge_request_event'
21
- - if : $ CI_PIPELINE_SOURCE == 'push'
21
+ - if : " $CI_PROJECT_NAMESPACE != 'haproxy-controller' && $ CI_PIPELINE_SOURCE == 'push'"
22
22
image :
23
23
name : $CI_REGISTRY_GO/golang:$GO_VERSION
24
24
entrypoint : [""]
@@ -32,7 +32,7 @@ golangci_lint:
32
32
needs : []
33
33
rules :
34
34
- if : $CI_PIPELINE_SOURCE == 'merge_request_event'
35
- - if : $ CI_PIPELINE_SOURCE == 'push'
35
+ - if : " $CI_PROJECT_NAMESPACE != 'haproxy-controller' && $ CI_PIPELINE_SOURCE == 'push'"
36
36
image :
37
37
name : $CI_REGISTRY_GO/golang:$GO_VERSION
38
38
entrypoint : [""]
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ unit-tests:
2
2
needs : ["diff", "tidy"]
3
3
rules :
4
4
- if : $CI_PIPELINE_SOURCE == 'merge_request_event'
5
- - if : $ CI_PIPELINE_SOURCE == 'push'
5
+ - if : " $CI_PROJECT_NAMESPACE != 'haproxy-controller' && $ CI_PIPELINE_SOURCE == 'push'"
6
6
stage : unit-tests
7
7
image :
8
8
name : $CI_REGISTRY_GO/haproxy-alpine:3.2-go$GO_VERSION
You can’t perform that action at this time.
0 commit comments