Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
next-kubernetes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gitlab-ci
next-kubernetes
Commits
78aecb3c
Commit
78aecb3c
authored
5 years ago
by
Gabor Raz
Browse files
Options
Downloads
Patches
Plain Diff
feat: change to next-kubernetes
parent
1bba0c75
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#67723
passed
5 years ago
Stage: test
Stage: build
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+6
-15
6 additions, 15 deletions
README.md
next-kubernetes.yml
+2
-10
2 additions, 10 deletions
next-kubernetes.yml
with
8 additions
and
25 deletions
README.md
+
6
−
15
View file @
78aecb3c
#
Meteor
-kubernetes
#
Next
-kubernetes
This is an extension of https://git.panter.ch/gitlab-ci/kubernetes-base
that builds
meteor
-apps.
This is an extension of https://git.panter.ch/gitlab-ci/kubernetes-base
that builds
Next
-apps.
## Usage:
```
# on top of your gitlab-ci.yml
include:
- project: gitlab-ci/
meteor
-kubernetes
include:
- project: gitlab-ci/
next
-kubernetes
ref: v1.0.0
file:
meteor
-kubernetes.yml
file:
next
-kubernetes.yml
variables:
CUSTOMER_NAME: pan
APP_NAME: avatar
CLUSTER_NAME: production
# meteors specific:
MONGODB_ENABLED: 'true' # whether to create a mongobd
WORKER_ENABLED: 'false' # whether to launch an additional pod which has WORKER_ENABLED env var. usefull for cronjobs and migrations
MONGODB_REPLICAS: '3' # how many mongodb-replicas it will launch on production. other envs have always 1
```
This diff is collapsed.
Click to expand it.
meteor
-kubernetes.yml
→
next
-kubernetes.yml
+
2
−
10
View file @
78aecb3c
...
...
@@ -5,18 +5,10 @@ include:
app-build
:
extends
:
.app-build
script
:
-
cd $APP_PATH
-
echo "add healthcheck package"
-
meteor add panter:healthroute --allow-superuser
-
meteor add qualia:prod-shell --allow-superuser
-
echo "current path is $(pwd)"
-
yarn
-
echo "building into $CI_PROJECT_DIR"
-
TOOL_NODE_FLAGS="--max_old_space_size=3584 --min_semi_space_size=8 --max_semi_space_size=256 --optimize_for_size" meteor build $CI_PROJECT_DIR --architecture os.linux.x86_64 --allow-superuser --server-only --directory
artifacts
:
paths
:
-
$CI_PROJECT_DIR/bundle
-
$CI_PROJECT_DIR/dist
-
$CI_PROJECT_DIR/.next
.ensureDocker
:
&ensureDocker
|
function ensureDockerfile() {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment