Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
boilerplate
ci
Commits
40293298
Commit
40293298
authored
4 years ago
by
Ilya Rassadin
Browse files
Options
Downloads
Patches
Plain Diff
try to address CEN-404
parent
e58e857f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
before_script.yml
+2
-0
2 additions, 0 deletions
before_script.yml
with
2 additions
and
0 deletions
before_script.yml
+
2
−
0
View file @
40293298
...
...
@@ -72,6 +72,8 @@ phpcs_test:
-
export PROJECT_SERVER="${CI_BUILD_REF_NAME^^}_PROJECT_SERVER"
-
export PROJECT_SITE="${CI_BUILD_REF_NAME^^}_PROJECT_SITE"
-
export PROJECT_PORT="${CI_BUILD_REF_NAME^^}_PROJECT_PORT"
-
[
$
{
#PROJECT_SERVER} -le 1 ] && echo "PROJECT_SERVER not set" && exit 1
-
[
$
{
#PROJECT_SITE} -le 1 ] && echo "PROJECT_SITE not set" && exit 1
- echo "$PRODUCTION_DEPLOY_KEY" > ~/.ssh/deploy.key
- chmod 0400 ~/.ssh/deploy.key
- export SSH_OPTS="-o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key -p $
{
!PROJECT_PORT:-22
}
"
...
...
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