Compare commits

...

4 Commits

Author SHA1 Message Date
Jonatan Nilsson 8f3faed11f package: Release new version
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-04-01 10:05:49 +00:00
Jonatan Nilsson 95e94b38cc server: Change log level from debug to info on normal requests
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-04-01 10:04:59 +00:00
Jonatan Nilsson 562ade9763 Trigger new version
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-03-30 22:05:28 +00:00
Jonatan Nilsson 5b6b1b0a58 appveyor: Add auto deploy to production
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-03-30 09:08:03 +00:00
3 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export function run(http, orgPort, ctx) {
finishedRequest = true finishedRequest = true
var requestTime = new Date().getTime() - d1 var requestTime = new Date().getTime() - d1
let level = 'debug' let level = 'info'
if (res.statusCode >= 400) { if (res.statusCode >= 400) {
level = 'warn' level = 'warn'
} }

View File

@ -60,6 +60,9 @@ 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.4", "version": "2.0.6",
"description": "Hello World app for service core", "description": "Hello World app for service core",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {