Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
189
Issues
189
List
Boards
Labels
Service Desk
Milestones
Merge Requests
31
Merge Requests
31
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Compare Revisions
9c2b20ce992717eb3e5a5ca52b2ceff9e76d7102...8cc00eeb4b8bead69cebe2be835a3c10f678097d
Source
8cc00eeb4b8bead69cebe2be835a3c10f678097d
Select Git revision
...
Target
9c2b20ce992717eb3e5a5ca52b2ceff9e76d7102
Select Git revision
Compare
Commits (2)
(feat): add staging to ci flow
· 1f13c666
Mark Harding
authored
6 minutes ago
1f13c666
(chore): add url to environments
· 8cc00eeb
Mark Harding
authored
5 minutes ago
8cc00eeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
.gitlab-ci.yml
.gitlab-ci.yml
+28
-1
No files found.
.gitlab-ci.yml
View file @
8cc00eeb
...
...
@@ -73,7 +73,7 @@ review:start:
on_stop
:
review:stop
except
:
refs
:
#
- master #staging
-
master
#staging
-
production
-
test/gitlab-ci
...
...
@@ -96,6 +96,30 @@ review:stop:
-
production
-
test/gitlab-ci
staging
:
stage
:
deploy
image
:
minds/helm-eks:latest
script
:
-
aws eks update-kubeconfig --name=sandbox
-
git clone --branch=sandbox-wip https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/minds/helm-charts.git
-
"
helm
upgrade
\
--install
\
--values=values-staging.yaml
\
--set
phpfpm.image.repository=$CI_REGISTRY_IMAGE/fpm
\
--set
phpfpm.image.tag=$CI_BUILD_REF
\
--set
runners.image.repository=$CI_REGISTRY_IMAGE/runners
\
--set
runners.image.tag=$CI_BUILD_REF
\
--wait
\
staging
\
./helm-charts/minds"
environment
:
name
:
staging
url
:
https://staging.minds.io/
only
:
refs
:
-
master
#staging
-
test/staging
canary:fpm
:
stage
:
deploy
image
:
minds/ci:latest
...
...
@@ -116,6 +140,7 @@ canary:fpm:
-
test/gitlab-ci
environment
:
name
:
canary
url
:
https://www.minds.com/
#requires canary cookie
production:fpm
:
stage
:
deploy
...
...
@@ -133,6 +158,7 @@ production:fpm:
-
aws ecs update-service --service=$ECS_APP_PRODUCTION_SERVICE --force-new-deployment --region us-east-1 --cluster=$ECS_CLUSTER
environment
:
name
:
production
url
:
https://www.minds.com/
when
:
manual
production:runners
:
...
...
@@ -155,3 +181,4 @@ production:runners:
-
test/gitlab-ci
environment
:
name
:
production
url
:
https://www.minds.com/
This diff is collapsed.
Click to expand it.