Muayyad Alsadi
1b85ebe506
version
2024-02-06 00:26:51 +03:00
Muayyad Alsadi
9ed05a23ef
add TQDM and implement pool.join
2024-02-06 00:26:51 +03:00
Muayyad Alsadi
d475260951
add TQDM and implement pool.join
2024-02-06 00:26:51 +03:00
Muayyad Alsadi
831caa6276
remove recursion
2024-02-06 00:23:14 +03:00
Ben Plessinger
9ac33392a0
Fix issue #831
...
Signed-off-by: Ben Plessinger <Benjamin.Plessinger@roswellpark.org>
2024-02-06 00:20:11 +03:00
Falmarri
c5be5bae90
Fixup tests
...
Signed-off-by: Falmarri <463948+Falmarri@users.noreply.github.com>
2024-02-04 10:11:57 +03:00
Falmarri
c6a1c4c432
Add tests to make sure all async paths are covered
...
Not at 100% yet. But upped code coverage significantly and covered major
async calls.
Signed-off-by: Falmarri <463948+Falmarri@users.noreply.github.com>
2024-02-04 10:11:57 +03:00
Falmarri
3c9628b462
Fix a couple issues and update docs
...
Signed-off-by: Falmarri <463948+Falmarri@users.noreply.github.com>
2024-02-04 10:11:57 +03:00
Falmarri
38b13a34ea
Use asyncio for subprocess calls
...
Removes the threads from compose_up and manages it using async. Also
uses async processing to format the log messages instead of piping
through sed. This should work on windows without having sed installed
Adds --parallel to support pull and build in parallel, same as docker
compose
Signed-off-by: Falmarri <463948+Falmarri@users.noreply.github.com>
2024-02-04 10:11:57 +03:00
ambiamber
bce40c2db3
Change "an key-value" to "a key-value"
2023-08-08 18:05:58 +03:00
Kian-Meng Ang
78f8cad7c4
Fix typos
...
Found via `codespell -L poped`
2023-08-08 18:05:25 +03:00
Mohammed Tayeh
7942a540cd
fix styling errors
...
Signed-off-by: Mohammed Tayeh <m.tayeh94@gmail.com>
2023-08-08 18:05:02 +03:00
Mohammed Tayeh
cb9cf6002f
add stats command
...
Signed-off-by: Mohammed Tayeh <info@tayeh.me>
2023-08-08 18:05:02 +03:00
Evedel
06587c1dca
rm redundant tests
...
Signed-off-by: Evedel <svbiriukov@gmail.com>
2023-08-02 14:19:15 +03:00
Evedel
bc9168b039
add no-normalize flag
...
Signed-off-by: Evedel <svbiriukov@gmail.com>
2023-08-02 14:19:15 +03:00
Sergei Biriukov
57c527c2c9
add edits from review
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-08-02 14:19:15 +03:00
Sergei Biriukov
d1f5ac9edc
convert build context path to absolute during final normalisation
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-08-02 14:19:15 +03:00
Natanael Arndt
0164c1db56
Simplify the fix using or
.
...
Signed-off-by: Natanael Arndt <arndtn@gmail.com>
2023-07-26 17:32:14 +03:00
Natanael Arndt
e5cdce4e7d
default to an empty dict for the from service if the service is None
...
Signed-off-by: Natanael Arndt <arndtn@gmail.com>
2023-07-26 17:32:14 +03:00
Natanael Arndt
280f1770bf
Add a test to extend using an empty service (placeholder)
...
Signed-off-by: Natanael Arndt <arndtn@gmail.com>
2023-07-26 17:32:14 +03:00
Muayyad alsadi
f75d12af21
broken in py 3.7
2023-07-18 13:23:55 +03:00
Hedayat Vatankhah
5454c3ad0f
Add 'links' aliases to container aliases
...
Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com>
2023-07-18 13:14:57 +03:00
Hedayat Vatankhah
901adf47d0
Use defined environment variables in the image build process
...
Build images with service environment variables defined so that they can be
used in the build process
Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com>
2023-07-18 13:13:33 +03:00
Mahmoud Abduljawad
bf07e91163
Implement include
from compose-spec
...
Signed-off-by: Mahmoud Abduljawad <mahmoud@masaar.com>
2023-07-18 13:05:46 +03:00
Muayyad alsadi
3890eacf57
Merge branch 'Evedel-allow-config-to-merge-strings-and-dicts-in-build' into devel
2023-05-29 11:47:41 +03:00
Sergei Biriukov
cfd24cc2e8
Merge branch 'devel' into allow-config-to-merge-strings-and-dicts-in-build
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-05-06 18:14:44 +10:00
Sergei Biriukov
79bfad103c
move logic from rec_merge to normalize_service
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-05-06 10:42:44 +03:00
Sergei Biriukov
d1509468c3
allow empty list to be a command/entrypoint
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-05-06 10:42:44 +03:00
Sergei Biriukov
9011e9faa1
add tests, dry up code, use shlex.split instead of str.split
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-05-06 10:42:44 +03:00
Sergei Biriukov
517aeba330
Allow config to merge strings and lists in command and entrypoint
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-05-06 10:42:44 +03:00
Sergei Biriukov
85d5d5dcc9
move logic from rec_merge to normalize_service
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-05-06 15:17:54 +10:00
Cleber Rosa
1ffd24dcf9
Python version support: sync verified and advertised versions
...
There are differences with regards to the versions of Python that are
verified (somehow) through Pylint, and the ones that are advertised.
Given that there's no pinning of Pylint versions, it shouldn't be
possible to use it on Python versions such as 3.5 and 3.6 (latest
Pylint doesn't support those). With that, let's cover all the
currently supported Python versions.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
2023-05-06 00:28:13 +03:00
Sergei Biriukov
8c66b1cda7
add test case for when build is a complex dictionary
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-04-30 15:37:52 +10:00
Sergei Biriukov
a0005db474
add code implementing build value merge
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-04-29 13:52:19 +10:00
Sergei Biriukov
221cf14501
add tests for build value merge
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-04-29 13:17:43 +10:00
Sergei Biriukov
a61945b516
fix format
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-04-21 20:47:53 +03:00
Sergei Biriukov
6b6330c587
add build subcommand and --build arg to compose_run
...
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
2023-04-21 20:47:53 +03:00
BugFest
5d279c4948
Build-fail test example
...
Signed-off-by: BugFest <bugfest.dev@pm.me>
2023-04-12 22:25:33 +03:00
BugFest
5a3bdbf89b
Exit code managed at PodmanCompose.run()
...
Signed-off-by: BugFest <bugfest.dev@pm.me>
2023-04-12 22:25:33 +03:00
BugFest
1eb166445b
Linting fixes
...
Signed-off-by: BugFest <bugfest.dev@pm.me>
2023-04-12 22:25:33 +03:00
BugFest
82182b7bc6
Finish execution in compose_build only on command=build calls
...
Signed-off-by: BugFest <bugfest.dev@pm.me>
2023-04-12 22:25:33 +03:00
BugFest
3f4618866b
Update project-1.env
2023-04-10 14:14:14 +03:00
BugFest
91bc6ebdb4
Keep chdir after loading env file
...
Signed-off-by: BugFest <bugfest.dev@pm.me>
2023-04-10 14:14:14 +03:00
BugFest
59a59c1a3a
Fixes #636 : env-file shall be resolved relative to the CWD
...
Signed-off-by: BugFest <bugfest.dev@pm.me>
2023-04-10 14:14:14 +03:00
BugFest
620f5d7473
pre-commit black config: run in check only mode
...
Signed-off-by: BugFest <bugfest.dev@pm.me>
2023-04-10 14:13:00 +03:00
BugFest
6f902faed0
Fix linting issues
...
Signed-off-by: BugFest <bugfest.dev@pm.me>
2023-04-10 14:12:32 +03:00
Muayyad Alsadi
ccdf01e9b0
Revert "Use SELinux mount flag for secrets"
...
This reverts commit 874192568f
.
2023-04-10 12:26:53 +03:00
Muayyad Alsadi
e6b1eabe4c
Revert "Use more lenient SELinux mount flag for secrets"
...
This reverts commit 75de39c239
.
2023-04-10 12:26:53 +03:00
Henry Reed
75de39c239
Use more lenient SELinux mount flag for secrets
...
Signed-off-by: Henry Reed <60915078+henryreed@users.noreply.github.com>
2023-04-10 12:25:53 +03:00
Henry Reed
874192568f
Use SELinux mount flag for secrets
...
Signed-off-by: Henry Reed <github.69ofd@simplelogin.com>
2023-04-10 12:25:53 +03:00