Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nightlies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
nightlies
Commits
07e89018
There was a problem fetching the pipeline summary.
Commit
07e89018
authored
7 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Reposition ssh log
parent
985602c9
No related branches found
No related tags found
1 merge request
!25
New build strategy (closes #31)
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/rebuild.sh
+6
-6
6 additions, 6 deletions
scripts/rebuild.sh
with
6 additions
and
6 deletions
scripts/rebuild.sh
+
6
−
6
View file @
07e89018
...
@@ -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\t
StrictHostKeyChecking 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\t
StrictHostKeyChecking 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment