enough-analyst-54434
09/17/2015, 9:22 PMenough-analyst-54434
09/17/2015, 9:22 PMenough-analyst-54434
09/17/2015, 9:24 PMenough-analyst-54434
09/17/2015, 9:26 PMrough-minister-58256
09/17/2015, 9:45 PMenough-analyst-54434
09/17/2015, 9:47 PMrough-minister-58256
09/17/2015, 10:10 PM--privileged=true
to the run command if this is for wrapping a dev envrionment on a local machine
<Mike Heijmans> but if its not needed, then don't do ... its more secure that way anyway
<Kris Wilson> sweet! any thoughts on the comments on the RB itself? "Is there a better way to deal with portable local host volume mount perms? I do a crazy secondary image build, feels like this should be easier with a gid/uid map of some sort."
<Kris Wilson> and "Is there a better way to do port mapping? I'd love some way to keep ./pants server
using an ephemeral port but I could not figure out a nice way that keeps the user from having to know about docker ps
and/or docker port
."
<Mike Heijmans> That's a serious problem in the docker (through VM) world still.. I know they recently added the -u & --group-add
<Mike Heijmans> it was buggy in docker 1.7 when I was experimenting with that... It may be better in 1.8 though
<Mike Heijmans> -u, --user= Username or UID (format: <name|uid>[:<group|gid>])
<Mike Heijmans> I have (essentially) the same kind of setup where I'm forcing user and group ids in the docker file at build time
<Mike Heijmans> but its an artifact from docker 1.6 simple smile (and as I said, I messed with uid/gid with 1.7 but it was buggy and decided to leave the working things working)rough-minister-58256
09/17/2015, 10:10 PMrough-minister-58256
09/17/2015, 10:10 PMrough-minister-58256
09/17/2015, 10:10 PMrough-minister-58256
09/17/2015, 10:12 PMrough-minister-58256
09/17/2015, 10:12 PMenough-analyst-54434
09/17/2015, 10:26 PMrough-minister-58256
09/18/2015, 3:05 AM[illuminati hammerpants]$ gcc -o ng ng.c
[illuminati hammerpants]$ file ng
ng: Mach-O 64-bit executable x86_64
[illuminati hammerpants]$ ln -s ./ng pants
[illuminati hammerpants]$ NAILGUN_PORT=`cat ~/dev/pants/.pids/pantsd/socket_pailgun` ./pants help
[connected to pantsd]
Pants 0.0.46 <https://pypi.python.org/pypi/pantsbuild.pants/0.0.46>
Usage:
./pants [option ...] [goal ...] [target...] Attempt the specified goals.
./pants help Get help.
./pants help [goal] Get help for a goal.
./pants help-advanced [goal] Get help for a goal's advanced options.
./pants help-all Get help for all goals.
./pants goals List all installed goals.
[target] accepts two special forms:
dir: to include all targets in the specified directory.
dir:: to include all targets found recursively under the directory.
Friendly docs:
<http://pantsbuild.github.io/>
Global options:
-l=<str>, --level=<str> (default: info)
Set the logging level.
-q, --[no-]quiet (default: False)
Squelches all console output apart from errors.
--[no-]colors (default: True)
Set whether log messages are displayed in color.
-V=<str>, --pants-version=<str>, --version=<str> (default: 0.0.46)
Prints pants' version number and exits.
--target-spec-file="['str1','str2',...]" (--target-spec-file="['str1','str2',...]") ... (default: [])
Read additional specs from this file, one per line
-x, --[no-]time (default: False)
Output a timing report at the end of the run.
-e, --[no-]explain (default: False)
Explain the execution of goals.
--tag=[+-]tag1,tag2,... (--tag=[+-]tag1,tag2,...) ... (default: [])
Include only targets with these tags (optional '+' prefix) or without these
tags ('-' prefix). Useful with ::, to find subsets of targets (e.g.,
integration tests.)
[illuminati hammerpants]$ NAILGUN_PORT=`cat ~/dev/pants/.pids/pantsd/socket_pailgun` ./pants list ::
[connected to pantsd]
tests/python/pants_test/tasks:ivy_resolve_integration
tests/python/pants_test/tasks:jvm_run_integration
src/python/pants/pantsd/service:http_service
tests/python/pants_test/util:eval
src/python/pants/backend/core/tasks:list_goals
3rdparty/python:pytest-cov
…
rough-minister-58256
09/18/2015, 3:06 AMrough-minister-58256
09/18/2015, 3:07 AM[illuminati hammerpants]$ ls -alh ng
-rwxr-xr-x 1 kwilson staff 19K Sep 17 19:57 ng
witty-crayon-22786
09/18/2015, 5:23 AMhappy-kitchen-89482
09/18/2015, 5:59 AMjolly-chef-92794
09/18/2015, 2:37 PMwitty-crayon-22786
09/18/2015, 2:38 PMrbt
script then rbcommonsjolly-chef-92794
09/18/2015, 2:39 PMwitty-crayon-22786
09/18/2015, 2:39 PMbored-art-40741
09/18/2015, 4:13 PMwitty-crayon-22786
09/18/2015, 4:14 PMbored-art-40741
09/18/2015, 4:14 PMbored-art-40741
09/18/2015, 4:14 PMjava.io.FileNotFoundException: /export/shm0/workspace/EXEC_3/build/test/resources/data/generated_resources/util.js (Too many open files)
witty-crayon-22786
09/18/2015, 4:14 PMbored-art-40741
09/18/2015, 4:14 PMwitty-crayon-22786
09/18/2015, 4:15 PMenough-analyst-54434
10/07/2015, 11:38 PM