Experiment: debug

Summary: Checking if html output in jenkins works

Test Plan: ns

Reviewers: #reviewers

Differential Revision: https://hub.sealcode.org/D1070
master
Kuba Orlik 4 years ago
parent 2302a8da97
commit 5712fb0c4f

@ -8,7 +8,7 @@ services:
image: sealious-test:latest
build:
context: .
dockerfile: test.dockerfile
dockerfile: test.Dockerfile
volumes:
- ./:/opt/sealious/
ports:

@ -23,5 +23,5 @@ docker-compose run --user="$UID"\
-p ${SEALIOUS_PORT}:${SEALIOUS_PORT} \
-d \
test \
/bin/sh -c "node . 2>&1 | ansi2html > log.html" \
/bin/sh -c "{ node . --color 2>&1; } | ./node_modules/.bin/ansi-html-stream > log.html" \
&& echo "App started on $SEALIOUS_PORT"

17
package-lock.json generated

@ -5,7 +5,6 @@
"requires": true,
"packages": {
"": {
"name": "sealious-playground",
"version": "1.0.1",
"license": "ISC",
"dependencies": {
@ -17,6 +16,7 @@
"stimulus": "^2.0.0"
},
"devDependencies": {
"@sealcode/ansi-html-stream": "^1.0.0",
"@types/koa__router": "^8.0.4",
"babel-loader": "^8.2.2",
"concurrently": "^5.3.0",
@ -421,6 +421,15 @@
"node": ">= 8"
}
},
"node_modules/@sealcode/ansi-html-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@sealcode/ansi-html-stream/-/ansi-html-stream-1.0.0.tgz",
"integrity": "sha512-OrEbze90s1bpJFiblMiMRHsVLGK4aO3f3Nzzw9HnER28igdLKZ+OSf3bu3Y19LLmCjGrVX5do5SXcrYGPKQ7VQ==",
"dev": true,
"bin": {
"ansi-html-stream": "index.js"
}
},
"node_modules/@sindresorhus/is": {
"version": "0.14.0",
"license": "MIT",
@ -9379,6 +9388,12 @@
"fastq": "^1.6.0"
}
},
"@sealcode/ansi-html-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@sealcode/ansi-html-stream/-/ansi-html-stream-1.0.0.tgz",
"integrity": "sha512-OrEbze90s1bpJFiblMiMRHsVLGK4aO3f3Nzzw9HnER28igdLKZ+OSf3bu3Y19LLmCjGrVX5do5SXcrYGPKQ7VQ==",
"dev": true
},
"@sindresorhus/is": {
"version": "0.14.0"
},

@ -27,6 +27,7 @@
"stimulus": "^2.0.0"
},
"devDependencies": {
"@sealcode/ansi-html-stream": "^1.0.1",
"@types/koa__router": "^8.0.4",
"babel-loader": "^8.2.2",
"concurrently": "^5.3.0",

@ -26,7 +26,7 @@ export default class TheApp extends App {
from_name: "Sealious playground app",
},
logger: {
level: <const>"info",
level: <const>"debug",
},
"www-server": {
port: PORT,

Loading…
Cancel
Save