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
164
Issues
164
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
ed85b861
Commit
ed85b861
authored
3 hours ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): allow for staging environments to be decided
-subdomain: sgtpepper
parent
19bd3740
No related merge requests found
Pipeline
#68313554
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
.gitlab-ci.yml
.gitlab-ci.yml
+20
-0
No files found.
.gitlab-ci.yml
View file @
ed85b861
...
...
@@ -7,6 +7,7 @@ stages:
-
build
-
test
-
prepare
-
staging
-
deploy
cache
:
...
...
@@ -56,6 +57,25 @@ prepare:runners:
environment
:
name
:
staging
staging:start
:
stage
:
staging
image
:
minds/ci:latest
script
:
-
STAGING_SUBDOMAIN=$(echo $CI_COMMIT_MESSAGE | awk -F'-subdomain:' '{print $2}')
-
echo "Subdomain will be setup at $STAGING_SUBDOMAIN"
only
:
-
/subdomain/
staging:stop
:
stage
:
staging
image
:
minds/ci:latest
script
:
-
STAGING_SUBDOMAIN=$(echo $CI_COMMIT_MESSAGE | awk -F'-subdomain:' '{print $2}')
-
echo "TODO
:
tear down $STAGING_SUBDOMAIN"
when
:
manual
only
:
-
/subdomain/
deploy:fpm
:
stage
:
deploy
image
:
minds/ci:latest
...
...
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