Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Orbit
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
Container Registry
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
Applications
Orbit
Commits
daa9dbf9
Commit
daa9dbf9
authored
5 years ago
by
plup
Browse files
Options
Downloads
Patches
Plain Diff
cicd: added alpha, paris and toulouse
parent
cc2ee01f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!118
WIP: joined circle spawns in my circles
Pipeline
#4773
passed with warnings
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+48
-10
48 additions, 10 deletions
.gitlab-ci.yml
with
48 additions
and
10 deletions
.gitlab-ci.yml
+
48
−
10
View file @
daa9dbf9
...
...
@@ -9,7 +9,7 @@ stages:
## VALIDATION ##
deploy_
test1
:
test1
:
stage
:
integration
environment
:
name
:
test1
...
...
@@ -26,7 +26,7 @@ deploy_test1:
tags
:
-
deploy
deploy_
test2
:
test2
:
stage
:
integration
environment
:
name
:
test2
...
...
@@ -43,7 +43,7 @@ deploy_test2:
tags
:
-
deploy
deploy_
test3
:
test3
:
stage
:
integration
environment
:
name
:
test3
...
...
@@ -60,7 +60,7 @@ deploy_test3:
tags
:
-
deploy
deploy_
stg1
:
stg1
:
stage
:
acceptance
environment
:
name
:
stg1
...
...
@@ -77,7 +77,7 @@ deploy_stg1:
tags
:
-
deploy
deploy_
stg2
:
stg2
:
stage
:
acceptance
environment
:
name
:
stg2
...
...
@@ -96,11 +96,28 @@ deploy_stg2:
## LIVE DEPLOYMENTS ##
deploy_nantes
:
alpha
:
stage
:
deployment
environment
:
name
:
paris
url
:
https://alpha.happy-dev.fr
script
:
-
echo "$APP_CONFIG_ALPHA" > config.json
-
echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
-
npm install
-
npm run build
-
scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* alpha@ssh-alpha.happy-dev.fr:~/sib/www/
only
:
-
master
when
:
manual
tags
:
-
deploy
nantes
:
stage
:
deployment
environment
:
name
:
nantes
url
:
https://nantes.happy-dev.fr
url
:
https://
app.
nantes.happy-dev.fr
script
:
-
echo "$APP_CONFIG_NANTESHD" > config.json
-
echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
...
...
@@ -113,13 +130,34 @@ deploy_nantes:
tags
:
-
deploy
deploy_
paris
:
paris
:
stage
:
deployment
environment
:
name
:
paris
url
:
https://paris.happy-dev.fr
url
:
https://app.paris.happy-dev.fr
script
:
-
echo "$APP_CONFIG_PARIS" > config.json
-
echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
-
npm install
-
npm run build
-
scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* paris@ssh-paris.happy-dev.fr:~/sib/www/
only
:
-
master
when
:
manual
tags
:
-
deploy
toulouse
:
stage
:
deployment
environment
:
name
:
toulouse
url
:
https://smart-toulouse.happy-dev.fr
script
:
-
echo 'Not happening yet...'
-
echo "$APP_CONFIG_TOULOUSE" > config.json
-
echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
-
npm install
-
npm run build
-
scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* smart-toulouse@ssh-smart-toulouse.happy-dev.fr:~/sib/www/
only
:
-
master
when
:
manual
...
...
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