Commit Graph

319 Commits

Author SHA1 Message Date
Artur Barseghyan
8c226b04c6 author update 2019-08-21 22:54:16 +02:00
Artur Barseghyan
6846b27585 Python packaging 2019-08-21 22:45:53 +02:00
Muayyad Alsadi
35219c84b9 implement detach, and make attach the default 2019-08-17 23:39:42 +03:00
Muayyad Alsadi
d53ad3217e fix parsing args 2019-08-16 15:44:44 +03:00
Muayyad Alsadi
ed3c033be4 #28: split string command 2019-08-16 15:29:09 +03:00
Muayyad Alsadi
c3e67bb332 parsing up arguments 2019-08-14 18:49:29 +03:00
Muayyad Alsadi
432097cb5f #27: prefix volume names with project name 2019-08-14 18:22:36 +03:00
Muayyad Alsadi
14a46ce02a #24: fix typo 2019-08-10 22:19:47 +03:00
Muayyad Alsadi
7e0a036ff4 use add_subparsers 2019-08-10 18:08:21 +03:00
Muayyad Alsadi
2cf7cbba2e #24: basic implementation of "compose run" 2019-08-10 14:11:28 +03:00
Muayyad Alsadi
eb72a71e9e helps to add more commands and parse their arguments 2019-08-09 16:31:56 +03:00
Muayyad Alsadi
6cbcd4d242 add TODO comment 2019-08-08 10:24:15 +03:00
Muayyad Alsadi
c0a1f6f7fb fix pull giving not implemented 2019-08-08 10:21:49 +03:00
Muayyad Alsadi
de670fad08
Merge pull request #25 from sleepingpig/start_stop
Add support for start/stop/restart services
2019-08-08 10:19:42 +03:00
Hans Hsieh
942fcba75a Add support for start/stop/restart services (doesn't support options e.g. "--timeout" yet) 2019-08-02 22:36:20 +08:00
Muayyad Alsadi
aabaefbaa6 #23: fix typo 2019-07-09 15:04:40 +03:00
Muayyad Alsadi
e21932e1de WIP #23: use cmd_quote 2019-07-08 23:53:38 +03:00
Muayyad Alsadi
2f4da3fddb
Merge pull request #22 from stefanb2/topic-support-healthcheck
Support healthcheck associative array
2019-07-08 23:01:20 +03:00
Stefan Becker
6b3e708913 Support healthcheck associative array
Map keys to corresponding --healthcheck-XXX option

Unfortunately --healthcheck-command only accepts a string, not a list of
strings. Furthermore it splits the string on whitespace. Therefore the
mapping of all allowed Docker Compose values is not possible.
2019-07-08 20:23:33 +03:00
Muayyad Alsadi
e03d8ce72e
Merge pull request #21 from stefanb2/topic-command-as-string
Allow string for command
2019-07-08 12:38:53 +03:00
Stefan Becker
48a24e323b Allow string for command
Fixes a regression compared to docker-compose. F.ex.

    command: --smallfiles

got translated to

    - - s m a l l f i l e s

on the command line. If option value is a string create a list with a
single entry before adding it to the command line.
2019-07-08 09:12:25 +03:00
Muayyad Alsadi
26df0a377f
Merge pull request #19 from abraverm/security_opt
Support security opt
2019-07-03 23:35:58 +03:00
Alexander Braverman
29e2bf4c13 Support security opt
* Fix RuntimeError: Set changed size during iteration
2019-06-27 11:41:27 +03:00
Muayyad Alsadi
e753eb306c fix depends_on 2019-06-17 18:31:22 +03:00
Muayyad Alsadi
c7488076c2 switch example to awx3 2019-06-17 15:59:26 +03:00
Muayyad Alsadi
84a344a0ae switch example to awx3 2019-06-17 15:58:41 +03:00
Muayyad Alsadi
9f618c6ae6 make volumes work 2019-06-11 17:03:24 +03:00
Muayyad Alsadi
6c097fdb6c return mount_dict as is 2019-06-11 15:15:02 +03:00
Muayyad Alsadi
9294bea425 empty options 2019-06-11 15:07:49 +03:00
Muayyad Alsadi
a29cf06436 fix broken _dirname 2019-06-11 12:41:58 +03:00
Muayyad Alsadi
f7ba7ce89f FIXES #17: implement push 2019-06-09 04:22:58 +03:00
Muayyad Alsadi
642e049d1d FIXES #17: implement push 2019-06-09 04:21:55 +03:00
Muayyad Alsadi
a4b4f20103 FIXES #18: pass pull and pull-always to podman build 2019-06-09 04:00:04 +03:00
Muayyad Alsadi
fc61e0168b add support for volumes 2019-06-09 03:46:31 +03:00
Muayyad Alsadi
5606c69f9d add support for volumes 2019-06-09 03:26:13 +03:00
alsadi
882cef73b7 FIXES #15: respect container_name 2019-05-14 15:15:19 +03:00
alsadi
5f7e46dbbe move helpers up 2019-05-09 23:16:40 +03:00
alsadi
079cc0fd9b more readable type checking 2019-05-09 23:15:05 +03:00
Muayyad Alsadi
095c83be10
Merge pull request #12 from cybojenix/patch-1
Fix running under python 3
2019-05-09 22:51:13 +03:00
Anthony King
34469eaed8
Fix running under python 3
This is by no means extensive. It just fixes the errors I got when running `build` and `up`.

- Check for `__iter__` after checking for `isinstance(..., str)`
  `__iter__` is present on `str` in python 3
- coerce `dict.values()` to a list before sorting it
  python 3 introduces `dict_values`, which is closer to being an iterable, and so does not have `.sort`
2019-05-05 12:33:07 +01:00
alsadi
337f3e9e2b FIXES #9: look for dockerfile for build 2019-05-01 16:24:20 +03:00
alsadi
3e3fe9cba6 FIXES #10: support "build: ./path/context" 2019-05-01 16:20:40 +03:00
alsadi
655d5d9b51 FIXES #6: implement podman-compose build 2019-04-19 18:24:30 +03:00
alsadi
14618ce16b FIXES #7: Resolve relative volume paths 2019-04-19 14:44:47 +03:00
alsadi
4fc8f5d702 handle none and integers 2019-03-24 01:39:22 +02:00
alsadi
021f0565e8 Fixes #5: implement .env 2019-03-24 01:08:26 +02:00
alsadi
06485b671e Fixes #3: look for .yaml file 2019-03-23 22:16:30 +02:00
alsadi
732214db07 more formatting 2019-03-23 22:07:06 +02:00
alsadi
e6e99773ce more formatting 2019-03-23 22:04:07 +02:00
alsadi
4733c7ef94 apply formating and add pylintrc 2019-03-23 21:42:04 +02:00