From 894d7c802321d26f4c5a5656b83d9a7bdc405325 Mon Sep 17 00:00:00 2001 From: therecipe Date: Mon, 19 Jun 2017 19:37:47 +0200 Subject: [PATCH] fix docker trigger image again --- internal/docker/trigger/trigger.sh | 14 -------------- internal/docker/trigger/trigger.test.yml | 11 ++++++++++- 2 files changed, 10 insertions(+), 15 deletions(-) delete mode 100755 internal/docker/trigger/trigger.sh diff --git a/internal/docker/trigger/trigger.sh b/internal/docker/trigger/trigger.sh deleted file mode 100755 index 13399af3..00000000 --- a/internal/docker/trigger/trigger.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -curl -H "Content-Type: application/json" --data '{"docker_tag": "linux"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "android"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi1"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ -curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi3"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ - -exit 1 diff --git a/internal/docker/trigger/trigger.test.yml b/internal/docker/trigger/trigger.test.yml index 1c47a82b..8df1e794 100644 --- a/internal/docker/trigger/trigger.test.yml +++ b/internal/docker/trigger/trigger.test.yml @@ -1,3 +1,12 @@ sut: build: . - command: trigger.sh + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "linux"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "android"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi1"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/ + command: curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi3"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/