Przeglądaj źródła

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 lat temu
rodzic
commit
1845f4691a
2 zmienionych plików z 1 dodań i 7 usunięć
  1. +1
    -1
      containers/deploy
  2. +0
    -6
      packages/deploy

+ 1
- 1
containers/deploy Wyświetl plik

@@ -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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz