From 1845f4691a460d3634c0ba27559e678a479cb620 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Wed, 13 May 2020 23:37:34 +0200 Subject: [PATCH] Minor fixes on CICD * Remove blog container from container deploy until Dockerfile is present * Do not stop pushing package after an error --- containers/deploy | 2 +- packages/deploy | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/containers/deploy b/containers/deploy index af372d0..7fec963 100755 --- a/containers/deploy +++ b/containers/deploy @@ -27,7 +27,7 @@ function build_and_push_containers { build_and_push_container webserver build_and_push_container backend build_and_push_container frontend - build_and_push_container blog + # build_and_push_container blog } build_and_push_containers \ No newline at end of file diff --git a/packages/deploy b/packages/deploy index d7c29f9..4824d6b 100755 --- a/packages/deploy +++ b/packages/deploy @@ -7,14 +7,8 @@ function check_env_variables_are_setted { fi } -set +o errexit - check_env_variables_are_setted -set -o errexit -set -o pipefail -set -o nounset - function push_packages_on_npm { touch ~/.npmrc grep --fixed-strings --line-regexp --silent "//registry.npmjs.org/:_authToken=$NPM_TOKEN" ~/.npmrc || echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc