Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ecolyo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
Ecolyo
Commits
d3477112
Commit
d3477112
authored
2 years ago
by
Hugo NOUTS
Browse files
Options
Downloads
Patches
Plain Diff
test ci
parent
f3b4a457
No related branches found
No related tags found
1 merge request
!788
Resolve "[?] Comprendre que le connecteur est en maintenance même lorsque je suis déconnecté"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-21
18 additions, 21 deletions
.gitlab-ci.yml
with
18 additions
and
21 deletions
.gitlab-ci.yml
+
18
−
21
View file @
d3477112
...
...
@@ -11,6 +11,7 @@ stages:
-
quality
-
test
-
build
-
push-build
-
deploy
-
publish
...
...
@@ -42,7 +43,7 @@ build_stack:
-
master
-
dev
when
:
manual
sonarqube-mr
:
stage
:
quality
only
:
...
...
@@ -123,16 +124,15 @@ build-mr:
-
merge_requests
artifacts
:
paths
:
-
build
-
build
/
build-for-
test
ing
:
stage
:
build
push_to_
test
:
stage
:
push-
build
before_script
:
-
apk add git
-
apk add bash
script
:
-
yarn
-
yarn build-dev
-
ls build
-
git config --global user.name build-pipeline
-
git config --global user.email "$GIT_USER"
-
git config --global user.password "$GIT_PWD"
...
...
@@ -142,17 +142,16 @@ build-for-testing:
-
yarn deploy-test
only
:
-
merge_requests
needs
:
-
build-mr
when
:
manual
build-dev-branch
:
stage
:
build
push_to_dev
:
stage
:
push-build
before_script
:
-
apk add git
-
apk add bash
script
:
-
yarn
-
yarn build-dev
-
git config --global user.name build-pipeline
-
git config --global user.email "$GIT_USER"
-
git config --global user.password "$GIT_PWD"
...
...
@@ -162,15 +161,15 @@ build-dev-branch:
-
yarn deploy-dev
only
:
-
dev
needs
:
-
build-mr
build
:
stage
:
build
push_to_master
:
stage
:
push-
build
before_script
:
-
apk add git
-
apk add bash
script
:
-
yarn
-
yarn build
-
git config --global user.name build-pipeline
-
git config --global user.email "$GIT_USER"
-
git config --global user.password "$GIT_PWD"
...
...
@@ -181,15 +180,13 @@ build:
only
:
-
master
deploy
-to-
dev
:
deploy
_
dev
:
stage
:
deploy
tags
:
-
deploy-alpha
script
:
-
cd /root/ecolyo-infra-scripts/cicid_scripts
-
'
./update_ecolyo_dev.sh'
dependencies
:
-
build-for-testing
only
:
-
merge_requests
environment
:
...
...
@@ -197,7 +194,7 @@ deploy-to-dev:
url
:
https://ecolyo.dev.cozy.self-data.alpha.grandlyon.com/
when
:
manual
deploy
-to-ecolyo
demo
:
deploy
_
demo
:
stage
:
deploy
tags
:
-
deploy-alpha
...
...
@@ -210,7 +207,7 @@ deploy-to-ecolyodemo:
name
:
ecolyodemo
url
:
https://ecolyo.ecolyodemo.cozy.self-data.alpha.grandlyon.com/
deploy
-to-all-instances
:
deploy
_all
:
stage
:
deploy
tags
:
-
deploy-alpha
...
...
@@ -228,4 +225,4 @@ publish:
-
yarn cozyPublish
only
:
-
tags
when
:
manual
\ No newline at end of file
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