mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-06-13 22:00:54 +02:00
fix wrong conditions
This commit is contained in:
parent
c9e074f724
commit
186c3d39ff
|
@ -340,6 +340,9 @@ local PipelineNotifications = {
|
||||||
password: { from_secret: 'docker_password' },
|
password: { from_secret: 'docker_password' },
|
||||||
spec: 'docker/manifest.tmpl',
|
spec: 'docker/manifest.tmpl',
|
||||||
},
|
},
|
||||||
|
when: {
|
||||||
|
status: ['success'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: 'plugins/manifest',
|
image: 'plugins/manifest',
|
||||||
|
@ -351,6 +354,9 @@ local PipelineNotifications = {
|
||||||
password: { from_secret: 'quay_password' },
|
password: { from_secret: 'quay_password' },
|
||||||
spec: 'docker/manifest-quay.tmpl',
|
spec: 'docker/manifest-quay.tmpl',
|
||||||
},
|
},
|
||||||
|
when: {
|
||||||
|
status: ['success'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'pushrm-dockerhub',
|
name: 'pushrm-dockerhub',
|
||||||
|
@ -396,6 +402,9 @@ local PipelineNotifications = {
|
||||||
username: { from_secret: 'matrix_username' },
|
username: { from_secret: 'matrix_username' },
|
||||||
password: { from_secret: 'matrix_password' },
|
password: { from_secret: 'matrix_password' },
|
||||||
},
|
},
|
||||||
|
when: {
|
||||||
|
status: ['success', 'failure'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
depends_on: [
|
depends_on: [
|
||||||
|
|
12
.drone.yml
12
.drone.yml
|
@ -481,6 +481,9 @@ steps:
|
||||||
spec: docker/manifest.tmpl
|
spec: docker/manifest.tmpl
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
|
||||||
- name: manifest-quay
|
- name: manifest-quay
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
|
@ -492,6 +495,9 @@ steps:
|
||||||
spec: docker/manifest-quay.tmpl
|
spec: docker/manifest-quay.tmpl
|
||||||
username:
|
username:
|
||||||
from_secret: quay_username
|
from_secret: quay_username
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
|
||||||
- name: pushrm-dockerhub
|
- name: pushrm-dockerhub
|
||||||
pull: always
|
pull: always
|
||||||
|
@ -532,6 +538,10 @@ steps:
|
||||||
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
||||||
username:
|
username:
|
||||||
from_secret: matrix_username
|
from_secret: matrix_username
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
|
@ -546,6 +556,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 5db60cc32b8f71807d98da64e9545392e4b5bb171a64315190b080fedd855138
|
hmac: 73b23f5d961d3e6c17837449c948e9c367ca1283ae709786538cd99ab41a99a5
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user