chore: exclude promotion event

We need to exclude the promotion event in a number of places.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
Andrew Rynhard 2019-08-12 18:28:42 +00:00
parent ae77d6e053
commit 57db8a77b7
2 changed files with 28 additions and 12 deletions

View File

@ -321,7 +321,10 @@ steps:
path: /tmp
when:
event:
- push
include:
- push
exclude:
- promote
depends_on:
- basic-integration
@ -360,11 +363,9 @@ trigger:
cron:
exclude:
- nightly
target:
event:
exclude:
- e2e
- conformance
- release
- promote
---
kind: pipeline
@ -689,7 +690,10 @@ steps:
path: /tmp
when:
event:
- push
include:
- push
exclude:
- promote
depends_on:
- basic-integration
@ -1192,7 +1196,10 @@ steps:
path: /tmp
when:
event:
- push
include:
- push
exclude:
- promote
depends_on:
- basic-integration
@ -1697,7 +1704,10 @@ steps:
path: /tmp
when:
event:
- push
include:
- push
exclude:
- promote
depends_on:
- basic-integration
@ -2202,7 +2212,10 @@ steps:
path: /tmp
when:
event:
- push
include:
- push
exclude:
- promote
depends_on:
- basic-integration

View File

@ -191,7 +191,10 @@ local push = {
commands: ["make gitmeta", "make login", "make push"],
volumes: volumes.ForStep(),
when: {
event: ["push"],
event: {
include: ["push"],
exclude: ["promote"],
},
},
depends_on: [basic_integration.name],
};
@ -222,8 +225,8 @@ local default_trigger = {
cron: {
exclude: ["nightly"]
},
target: {
exclude: ["e2e", "conformance", "release"]
event: {
exclude: ["promote"]
},
},
};