@verdnatura/myt 1.5.33 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/myt-run.js CHANGED
@@ -113,8 +113,7 @@ class Run extends Command {
113
113
 
114
114
  Object.assign(runOptions, null, {
115
115
  env: `RUN_CHOWN=${runChown}`,
116
- detach: true,
117
- volume: `${this.opts.mytDir}:/workspace`
116
+ detach: true
118
117
  });
119
118
  const ct = await docker.run(opts.code, null, runOptions);
120
119
  const server = new Server(ct, dbConfig);
@@ -126,8 +125,8 @@ class Run extends Command {
126
125
  });
127
126
 
128
127
  if (opts.ci) {
129
- dbConfig.host = network
130
- ? netSettings.Networks[network].IPAddress
128
+ dbConfig.host = opts.network
129
+ ? netSettings.Networks[opts.network].IPAddress
131
130
  : netSettings.Gateway;
132
131
  dbConfig.port = 3306;
133
132
  } else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdnatura/myt",
3
- "version": "1.5.33",
3
+ "version": "1.6.0",
4
4
  "author": "Verdnatura Levante SL",
5
5
  "description": "MySQL version control",
6
6
  "license": "GPL-3.0",
@@ -10,4 +10,6 @@ RUN gosu mysql docker-init.sh
10
10
  RUN echo "[LOG] Import finished." \
11
11
  && rm -rf /workspace
12
12
 
13
+ COPY fixtures.*.sql dump/
14
+
13
15
  USER mysql