Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
karname-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reza Sahebgharan
karname-ui
Commits
c00aee8e
Commit
c00aee8e
authored
Oct 22, 2019
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test staging
parent
e2eef929
Pipeline
#423
passed with stages
in 40 minutes and 55 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
docker-compose-staging.yml
docker-compose-staging.yml
+2
-2
docker-compose.yml
docker-compose.yml
+1
-1
No files found.
.gitlab-ci.yml
View file @
c00aee8e
...
@@ -16,10 +16,10 @@ build_in_branch:
...
@@ -16,10 +16,10 @@ build_in_branch:
-
shell
-
shell
script
:
script
:
-
echo "starting build in branch"
-
echo "starting build in branch"
#
- npm install
-
npm install
#
- npm run test-jest
-
npm run test-jest
#
- docker-compose config
-
docker-compose config
#
- docker-compose build
-
docker-compose build
-
echo y | plink -ssh administrator@staging.karname.ir "exit"
-
echo y | plink -ssh administrator@staging.karname.ir "exit"
-
docker save -o ./scripts/karname-app.tar karname/app:$env:TAG_VERSION
# save docker in scripts folder
-
docker save -o ./scripts/karname-app.tar karname/app:$env:TAG_VERSION
# save docker in scripts folder
...
...
docker-compose-staging.yml
View file @
c00aee8e
...
@@ -7,7 +7,7 @@ services:
...
@@ -7,7 +7,7 @@ services:
restart
:
on-failure
restart
:
on-failure
image
:
"
karname/app:${TAG_VERSION}"
image
:
"
karname/app:${TAG_VERSION}"
ports
:
ports
:
-
'
8
0:3000'
-
'
505
0:3000'
depends_on
:
depends_on
:
-
mongo
-
mongo
links
:
links
:
...
@@ -16,7 +16,7 @@ services:
...
@@ -16,7 +16,7 @@ services:
ROOT_URL
:
${APP_ROOT_URL:-http://localhost}
ROOT_URL
:
${APP_ROOT_URL:-http://localhost}
MONGO_URL
:
mongodb://mongo:27017/karname
MONGO_URL
:
mongodb://mongo:27017/karname
PORT
:
3000
PORT
:
3000
METEOR_SETTINGS
:
'
{"worklistUrl":"http://192.168.0.1
56
"}'
METEOR_SETTINGS
:
'
{"worklistUrl":"http://192.168.0.1
63
"}'
mongo
:
mongo
:
image
:
repo.marcopacs.com/kelishe/mongo:4.2.0
image
:
repo.marcopacs.com/kelishe/mongo:4.2.0
command
:
command
:
...
...
docker-compose.yml
View file @
c00aee8e
...
@@ -19,7 +19,7 @@ services:
...
@@ -19,7 +19,7 @@ services:
ROOT_URL
:
${APP_ROOT_URL:-http://localhost}
ROOT_URL
:
${APP_ROOT_URL:-http://localhost}
MONGO_URL
:
mongodb://mongo:27017/karname
MONGO_URL
:
mongodb://mongo:27017/karname
PORT
:
3000
PORT
:
3000
METEOR_SETTINGS
:
'
{"worklistUrl":"http://192.168.0.1
56
"}'
METEOR_SETTINGS
:
'
{"worklistUrl":"http://192.168.0.1
63
"}'
mongo
:
mongo
:
image
:
repo.marcopacs.com/kelishe/mongo:4.2.0
image
:
repo.marcopacs.com/kelishe/mongo:4.2.0
command
:
command
:
...
...
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