Povilas Kanapickas
5b571942e0
Merge pull request #880 from p12tic/fix-test-names
...
github: Fix test names
2024-03-08 15:56:01 +02:00
Povilas Kanapickas
de8f545f07
Merge pull request #881 from p12tic/test-fix-teardown
...
tests: Properly tear down containers in extends_w_file_subdir test
2024-03-08 15:55:54 +02:00
Povilas Kanapickas
1a24cde608
tests: Properly tear down containers in extends_w_file_subdir test
...
podman rmi does not guarantee that the container itself is shut down.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 15:52:40 +02:00
Povilas Kanapickas
a90da4dfaf
github: Fix test names
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 15:51:24 +02:00
Povilas Kanapickas
6841619b9c
Merge pull request #879 from p12tic/tests-debug-output
...
tests: Add verbose debug option via env variable
2024-03-08 15:50:58 +02:00
Povilas Kanapickas
27c8cebbdc
tests: Add verbose debug option via env variable
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 15:34:00 +02:00
Povilas Kanapickas
c84b4c33fc
Merge pull request #878 from p12tic/tests-decoded-output
...
tests: Print decoded subprocess output in case of failure
2024-03-08 15:15:24 +02:00
Povilas Kanapickas
0614687840
tests: Print decoded subprocess output in case of failure
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 15:11:25 +02:00
Povilas Kanapickas
a494f20e15
Merge pull request #877 from p12tic/tests-faster
...
tests: Optimize speed by using dumb-init to handle SIGTERM signal
2024-03-08 14:49:25 +02:00
Povilas Kanapickas
6af7a2d691
tests: Optimize speed by using dumb-init to handle SIGTERM signal
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 14:45:53 +02:00
Povilas Kanapickas
872664b727
Merge pull request #876 from p12tic/tests-print-subprocess-errors
...
tests: Print output in case subprocess returns unexpected code
2024-03-08 14:41:23 +02:00
Povilas Kanapickas
f4dc5f3b93
tests: Print output in case subprocess returns unexpected code
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 13:14:02 +02:00
Povilas Kanapickas
ac5034065d
Merge pull request #875 from p12tic/spdx-identifiers
...
Add SPDX license identifiers to each source file
2024-03-08 12:35:02 +02:00
Povilas Kanapickas
b34f699adb
Add SPDX license identifiers to each source file
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 12:19:51 +02:00
Povilas Kanapickas
3d68d2432d
Merge pull request #874 from p12tic/github-tests-on-all-branches
...
github: Run tests on all branches
2024-03-08 12:09:57 +02:00
Povilas Kanapickas
2c6c1be197
github: Run tests on all branches
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 12:02:06 +02:00
Povilas Kanapickas
f81cbe39b5
Merge pull request #872 from containers/dependabot/github_actions/actions/setup-python-5
...
Bump actions/setup-python from 4 to 5
2024-03-08 11:43:49 +02:00
dependabot[bot]
91737ee0a6
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-08 09:41:46 +00:00
Povilas Kanapickas
9d1407ba90
Merge pull request #871 from p12tic/unittest
...
Migrate tests to unittest
2024-03-08 11:39:20 +02:00
Povilas Kanapickas
b65d4a3916
github: Fix ruff job setup
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 11:36:57 +02:00
Povilas Kanapickas
23fe9e7e1d
Migrate tests to unittest
...
unittest is much more straightforward without any magic. In a small
project like podman-compose being easy to understand is more important
than features.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 11:33:17 +02:00
Povilas Kanapickas
7539257ee8
requirements: Install . for tests
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 11:00:33 +02:00
Povilas Kanapickas
9e29891aa7
Merge pull request #870 from p12tic/ruff
...
Use ruff for formatting
2024-03-07 18:28:52 +02:00
Povilas Kanapickas
a967cab02b
Format codebase with ruff
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-07 18:28:06 +02:00
Povilas Kanapickas
a5c354d60b
Replace flake8, black, pylint with ruff
...
For now pylint checks are disabled.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-07 18:28:05 +02:00
Povilas Kanapickas
e4e5b7d461
Make test requirements reproducible
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-07 18:28:04 +02:00
Brett C
e0edd5dac1
Fix package installation
...
Signed-off-by: Brett Calliss <brett@obligatory.email>
2024-02-25 01:25:28 +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