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
163
Issues
163
List
Boards
Labels
Service Desk
Milestones
Merge Requests
49
Merge Requests
49
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
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
Commits
2de6fdd5
Commit
2de6fdd5
authored
2 hours ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): upload all docker images
parent
a7925db0
No related merge requests found
Pipeline
#68298724
failed with stages
in 8 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
9 deletions
+26
-9
.gitlab-ci.yml
.gitlab-ci.yml
+26
-9
No files found.
.gitlab-ci.yml
View file @
2de6fdd5
...
...
@@ -6,6 +6,7 @@ services:
stages
:
-
build
-
test
-
prepare
-
deploy
cache
:
...
...
@@ -35,14 +36,32 @@ test:
-
docker-php-ext-install gd
-
bin/phpspec run
prepare:fpm
:
stage
:
prepare
image
:
minds/ci:latest
script
:
-
$(aws ecr get-login --no-include-email --region us-east-1)
-
docker build -t $REPOSITORY_URL_FPM:$CI_BUILD_REF -f containers/php-fpm/Dockerfile .
-
docker push $REPOSITORY_URL_FPM-$CI_BUILD_REF
environment
:
name
:
staging
prepare:runners
:
stage
:
prepare
image
:
minds/ci:latest
script
:
-
$(aws ecr get-login --no-include-email --region us-east-1)
-
docker build -t $REPOSITORY_URL_RUNNERS-$CI_BUILD_REF -f containers/php-runners/Dockerfile .
-
docker push $REPOSITORY_URL_RUNNERS-$CI_BUILD_REF
environment
:
name
:
staging
deploy:fpm
:
stage
:
deploy
image
:
docker
:latest
image
:
minds/ci
:latest
script
:
-
apk add --no-cache curl jq python py-pip
-
pip install awscli
-
docker build -t $REPOSITORY_URL_FPM -f containers/php-fpm/Dockerfile .
-
$(aws ecr get-login --no-include-email --region us-east-1)
-
docker tag $REPOSITORY_URL_FPM-$CI_BUILD_REF $REPOSITORY_URL_FPM
-
docker push $REPOSITORY_URL_FPM
-
aws ecs update-service --service=$SERVICE_FPM --force-new-deployment --region us-east-1 --cluster=$CLUSTER
only
:
...
...
@@ -54,12 +73,10 @@ deploy:fpm:
deploy:runners
:
stage
:
deploy
image
:
docker
:latest
image
:
minds/ci
:latest
script
:
-
apk add --no-cache curl jq python py-pip
-
pip install awscli
-
docker build -t $REPOSITORY_URL_RUNNERS -f containers/php-runners/Dockerfile .
-
$(aws ecr get-login --no-include-email --region us-east-1)
-
docker tag $REPOSITORY_URL_RUNNERS-$CI_BUILD_REF $REPOSITORY_URL_RUNNERS
-
docker push $REPOSITORY_URL_RUNNERS
-
aws ecs update-service --service=$SERVICE_RUNNERS --force-new-deployment --region us-east-1 --cluster=$CLUSTER
only
:
...
...
@@ -67,4 +84,4 @@ deploy:runners:
-
master
-
test/gitlab-ci
environment
:
name
:
production
\ No newline at end of file
name
:
production
This diff is collapsed.
Click to expand it.
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