Commit Graph

35 Commits

Author SHA1 Message Date
762318093c Force black formatting
Black removes the burden of manual code formatting and is by now
considered the standard Python formatting tool.

https://black.readthedocs.io/en/stable/

Format all Python code with black.

GitHub linting action is updated to ensure all files are formatted with
Black.

Signed-off-by: Piotr Husiatyński <phusiatynski@gmail.com>
2022-03-01 17:16:04 +03:00
af10345483 FIXES #440: absolute secret 2022-02-28 01:19:39 +03:00
1e895c0873 calc proper hash 2022-02-25 18:56:36 +03:00
132a22b524 #130: handle nested extend and normalize build context 2022-02-25 18:32:19 +03:00
0bde01de07 remove unused imports
Signed-off-by: kjunker <junker.kurt@googlemail.com>
2022-02-22 13:26:44 +02:00
91a579b81e Adding Test that the changes can build Image from build context of extended compose-file
Signed-off-by: kjunker <junker.kurt@googlemail.com>
2022-02-22 13:26:44 +02:00
3e6e268034 test for logs 2022-02-12 13:54:30 +02:00
4557279930 #88: multiple aliases 2021-12-25 21:06:29 +02:00
2c60516f77 fix hostname in test 2021-12-23 00:34:01 +02:00
6b5f62d693 Fixes #199: seccomp:unconfined 2021-12-11 01:50:40 +02:00
17f9ca61bd test fixes for SELinux (Fedora) 2021-11-24 18:06:18 +02:00
80a47a13d5 add network-alias 2021-11-21 12:35:13 +02:00
872404c3a7 initial work on CNI podman network create 2021-11-21 01:23:29 +02:00
d8e11d59ef FIXES #312: run starts dependencies 2021-11-14 01:37:22 +02:00
72c3572123 #289: exit code and test for that 2021-11-14 00:59:41 +02:00
d1a77defcd external name 2021-10-14 02:11:45 +03:00
ab135030c8 add support for long port publishing format 2021-10-10 00:43:01 +03:00
Sam
62aa337f17 feat(secrets): Add support for secrets
Adds support for -
- (1) Declared secrets with the file location.
- (2) Declared secrets with file location, mounted as a different named secret.
- (3) Declared secrets with file location, mounted at arbitrary location.
- (4) External secrets (type=mount), mounted as original secret name.
- (5) External secrets (type=mount), mounted as original secret name, with specified uid, gid and mode.
2021-07-24 02:29:32 +03:00
8ef7587aa1 Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-06-16 22:17:28 +03:00
a7f97b6120 implement -e in run 2021-05-06 01:17:01 +03:00
0ea18b4419 Force adding an .env file for the tests 2021-05-06 00:50:41 +03:00
2ad7daa81f Test variable interpolation in the YAML 2021-05-06 00:44:46 +03:00
19733407b4 Add support for --build-arg option 2020-04-22 14:31:00 +03:00
6a42d6861d add ports test 2020-04-18 22:41:06 +03:00
796e6a4473 Avoid crash when no services are defined
If no services are defined, podman-compose
crashes as services variable is None,
while the expected behavior might be
an error or the same as docker-compose, which will continue the
execution of the compose file (eg. creating networks, etc).

This commit fixes the crash and allows the program to continue, mimicking
docker-compose behavior.
2020-04-05 10:42:31 +03:00
9e0dd2da9d extends with external file 2019-10-05 22:37:14 +03:00
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
87e7211ade #54: fix ulimits 2019-10-04 20:27:19 +03:00
d9cd0d6186 Merge branch 'master' of github.com:containers/podman-compose into devel 2019-09-13 22:23:22 +03:00
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
f505e499a2 a test showing yaml anchor magic 2019-09-09 00:48:25 +03:00
2a8d430c92 FIXES #35: now support multiple composer files 2019-09-08 02:20:48 +03:00
a512c0cb82 #35: test for multiple -f 2019-09-04 16:12:13 +03:00
be2726da18 test compose files with build 2019-09-03 18:35:56 +03:00
470f8a3851 update readme and no arguments print help 2019-09-03 00:19:07 +03:00