Commit Graph

327 Commits

Author SHA1 Message Date
Muayyad alsadi 9e3020a9df FIXES #307: systemd command 2022-03-12 23:08:24 +03:00
Muayyad alsadi fc9ed19b2b wait command 2022-03-12 21:16:16 +03:00
Muayyad alsadi 2d6bb52e36 FIXES #442: allow --no-pod or custom --pod-args 2022-03-08 21:22:43 +03:00
Muayyad alsadi 7942a091c3 FIXES #442: allow --no-pod or custom --pod-args 2022-03-08 21:13:14 +03:00
Muayyad alsadi 701311aa7a FIXES #447: support --env-file 2022-03-08 12:01:02 +03:00
Muayyad alsadi d7049150d0 FIXES #447: support --env-file 2022-03-08 10:57:44 +03:00
Muayyad alsadi 3b7bf81051 remove unused test 2022-03-08 10:47:16 +03:00
Tom Bu a735aa5b96 Fix inverted condition in merging arguments
Signed-off-by: Tom Bu <tombu@tombu.info>
2022-03-02 06:12:26 +03:00
Piotr Husiatyński b78509527b Fix linter issues
Make _cmd_desc a public attribute, so that it can be used outside of the
class methods.

Signed-off-by: Piotr Husiatyński <phusiatynski@gmail.com>
2022-03-01 17:16:04 +03:00
Piotr Husiatyński 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
Muayyad alsadi af10345483 FIXES #440: absolute secret 2022-02-28 01:19:39 +03:00
Muayyad alsadi 2d1bcddf09 update readme 2022-02-26 03:13:38 +03:00
Muayyad alsadi 4f025679cf add unit tests 2022-02-26 03:10:35 +03:00
Muayyad alsadi 064521255b add badge 2022-02-26 02:58:26 +03:00
Muayyad alsadi b7c5609603 pylint 2022-02-26 02:51:06 +03:00
Muayyad alsadi 44508352e8 pylint 2022-02-26 02:49:34 +03:00
Muayyad alsadi 5c33e4efbb pylint 2022-02-26 01:41:07 +03:00
Muayyad alsadi cbd6f6b1b6 pylint cleanups 2022-02-26 00:48:42 +03:00
Muayyad alsadi de1e59d1d5 fix some pylint 2022-02-25 23:59:15 +03:00
Muayyad alsadi 2f0ca9e41d add pytest ci 2022-02-25 21:50:52 +03:00
Muayyad alsadi 59c9a69689 add pylint 2022-02-25 21:42:32 +03:00
Muayyad Alsadi b7eac1e898
pylint 2022-02-25 21:39:10 +03:00
Muayyad Alsadi 0d47e470fc
activate test 2022-02-25 21:30:15 +03:00
Piotr Husiatyński c2d7b26f2e #434: handle unknown service 2022-02-25 21:13:10 +03:00
Muayyad alsadi 1e895c0873 calc proper hash 2022-02-25 18:56:36 +03:00
Muayyad alsadi 132a22b524 #130: handle nested extend and normalize build context 2022-02-25 18:32:19 +03:00
kjunker 0bde01de07 remove unused imports
Signed-off-by: kjunker <junker.kurt@googlemail.com>
2022-02-22 13:26:44 +02:00
kjunker 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
kjunker 56b88639ad Fixing subdirectory from extends where extended service will build a Service from Dockerfile in an own subdirectory
Signed-off-by: kjunker <junker.kurt@googlemail.com>
2022-02-22 13:26:44 +02:00
Muayyad alsadi 5c3ec5f49a FIXES #431: support dns 2022-02-20 22:11:15 +02:00
Muayyad alsadi 779198b003 #379: no infra container 2022-02-17 17:19:25 +02:00
Muayyad alsadi 40cb6a760e log version 2022-02-17 13:36:44 +02:00
Muayyad alsadi 4fd9d86e17 #379: nothing shared in the pod to allow hostname 2022-02-17 13:28:31 +02:00
Devansh Sharma 2a2c3a09c1 Fix timeout value data type
Signed-off-by: Devansh Sharma <devansh.sharma@gmail.com>
2022-02-17 10:16:39 +02:00
Muayyad alsadi 80e852717d #379: create a pod 2022-02-15 01:55:28 +02:00
Muayyad alsadi d6e21dc752 FIXES #425: pass --requires 2022-02-15 01:33:00 +02:00
Muayyad alsadi b9b2f83d04 FIXES #415: allow network_mode=slirp4netns 2022-02-12 17:39:42 +02:00
Muayyad alsadi 9af65ea112 adjust comment 2022-02-12 17:35:04 +02:00
Muayyad alsadi 3e6e268034 test for logs 2022-02-12 13:54:30 +02:00
Cody Hutchins af6a3069ce fix syntax error without a new line
Signed-off-by: Cody Hutchins <codyhutchins@seed-innovations.com>
2022-02-12 13:47:45 +02:00
Cody Hutchins 68f745fe62 referenced unmerged pr #192 to bring colors into container logging
Signed-off-by: Cody Hutchins <codyhutchins@seed-innovations.com>
2022-02-12 13:47:45 +02:00
Muayyad alsadi 90dcfdbf44 FIXES #420: document -t 2022-02-12 13:42:00 +02:00
Geoffroy Doucet ed8635a9a3 FIXES #422: Remove debug print
Signed-off-by: Geoffroy Doucet <geoffroy.doucet@kloodz.com>
2022-02-12 13:35:58 +02:00
Adrian Torres 1d972ef174 Propagate all bind-type mount options
Before this commit, adding multiple options to a bind-type mount
(e.g. /foo/bar:/baz:Z,U) would result in a podman command in which
only the last option would be used (e.g. U).

This is because when parsing the mount string, a loop would go over
each mount option and assign it to mount_opt_dict, this meant that
this dict was overridden for each option, thus only the last option
in the mount string would be kept and passed onto podman.

This commit solves this by appending to a temporary list and then
converting it to a comma-separated string and assigning it to the
mount_opt_dict.

Fixes #412

Signed-off-by: Adrian Torres <atorresj@redhat.com>
2022-02-12 13:27:49 +02:00
Bernd Schoolmann 536925ca78 FIXES #413: parse network_mode: container:container_name correctly
Signed-off-by: Bernd Schoolmann <mail@quexten.com>
2022-01-30 14:55:21 +02:00
Muayyad alsadi 09c6cbe503 FIXES #408: preserve exit code 2022-01-22 00:24:17 +02:00
Muayyad alsadi 154a51245f FIXES #386: make sure volumes are present in top level 2022-01-22 00:15:05 +02:00
Muayyad alsadi 523d215b48 #407: allow network_mode=service:mysrv 2022-01-18 20:40:29 +02:00
Muayyad Alsadi 25494b5f6e
Update README.md 2022-01-18 17:57:37 +02:00
tengattack 19662c02a1 Fix healthcheck test type on replicas 2022-01-15 20:22:05 +02:00