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
02f3d9ce
Unverified
Commit
02f3d9ce
authored
Mar 03, 2017
by
Sascha Marcel Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial test of gitlab-ci configuration
parent
f65a941a
Pipeline
#25
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
.gitlab-ci.yml
.gitlab-ci.yml
+57
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
02f3d9ce
variables
:
GIT_STRATEGY
:
"
none"
before_script
:
-
composer config -g store-auths
false
-
composer config http-basic.git-t3o.typo3.org ${GIT_USER_NAME} ${GIT_PASSWORD}
stages
:
-
init
-
build
-
deploy
init
:
stage
:
init
variable
:
GIT_STRATEGY
:
"
clone"
script
:
-
git clone --branch master
https://github.com/torvitas/docker-scripts.git
./scripts
artifacts
:
paths
:
-
./
expire_in
:
'
1h'
environment
:
${CI_BUILD_REF_NAME}
build
:
stage
:
build
script
:
-
./scripts/composer.sh install
artifacts
:
paths
:
-
./
expire_in
:
'
7d'
environment
:
${CI_BUILD_REF_NAME}
deploy-master
:
stage
:
deploy
script
:
-
./scripts/deployer.sh ${CI_BUILD_REF_NAME}
environment
:
name
:
master
url
:
https://t3o-master.typo3.org/
when
:
manual
only
:
-
master
deploy-develop
:
stage
:
deploy
script
:
-
./scripts/deployer.sh ${CI_BUILD_REF_NAME}
environment
:
name
:
develop
url
:
https://t3o-develop.typo3.org/
when
:
manual
only
:
-
develop
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