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.
Couldn't fetch the linked file.
Show more breadcrumbs
xpub
xpub-elife
Merge requests
!3
Set up styleguide
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Set up styleguide
styleguide
into
master
Overview
0
Commits
1
Pipelines
4
Changes
6
Merged
Aanand Prasad
requested to merge
styleguide
into
master
6 years ago
Overview
0
Commits
1
Pipelines
4
Changes
1
Expand
0
0
Merge request reports
Compare
version 2
version 3
214c533a
6 years ago
version 2
b6e8c50f
6 years ago
version 1
eccd6c6f
6 years ago
master (base)
and
version 3
latest version
3388306f
1 commit,
6 years ago
version 3
214c533a
1 commit,
6 years ago
version 2
b6e8c50f
1 commit,
6 years ago
version 1
eccd6c6f
1 commit,
6 years ago
Show latest version
1 file
+
13
−
28
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
13
−
28
Options
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
: