Compare commits

..

No commits in common. "master" and "v2.0.3" have entirely different histories.

3 changed files with 2 additions and 7 deletions

View file

@ -7,14 +7,12 @@ export function run(http, orgPort, ctx) {
let packageInfo = JSON.parse(readFileSync(packagePath)) let packageInfo = JSON.parse(readFileSync(packagePath))
const server = http.createServer(function (req, res) { const server = http.createServer(function (req, res) {
const d1 = new Date().getTime()
let finishedRequest = false let finishedRequest = false
var done = function () { var done = function () {
if (finishedRequest) return if (finishedRequest) return
finishedRequest = true finishedRequest = true
var requestTime = new Date().getTime() - d1
let level = 'info' let level = 'debug'
if (res.statusCode >= 400) { if (res.statusCode >= 400) {
level = 'warn' level = 'warn'
} }

View file

@ -60,9 +60,6 @@ on_success:
-H "Authorization: token $deploytoken" \ -H "Authorization: token $deploytoken" \
-F "attachment=@${CURR_VER}_build-sc.7z" \ -F "attachment=@${CURR_VER}_build-sc.7z" \
https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases/$RELEASE_ID/assets https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases/$RELEASE_ID/assets
echo "Deplying to production"
curl -X POST http://192.168.93.51:8881/update/helloworld
fi fi
# on build failure # on build failure

View file

@ -1,6 +1,6 @@
{ {
"name": "sc-helloworld", "name": "sc-helloworld",
"version": "2.0.6", "version": "2.0.3",
"description": "Hello World app for service core", "description": "Hello World app for service core",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {