Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vernemq
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stack
vernemq
Commits
21d693f6
Commit
21d693f6
authored
Nov 13, 2018
by
zCaesar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
ccba6d9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
authhook/Makefile
+7
-7
authhook/auth_on_register.js
+1
-1
No files found.
authhook/Makefile
View file @
21d693f6
...
@@ -117,13 +117,13 @@ build: init pre-build docker-build post-build
...
@@ -117,13 +117,13 @@ build: init pre-build docker-build post-build
pre-build
:
pre-build
:
post-build
:
post-build
:
@
rm .make-function
#
@rm .make-function
post-push
:
post-push
:
@
rm .make-function
#
@rm .make-function
post-init
:
post-init
:
@
rm .make-function
#
@rm .make-function
docker-build
:
docker-build
:
docker build
-t
$(IMAGE)
:
$(VERSION)
.
docker build
-t
$(IMAGE)
:
$(VERSION)
.
...
@@ -149,11 +149,11 @@ snapshot: build push
...
@@ -149,11 +149,11 @@ snapshot: build push
show-tag
:
init release.conf
show-tag
:
init release.conf
@
.
$(RELEASE_SUPPORT)
;
getVersion
@
.
$(RELEASE_SUPPORT)
;
getVersion
@
rm .make-function
#
@rm .make-function
showtag
:
init release.conf
showtag
:
init release.conf
@
.
$(RELEASE_SUPPORT)
;
getVersion
@
.
$(RELEASE_SUPPORT)
;
getVersion
@
rm .make-function
#
@rm .make-function
tag-patch-release
:
init
tag-patch-release
:
init
VERSION :
=
$(
shell
.
$(RELEASE_SUPPORT)
;
nextPatchLevel
)
VERSION :
=
$(
shell
.
$(RELEASE_SUPPORT)
;
nextPatchLevel
)
...
@@ -187,7 +187,7 @@ tag: check-status
...
@@ -187,7 +187,7 @@ tag: check-status
check-status
:
init
check-status
:
init
@
.
$(RELEASE_SUPPORT)
;
!
hasChanges
||
(
echo
"ERROR: there are still outstanding changes"
>
&2
)
;
@
.
$(RELEASE_SUPPORT)
;
!
hasChanges
||
(
echo
"ERROR: there are still outstanding changes"
>
&2
)
;
@
rm .make-function
#
@rm .make-function
check-release
:
init release.conf post-init
check-release
:
init release.conf post-init
@
.
$(RELEASE_SUPPORT)
;
tagExists
$(TAG)
||
(
echo
"ERROR: version not yet tagged in git. make [minor,major,patch]-release."
>
&2
&&
exit
1
)
;
@
.
$(RELEASE_SUPPORT)
;
tagExists
$(TAG)
||
(
echo
"ERROR: version not yet tagged in git. make [minor,major,patch]-release."
>
&2
&&
exit
1
)
;
...
@@ -196,7 +196,7 @@ check-release: init release.conf post-init
...
@@ -196,7 +196,7 @@ check-release: init release.conf post-init
update-make
:
init
update-make
:
init
@
rm Makefile
@
rm Makefile
wget https://dev.nexpie.com/sample/docker-makefile-sample/raw/master/Makefile
wget https://dev.nexpie.com/sample/docker-makefile-sample/raw/master/Makefile
@
rm .make-function
#
@rm .make-function
make-version
:
make-version
:
@
echo
$(MAKE_VERSION)
@
echo
$(MAKE_VERSION)
authhook/auth_on_register.js
View file @
21d693f6
...
@@ -109,7 +109,7 @@ module.exports = function (options = {}) {
...
@@ -109,7 +109,7 @@ module.exports = function (options = {}) {
console
.
log
(
'redis:status: '
+
status
)
console
.
log
(
'redis:status: '
+
status
)
res
.
send
({
res
.
send
({
"result"
:
status
?
"ok"
:
"no"
"result"
:
status
?
"ok"
:
"no"
});
});
})
})
// const util = require('util')
// const util = require('util')
// console.log(util.inspect(status, false, null, true))
// console.log(util.inspect(status, false, null, true))
...
...
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