From 9d8314bef72f5eb93387c6d14d58bdd443df86b6 Mon Sep 17 00:00:00 2001 From: Boris Glimcher Date: Sun, 14 Apr 2024 00:23:07 +0300 Subject: [PATCH] ci: add tacklebox validation to ci Signed-off-by: Boris Glimcher --- .github/workflows/docker.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 24de80c..b6ebb8f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -30,6 +30,26 @@ jobs: docker logs "${name}" exit 1 fi + - name: Verify tacklebox no-ssl success + run: | + set -x + name=$(docker-compose ps | grep test-utils | grep -v ssl | awk '{print $1}') + rc=$(docker wait "${name}") + if [ "${rc}" != "0" ]; then + echo "test failed:" + docker logs "${name}" + exit 1 + fi + - name: Verify tacklebox ssl success + run: | + set -x + name=$(docker-compose ps | grep test-utils-ssl | awk '{print $1}') + rc=$(docker wait "${name}") + if [ "${rc}" != "0" ]; then + echo "test-ssl failed:" + docker logs "${name}" + exit 1 + fi - name: Logs if: always() run: docker-compose logs