> On Nov. 19, 2016, 5:23 p.m., Vinod Kone wrote: > > Ship It! > > Vinod Kone wrote: > Can you rebase the review? > > Vinod Kone wrote: > Do you have perms to commit these reviews yourself? If yes, do you want > to give it a shot? > > This is my typical commit workflow: > > $ git checkout master > $ git pull origin > $ ./support/apply-reviews.py -c -r 53645 > $ ./support/push-commits.py
Yes, I have the perms, will commit them soon. - Qian ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53645/#review156389 ----------------------------------------------------------- On Nov. 21, 2016, 11:17 a.m., Qian Zhang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/53645/ > ----------------------------------------------------------- > > (Updated Nov. 21, 2016, 11:17 a.m.) > > > Review request for mesos, Avinash sridharan, Jie Yu, and Vinod Kone. > > > Bugs: MESOS-6571 > https://issues.apache.org/jira/browse/MESOS-6571 > > > Repository: mesos > > > Description > ------- > > Added '--task' into mesos-execute. > > > Diffs > ----- > > src/cli/execute.cpp 74208e0b6b69cc84c0eb6532421e623bb59b1e2c > > Diff: https://reviews.apache.org/r/53645/diff/ > > > Testing > ------- > > On Ubuntu 16.04, manually ran the command below to successfuly launch a > container which will be attached to a CNI network "net1". > ``` > # sudo src/mesos-execute --master=192.168.122.216:5050 > --task=file:///home/stack/workspace/mesos/build/task.json > > # cat /home/stack/workspace/mesos/build/task.json > { > "name": "test", > "task_id": {"value" : "test"}, > "agent_id": {"value" : ""}, > "resources": [ > { > "name": "cpus", > "type": "SCALAR", > "scalar": { > "value": 0.1 > }, > "role": "*" > }, > { > "name": "mem", > "type": "SCALAR", > "scalar": { > "value": 32 > }, > "role": "*" > } > ], > "command": { > "value": "ifconfig" > }, > "container": { > "type": "MESOS", > "mesos": { > "image": { > "type": "DOCKER", > "docker": { > "name": "busybox" > } > } > }, > "network_infos": [ > { > "name": "net1" > } > ] > } > } > ``` > > > Thanks, > > Qian Zhang > >
