Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
piphone-front
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
0f8dbf9b
Commit
0f8dbf9b
authored
Jun 13, 2017
by
Okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improving the CI
parent
e5135eb9
Pipeline
#1109
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
11 deletions
+37
-11
.gitlab-ci.yml
.gitlab-ci.yml
+37
-11
No files found.
.gitlab-ci.yml
View file @
0f8dbf9b
before_script
:
-
'
[[
-d
/srv/piphone/
]]
||
mkdir
-p
/srv/piphone/'
-
'
which
git
||
(apt-get
update
-yq
&&
apt-get
install
git
-yqq)'
-
'
which
curl
||(apt-get
update
-yq
&&
apt-get
install
curl
-yqq)'
job install
:
job composer install
:
environment
:
preprod
script
:
-
chmod a+x ci/install.sh
-
./ci/install.sh
stage
:
deploy
tags
:
-
preprod
-
composer install
-
composer update
artifacts
:
paths
:
-
vendor/
expire_in
:
1 day
stage
:
build
tags
:
[
preprod
]
only
:
-
master
job deploy preprod
:
variables
:
BASE_PATH
:
/srv/piphone/frontend/
environment
:
preprod
script
:
-
rsync -ruvC ./ ${BASE_PATH}
stage
:
deploy
tags
:
[
preprod
]
only
:
-
master
job deploy production
:
variables
:
BASE_PATH
:
/srv/piphone/frontend
environment
:
production
script
:
-
rscyn -ruvC ./ ${BASE_PATH}
stage
:
deploy
only
:
-
master
when
:
manual
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