Dockerhub now returns 200 for DELETEs
We need to adapt to this, else the promote pipeline fails. Change-Id: Ie617efc8b9a7fefb565c67c796d42c87a1ee998f
This commit is contained in:
parent
924bf29c3d
commit
9bc813daa7
@ -15,6 +15,6 @@
|
|||||||
uri:
|
uri:
|
||||||
url: "https://hub.docker.com/v2/repositories/{{ image.repository }}/tags/{{ docker_tag.name }}/"
|
url: "https://hub.docker.com/v2/repositories/{{ image.repository }}/tags/{{ docker_tag.name }}/"
|
||||||
method: DELETE
|
method: DELETE
|
||||||
status_code: 204
|
status_code: [200,204]
|
||||||
headers:
|
headers:
|
||||||
Authorization: "JWT {{ jwt_token.json.token }}"
|
Authorization: "JWT {{ jwt_token.json.token }}"
|
||||||
|
@ -23,6 +23,6 @@
|
|||||||
uri:
|
uri:
|
||||||
url: "https://hub.docker.com/v2/repositories/{{ image.repository }}/tags/change_{{ zuul.change }}_{{ image_tag }}/"
|
url: "https://hub.docker.com/v2/repositories/{{ image.repository }}/tags/change_{{ zuul.change }}_{{ image_tag }}/"
|
||||||
method: DELETE
|
method: DELETE
|
||||||
status_code: 204
|
status_code: [200,204]
|
||||||
headers:
|
headers:
|
||||||
Authorization: "JWT {{ jwt_token.json.token }}"
|
Authorization: "JWT {{ jwt_token.json.token }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user