Skip to content
Snippets Groups Projects
Commit 07e89018 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Reposition ssh log

parent 985602c9
No related branches found
No related tags found
1 merge request!25New build strategy (closes #31)
Pipeline #
...@@ -25,12 +25,6 @@ CI_COMMIT_REF_NAME="${CI_COMMIT_REF_NAME:-@local}" ...@@ -25,12 +25,6 @@ CI_COMMIT_REF_NAME="${CI_COMMIT_REF_NAME:-@local}"
# The way to clone the repositories for this build # The way to clone the repositories for this build
GITLAB_CHECKOUT_STRATEGY="git@gitlab.idiap.ch:" GITLAB_CHECKOUT_STRATEGY="git@gitlab.idiap.ch:"
# If we build inside a Docker container, disables strict ssh key checking
if [[ "${OS_SLUG}" == "linux-64" ]]; then
log_info 'Disabling strict host key checking for SSH...'
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
fi
# Overrides some stuff # Overrides some stuff
if [ "${CI_COMMIT_REF_NAME}" == "@local" ]; then if [ "${CI_COMMIT_REF_NAME}" == "@local" ]; then
BOB_PACKAGE_VERSION="unknown" BOB_PACKAGE_VERSION="unknown"
...@@ -40,6 +34,12 @@ fi ...@@ -40,6 +34,12 @@ fi
source ${basedir}/_ci/functions.sh source ${basedir}/_ci/functions.sh
unset BOB_PACKAGE_VERSION unset BOB_PACKAGE_VERSION
# If we build inside a Docker container, disables strict ssh key checking
if [[ "${OS_SLUG}" == "linux-64" ]]; then
log_info 'Disabling strict host key checking for SSH...'
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
fi
# Setup project variables # Setup project variables
export_env CI_PROJECT_DIR export_env CI_PROJECT_DIR
export_env CI_PROJECT_NAME export_env CI_PROJECT_NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment