Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
services
T
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
ba441643
Commit
ba441643
authored
Jun 22, 2017
by
Thomas Löffler
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'change-to-stage-server' into 'develop'
fixes ssh for new server See merge request
!88
parents
c3e24344
f697c4d5
Pipeline
#1054
passed with stages
in 2 minutes and 43 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
.gitlab-ci.yml
.gitlab-ci.yml
+5
-8
No files found.
.gitlab-ci.yml
View file @
ba441643
...
...
@@ -50,9 +50,10 @@ layout:
before_script
:
-
apk add openssh-client bash --no-cache
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | ssh-add -
-
ssh-keyscan extensions-stage.typo3.org >> /root/.ssh/known_hosts
-
ssh-keyscan extensions.typo3.org >> /root/.ssh/known_hosts
-
echo "$SSH_PRIVATE_KEY_STAGE" | ssh-add -
-
echo "$SSH_PRIVATE_KEY_PRODUCTION" | ssh-add -
-
ssh-keyscan -p 22191 extensions-stage.typo3.org >> /root/.ssh/known_hosts
-
ssh-keyscan -p 22179 extensions.typo3.org >> /root/.ssh/known_hosts
script
:
-
VERSION=4.0.0-alpine ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME}
when
:
manual
...
...
@@ -63,8 +64,6 @@ layout:
deploy-master
:
<<
:
*deploy_template
variables
:
SSH_PRIVATE_KEY
:
"
$SSH_PRIVATE_KEY_PRODUCTION"
environment
:
name
:
master
url
:
https://extensions.typo3.org/
...
...
@@ -73,8 +72,6 @@ deploy-master:
deploy-develop
:
<<
:
*deploy_template
variables
:
SSH_PRIVATE_KEY
:
"
$SSH_PRIVATE_KEY_STAGE"
environment
:
name
:
develop
url
:
https://extensions-stage.typo3.org/
...
...
@@ -97,4 +94,4 @@ dump-assets:
when
:
only
:
-
assets
except
:
except
:
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment