Browse Source

Minor fixes on CICD

* Remove blog container from container deploy until Dockerfile is present
 * Do not stop pushing package after an error
pull/531/head
Guillaume Vincent 4 years ago
parent
commit
1845f4691a
2 changed files with 1 additions and 7 deletions
  1. +1
    -1
      containers/deploy
  2. +0
    -6
      packages/deploy

+ 1
- 1
containers/deploy View File

@@ -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

+ 0
- 6
packages/deploy View File

@@ -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


Loading…
Cancel
Save