Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-elife
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
xpub
xpub-elife
Compare revisions
b6e8c50f6126a6e0c297b728f7bdc35c87085c5b to 67a81b38bb66a171e0ae04f0ec2ee507c461a11a
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
xpub/xpub-elife
Select target project
No results found
67a81b38bb66a171e0ae04f0ec2ee507c461a11a
Select Git revision
Branches
master
Swap
Target
xpub/xpub-elife
Select target project
hdrury1/xpub-elife
1 result
b6e8c50f6126a6e0c297b728f7bdc35c87085c5b
Select Git revision
Branches
master
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
feat(ci): customise ci for elife
· be5ee404
Sam Galson
authored
6 years ago
be5ee404
Merge branch 'deployment' into 'master'
· 67a81b38
Aanand Prasad
authored
6 years ago
feat(ci): customise ci for elife See merge request
!2
67a81b38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-28
13 additions, 28 deletions
.gitlab-ci.yml
with
13 additions
and
28 deletions
.gitlab-ci.yml
View file @
67a81b38
variables
:
IMAGE_ORG
:
xpub
IMAGE_NAME
:
xpub
IMAGE_NAME
:
xpub
-elife
BASE_DOMAIN
:
gateway.xpub.semioticsquares.com
CONFIGURATION_REPOSITORY
:
https://gitlab.coko.foundation/yld/xpub-deployment-config-postgres.git
...
...
@@ -64,33 +64,33 @@ push:latest:
only
:
-
master
review:
xpub-collabra
:
review
:
image
:
pubsweet/deployer:latest
stage
:
review
variables
:
PACKAGE_NAME
:
xpub-
collabra
PACKAGE_NAME
:
xpub-
elife
FORCE_FRESH_DB
:
"
yes"
REQUIRES_PROVISIONING
:
"
yes"
environment
:
name
:
$PACKAGE_NAME/
review/$CI_COMMIT_REF_NAME
name
:
review/$CI_COMMIT_REF_NAME
# !! kube-lego will fail if domain > 64 chars
url
:
"
http://${CI_ENVIRONMENT_SLUG}.${BASE_DOMAIN}"
on_stop
:
stop_review
:xpub-collabra
on_stop
:
stop_review
except
:
-
master
script
:
-
source deploy.sh
-
create_deployment
stop_review:
xpub-collabra
:
stop_review
:
image
:
pubsweet/deployer:latest
stage
:
review
variables
:
PACKAGE_NAME
:
xpub-
collabra
PACKAGE_NAME
:
xpub-
elife
REQUIRES_PROVISIONING
:
"
yes"
GIT_STRATEGY
:
none
environment
:
name
:
$PACKAGE_NAME/
review/$CI_COMMIT_REF_NAME
name
:
review/$CI_COMMIT_REF_NAME
action
:
stop
when
:
manual
except
:
...
...
@@ -100,13 +100,13 @@ stop_review:xpub-collabra:
-
delete_deployment
-
delete_objects_in_environment pvc
staging:
xpub-collabra
:
staging
:
image
:
pubsweet/deployer:latest
stage
:
staging
variables
:
PACKAGE_NAME
:
xpub-
collabra
PACKAGE_NAME
:
xpub-
elife
environment
:
name
:
$PACKAGE_NAME/
staging
name
:
xpub-elife-
staging
url
:
"
https://${CI_ENVIRONMENT_SLUG}.${BASE_DOMAIN}"
only
:
-
master
...
...
@@ -114,28 +114,13 @@ staging:xpub-collabra:
-
source deploy.sh
-
create_deployment
production:xpub-collabra
:
image
:
pubsweet/deployer:latest
stage
:
production
variables
:
PACKAGE_NAME
:
xpub-collabra
environment
:
name
:
$PACKAGE_NAME/production
url
:
"
https://${CI_ENVIRONMENT_SLUG}.${BASE_DOMAIN}"
when
:
manual
only
:
-
master
script
:
-
source deploy.sh
-
create_deployment
demo:xpub-collabra
:
image
:
pubsweet/deployer:latest
stage
:
demo
variables
:
PACKAGE_NAME
:
xpub-
collabra
PACKAGE_NAME
:
xpub-
elife
environment
:
name
:
$PACKAGE_NAME/
demo
name
:
xpub-elife-
demo
url
:
"
https://${CI_ENVIRONMENT_SLUG}.${BASE_DOMAIN}"
when
:
manual
script
:
...
...
This diff is collapsed.
Click to expand it.