feat: refs #5483 myt major, run cmd include fixtures at build stage
This commit is contained in:
parent
ef1a28b3a3
commit
c893a473ed
|
@ -113,8 +113,7 @@ class Run extends Command {
|
|||
|
||||
Object.assign(runOptions, null, {
|
||||
env: `RUN_CHOWN=${runChown}`,
|
||||
detach: true,
|
||||
volume: `${this.opts.mytDir}:/workspace`
|
||||
detach: true
|
||||
});
|
||||
const ct = await docker.run(opts.code, null, runOptions);
|
||||
const server = new Server(ct, dbConfig);
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@verdnatura/myt",
|
||||
"version": "1.5.34",
|
||||
"version": "1.5.35",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@verdnatura/myt",
|
||||
"version": "1.5.34",
|
||||
"version": "1.5.35",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"@sqltools/formatter": "^1.2.5",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@verdnatura/myt",
|
||||
"version": "1.5.34",
|
||||
"version": "1.6.0",
|
||||
"author": "Verdnatura Levante SL",
|
||||
"description": "MySQL version control",
|
||||
"license": "GPL-3.0",
|
||||
|
|
|
@ -10,4 +10,6 @@ RUN gosu mysql docker-init.sh
|
|||
RUN echo "[LOG] Import finished." \
|
||||
&& rm -rf /workspace
|
||||
|
||||
COPY fixtures.*.sql dump/
|
||||
|
||||
USER mysql
|
||||
|
|
Loading…
Reference in New Issue