Commit Graph

508 Commits

Author SHA1 Message Date
Aric Renzo
b1c2b0222b podman_compose.py 2019-10-05 22:38:50 +03:00
Muayyad alsadi
9e0dd2da9d extends with external file 2019-10-05 22:37:14 +03:00
Marius Hoch
72c1992737 Remove never-shared options. 2019-10-05 22:35:05 +03:00
Marius Hoch
3e2381f040 Support extends
https://docs.docker.com/compose/extends/

Doesn't yet support referring to another file.

Needs Python 3.5+ (for merging dicts using **)
2019-10-05 22:35:05 +03:00
Muayyad alsadi
dee813a4b6 #47: version command 2019-10-04 20:57:07 +03:00
Muayyad alsadi
9684429157 #52: fix how we split commands 2019-10-04 20:36:30 +03:00
Muayyad alsadi
87e7211ade #54: fix ulimits 2019-10-04 20:27:19 +03:00
Mario
72697016f9 Fixed get of ulimit tag, according to docker-compose specification 2019-10-04 20:24:36 +03:00
Marius Hoch
b369073574 Fix podman-compose run command parsing
This got confused with the main command (up, down, …),
thus leading to:

    cmd = self.commands[cmd_name]
TypeError: unhashable type: 'list'
2019-10-01 13:26:38 +03:00
Lorenzo Benvenuti
62f0cc492c Changed -l flag to --label in order to be compatible with Podman 1.0.2.dev 2019-10-01 13:25:01 +03:00
Aric Renzo
c152d28af7 Support for generic container-compose format 2019-09-20 23:33:59 +03:00
Muayyad Alsadi
8e43e69c5b FIX #41: compare original volume name 2019-09-14 00:32:00 +03:00
Muayyad Alsadi
4c07e875a0 Merge branch 'devel' of github.com:containers/podman-compose into devel 2019-09-13 22:25:52 +03:00
Kevin Elliott
751aaa87f6 Add support for devices in a service 2019-09-13 22:25:26 +03:00
Tyler Ramer
243bdb688d Add support for setting container ulimit
- supports `ulimit: host` or other single value
- As well as `ulimit: [nofile=5000, nproc=5000]` array
- As well as `ulimit: {nofile: 5000, nproc: 5000}` dict

Authored-by: Tyler Ramer <tramer@pivotal.io>
2019-09-13 22:25:26 +03:00
Muayyad Alsadi
d9cd0d6186 Merge branch 'master' of github.com:containers/podman-compose into devel 2019-09-13 22:23:22 +03:00
Muayyad Alsadi
ec06da2265
Merge pull request #38 from tylarb/ulimit
Add support for setting container ulimit
2019-09-12 02:00:23 +03:00
Tyler Ramer
2202e7f39b Add support for setting container ulimit
- supports `ulimit: host` or other single value
- As well as `ulimit: [nofile=5000, nproc=5000]` array
- As well as `ulimit: {nofile: 5000, nproc: 5000}` dict

Authored-by: Tyler Ramer <tramer@pivotal.io>
2019-09-11 18:12:29 -04:00
Muayyad Alsadi
f505e499a2 a test showing yaml anchor magic 2019-09-09 00:48:25 +03:00
Muayyad Alsadi
813dc8b149 Merge remote-tracking branch 'origin/master' into devel 2019-09-09 00:18:41 +03:00
Muayyad Alsadi
6f2e5de57c
Merge pull request #37 from thenomemac/patch-3
add string check for cmd line args
2019-09-08 20:17:13 +03:00
Josiah Olson
2e4378f7ad
add string check for cmd line args 2019-09-08 12:57:49 -04:00
Muayyad Alsadi
2a8d430c92 FIXES #35: now support multiple composer files 2019-09-08 02:20:48 +03:00
Muayyad Alsadi
a512c0cb82 #35: test for multiple -f 2019-09-04 16:12:13 +03:00
Muayyad Alsadi
f008986633 release 0.1.5 2019-09-03 18:38:57 +03:00
Muayyad Alsadi
be2726da18 test compose files with build 2019-09-03 18:35:56 +03:00
Muayyad Alsadi
7bc6782e0d #34: fix attribute error, fallback to none 2019-09-03 16:13:24 +03:00
Muayyad Alsadi
2246204a52 typo 2019-09-03 00:23:08 +03:00
Muayyad Alsadi
601d0317bf add docs directory 2019-09-03 00:19:41 +03:00
Muayyad Alsadi
470f8a3851 update readme and no arguments print help 2019-09-03 00:19:07 +03:00
Muayyad Alsadi
2d3e29e6f6
Merge pull request #31 from barseghyanartur/devel
Python packaging
2019-08-22 01:45:07 +03:00
Artur Barseghyan
3ae85b54a2 Version up 2019-08-22 00:31:53 +02:00
Artur Barseghyan
f7eb91ec99 Remove unnecessary parts from setup.py 2019-08-22 00:31:36 +02:00
Artur Barseghyan
cd1114d68e Fixes in clean_up script 2019-08-22 00:18:55 +02:00
Artur Barseghyan
0501ea6084 Use twine for uploads 2019-08-22 00:15:59 +02:00
Artur Barseghyan
ea166f1da3 Update readme. Replace podman-compose.py with podman-compose 2019-08-22 00:04:45 +02:00
Artur Barseghyan
b327f19e88 Remove note on things that do not work 2019-08-22 00:03:19 +02:00
Artur Barseghyan
5b1e0f1737 Fix wrong path to find packages 2019-08-22 00:01:51 +02:00
Artur Barseghyan
e0fae78c05 Fix PyPI long description 2019-08-21 23:39:48 +02:00
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