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
191
Issues
191
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
Commits
ac5db0b5
Commit
ac5db0b5
authored
19 minutes ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): use delayed build step for auto advancement into production
parent
8cc00eeb
test/gitlab-ci
No related merge requests found
Pipeline
#73872067
waiting for delayed job with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
.gitlab-ci.yml
.gitlab-ci.yml
+3
-2
No files found.
.gitlab-ci.yml
View file @
ac5db0b5
...
...
@@ -150,7 +150,7 @@ production:fpm:
-
docker login -u gitlab-ci-token -p ${CI_BUILD_TOKEN} ${CI_REGISTRY}
-
docker pull $CI_REGISTRY_IMAGE/fpm:$CI_BUILD_REF
# Push to production registry
-
docker tag $CI_REGISTRY_IMAGE/fpm:$CI_BUILD_REF $REPOSITORY_URL_FPM:latest
-
docker tag $CI_REGISTRY_IMAGE/fpm:$CI_BUILD_REF $
ECR_
REPOSITORY_URL_FPM:latest
-
docker push $ECR_REPOSITORY_URL_FPM:production
# Push to gitlab register
-
docker tag $CI_REGISTRY_IMAGE/fpm:$CI_BUILD_REF $CI_REGISTRY_IMAGE/fpm:latest
...
...
@@ -159,7 +159,8 @@ production:fpm:
environment
:
name
:
production
url
:
https://www.minds.com/
when
:
manual
when
:
delayed
start_in
:
2 hours
# reduce? can always be deployed manually earlier too
production:runners
:
stage
:
deploy
...
...
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