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
6f08aee9
Commit
6f08aee9
authored
Jan 13, 2020
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(fix gitlab-ci): fix gitlab ci stages
parent
92a6d3ca
Pipeline
#862
failed
Changes
8
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
30 deletions
+32
-30
.gitlab-ci.yml
.gitlab-ci.yml
+11
-11
HisWorklist.vue
client/components/HisWorklist.vue
+1
-2
brands.js
imports/api/server/publications/brands.js
+3
-3
clients.js
imports/api/server/publications/clients.js
+3
-3
devicecode.js
imports/api/server/publications/devicecode.js
+4
-3
devicemap.js
imports/api/server/publications/devicemap.js
+3
-2
hislink.js
imports/api/server/publications/hislink.js
+4
-3
worklist4hislink.js
imports/api/server/publications/worklist4hislink.js
+3
-3
No files found.
.gitlab-ci.yml
View file @
6f08aee9
...
...
@@ -5,7 +5,7 @@ stages:
-
build_in_devel
-
cleanup_build
-
build_in_master
-
build_in_
devel_windows
-
build_in_
staging
build_in_devel
:
before_script
:
-
$env:TAG_VERSION=(git describe --tag --abbrev=0)
...
...
@@ -35,9 +35,12 @@ build_in_devel:
-
devel
build_in_
devel_windows
:
build_in_
staging
:
before_script
:
-
$env:TAG_VERSION=(git describe --tag --abbrev=0)
-
$env:BRANCHFULLNAME=(git name-rev --name-only HEAD)
-
$env:BRANCHNAME=$env:BRANCHFULLNAME.Split('/')[$env:BRANCHFULLNAME.Split('/').length - 1]
-
echo $env:BRANCHNAME.Split('_')[1]
-
docker login -u reza.s -p aA123456 repo.marcopacs.com
stage
:
build_in_devel_windows
tags
:
...
...
@@ -66,10 +69,10 @@ build_in_devel_windows:
-
echo y | plink -batch -ssh administrator@staging.karname.ir -pw $env:StagingPass -m ./command.bat
# - ./scripts/command.ps1
allow_failure
:
true
only
:
-
devel-windows
# only:
# - /^staging_.*/
# - devel-windows
only
:
-
/^staging_.*/
build_in_master
:
before_script
:
...
...
@@ -79,14 +82,11 @@ build_in_master:
-
shell
script
:
-
echo "starting build in master"
-
npm install
-
npm run test-jest
-
docker-compose config
-
docker-compose build
-
docker-compose up -d --force-recreate
allow_failure
:
true
only
:
-
master
-
tags
except
:
-
/^(?!master).+@/
on_build_failure
:
stage
:
cleanup_build
...
...
client/components/HisWorklist.vue
View file @
6f08aee9
...
...
@@ -28,8 +28,7 @@
class=
"elevation-1"
style=
"width:100%"
fixed-header
hide-default-footer
disable-pagination
disable-sort
height=
"600px"
></v-data-table>
</v-row>
...
...
imports/api/server/publications/brands.js
View file @
6f08aee9
...
...
@@ -6,9 +6,8 @@ Meteor.publish("brands", function() {
return
this
.
ready
();
}
return
Brands
.
find
({},
{
reactive
:
true
,
disableOplog
:
false
,
pollingThrottleMs
:
1000
,
disableOplog
:
true
,
// pollingThrottleMs: 1000,
pollingIntervalMs
:
1000
});
});
\ No newline at end of file
imports/api/server/publications/clients.js
View file @
6f08aee9
...
...
@@ -10,9 +10,9 @@ Meteor.publish("clients", function() {
if
(
this
.
userId
)
{
return
Clients
.
find
({},
{
reactive
:
true
,
disableOplog
:
fals
e
,
pollingThrottleMs
:
1000
,
disableOplog
:
tru
e
,
//
pollingThrottleMs: 1000,
pollingIntervalMs
:
1000
})
}
else
{
...
...
imports/api/server/publications/devicecode.js
View file @
6f08aee9
...
...
@@ -6,9 +6,9 @@ Meteor.publish("devicecode", function() {
return
this
.
ready
();
}
return
DeviceCode
.
find
({},
{
reactive
:
true
,
disableOplog
:
fals
e
,
pollingThrottleMs
:
1000
,
disableOplog
:
tru
e
,
//
pollingThrottleMs: 1000,
pollingIntervalMs
:
1000
});
});
\ No newline at end of file
imports/api/server/publications/devicemap.js
View file @
6f08aee9
...
...
@@ -7,9 +7,9 @@ Meteor.publish("devicemaps", function() {
return
this
.
ready
();
}
return
DeviceMap
.
find
({},
{
reactive
:
true
,
disableOplog
:
true
,
pollingThrottleMs
:
1000
,
//
pollingThrottleMs: 1000,
pollingIntervalMs
:
1000
});
});
\ No newline at end of file
imports/api/server/publications/hislink.js
View file @
6f08aee9
...
...
@@ -6,9 +6,9 @@ Meteor.publish("hislink", function() {
return
this
.
ready
();
}
return
HisLink
.
find
({},
{
reactive
:
true
,
disableOplog
:
fals
e
,
pollingThrottleMs
:
1000
,
disableOplog
:
tru
e
,
//
pollingThrottleMs: 1000,
pollingIntervalMs
:
1000
});
});
\ No newline at end of file
imports/api/server/publications/worklist4hislink.js
View file @
6f08aee9
...
...
@@ -16,9 +16,8 @@ Meteor.publish("worklist4hislink", function(brand) {
// let Worklist = new Mongo.Collection(brand);
// console.log(Worklist.find({ _userid: userid, _devicemap: devicemap }).fetch())
return
Collections
[
brand
].
find
({},
{
reactive
:
true
,
disableOplog
:
false
,
pollingThrottleMs
:
1000
,
disableOplog
:
true
,
// pollingThrottleMs: 1000,
pollingIntervalMs
:
1000
});
});
\ No newline at end of file
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