diff --git a/.drone.yml b/.drone.yml index 148bf31e6..4f53ffd8e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/hack/drone.jsonnet b/hack/drone.jsonnet index 08e019b87..654b611e1 100644 --- a/hack/drone.jsonnet +++ b/hack/drone.jsonnet @@ -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"] }, }, };