Min TLS v1.0
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
fd97845979
commit
b46cc20511
|
@ -8,7 +8,7 @@ RUN apt-get update \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
gnupg2 \
|
gnupg2 \
|
||||||
libfontconfig \
|
libfontconfig \
|
||||||
&& curl -sL https://deb.nodesource.com/setup_10.x | bash - \
|
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
nodejs \
|
nodejs \
|
||||||
&& apt-get purge -y --auto-remove \
|
&& apt-get purge -y --auto-remove \
|
||||||
|
|
|
@ -54,7 +54,7 @@ module.exports = class Docker {
|
||||||
this.dbConf.port = netSettings.Ports['3306/tcp'][0]['HostPort'];
|
this.dbConf.port = netSettings.Ports['3306/tcp'][0]['HostPort'];
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.waitForHealthy();
|
if (runChown) await this.wait();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (this.isRandom)
|
if (this.isRandom)
|
||||||
await this.rm();
|
await this.rm();
|
||||||
|
|
|
@ -48,7 +48,7 @@ function backWatch(done) {
|
||||||
|
|
||||||
// XXX: Workaround to avoid nodemon bug
|
// XXX: Workaround to avoid nodemon bug
|
||||||
// https://github.com/remy/nodemon/issues/1346
|
// https://github.com/remy/nodemon/issues/1346
|
||||||
let commands = ['node --inspect ./node_modules/gulp/bin/gulp.js'];
|
let commands = ['node --tls-min-v1.0 --inspect ./node_modules/gulp/bin/gulp.js'];
|
||||||
if (!isWindows) commands.unshift('sleep 1');
|
if (!isWindows) commands.unshift('sleep 1');
|
||||||
|
|
||||||
nodemon({
|
nodemon({
|
||||||
|
@ -136,7 +136,7 @@ function backTest(done) {
|
||||||
const nodemon = require('gulp-nodemon');
|
const nodemon = require('gulp-nodemon');
|
||||||
|
|
||||||
nodemon({
|
nodemon({
|
||||||
exec: ['node ./node_modules/gulp/bin/gulp.js'],
|
exec: ['node --tls-min-v1.0 ./node_modules/gulp/bin/gulp.js'],
|
||||||
args: ['backTestOnce'],
|
args: ['backTestOnce'],
|
||||||
watch: backSources,
|
watch: backSources,
|
||||||
done: done
|
done: done
|
||||||
|
|
Loading…
Reference in New Issue