| Addshore added a comment. |
So, I gave it another go, and then realized that I wasn't running the docker build with --no-cache.
We might want to work --no-cache into the https://wikitech.wikimedia.org/wiki/Blubber#Example_usage section incase people like me forget.
I then also realized that my build was reading from an out of date Docker file from a previous test that was left in the project directory...
This dockerfile has something to do with the fact that the example command doesn't work on my system(probably a windows thing):
$ blubber ./.pipeline/blubber.yaml test | docker build --no-cache -t wdqs-gui-test-$(date --iso) -f - . Incorrect function.
So I am using something like this instead:
blubber ./.pipeline/blubber.yaml test > Dockerfile && docker build --no-cache -t wdqs-gui-test-$(date --iso) . && rm DockerfileNow I'm getting stuck on the npm install:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN [email protected] requires a peer of stylelint@^8.0.0 but none was installed. npm WARN [email protected] requires a peer of qunitjs@^1.14.0 || ^2.0.0 but none was installed. npm WARN [email protected] No description npm ERR! Linux 4.9.93-linuxkit-aufs npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! node v6.12.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs-prebuilt package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs-prebuilt npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs-prebuilt npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /srv/service/npm-debug.log
TASK DETAIL
EMAIL PREFERENCES
To: Addshore
Cc: akosiaris, thcipriani, Addshore, Aklapper, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, Abbe98, D3r1ck01, Jonas, mobrovac, Wikidata-bugs, aude, Lydia_Pintscher, dduvall, Mbch331, Jay8g, hashar, greg
Cc: akosiaris, thcipriani, Addshore, Aklapper, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, Abbe98, D3r1ck01, Jonas, mobrovac, Wikidata-bugs, aude, Lydia_Pintscher, dduvall, Mbch331, Jay8g, hashar, greg
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
