124879a7b9
tests/integration: Automate manual 'extends_w_file' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-05 15:25:33 +03:00
368efe2ee3
tests/integration: Automate manual 'extends_w_empty_service' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-05 13:16:38 +03:00
eeefd37996
Merge pull request #1016 from legobeat/refactor-resolvable-type-checks
...
fix: improve type resolutions
2024-08-03 17:01:13 +03:00
b7514a0647
Merge pull request #1018 from legobeat/drop-python-3.8
...
Minimum Python version 3.9
2024-08-03 17:00:02 +03:00
561094954d
test: Use stable apt-get cli for package installation
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:24:36 +00:00
ea239c4b77
Simplify secrets assignment
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:01:16 +00:00
9fdee76858
Initialize default values in PodmanCompose constructor
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:01:08 +00:00
0a6e0a35e1
Fix services replicas type
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:00:40 +00:00
26e6651d6c
Type hints via annotations
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:00:36 +00:00
462603383c
Remove is_dict,is_str for better pyright inference
...
When support for python3.8 and python3.9 has been dropped, it will be possible to eat the cak and
have it due to PEP-647.
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:00:30 +00:00
8411db49d1
Minimum Python version 3.9
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 00:50:26 +00:00
fc90f60bf1
Merge pull request #1014 from legobeat/refactor-redundant-vars
...
refactor: clean up redundant proj_name, net vars
2024-08-02 10:22:28 +03:00
ed58ac0879
clean up redundant default_net variable
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-01 23:16:13 +00:00
305f25b4d6
clean up redundant proj_name
...
- remove unutilized proj_name parameter from volume_ls
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
proj_name
2024-08-01 23:16:13 +00:00
edadf73d82
Merge pull request #1017 from mokibit/automate-extends-tests
...
tests/integration: Automate manual 'extends' test
2024-08-01 21:41:30 +03:00
dc04108b3e
tests/integration: Automate manual 'extends' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-08-01 21:29:43 +03:00
348461ca77
Merge pull request #1007 from mokibit/automate-env-tests
...
tests/integration: Automate manual `env` tests
2024-07-30 14:09:55 +03:00
92dbd3690e
tests/integration: Automate 'env-file-tests' manual tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-30 12:46:13 +02:00
a1e9a82693
Merge pull request #1012 from mokibit/automate-exit-from-tests
...
tests/integration: Automate manual `exit-from` tests
2024-07-30 11:16:17 +03:00
9e11c6bfbc
tests/integration: Automate manual 'exit-from' tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-30 09:40:20 +02:00
0d24c41afb
tests/integration: Automate 'env-tests' manual test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-29 10:39:49 +02:00
585d344d0a
Merge pull request #1004 from lisongmin/substitution-with-service-environment
...
Substitution with service environment
2024-07-27 00:06:46 +03:00
3aa6d4d158
Merge pull request #1009 from bkueng/platform_build_cmd
...
podman_compose.py: support "platform" property in the build command
2024-07-27 00:04:54 +03:00
34f5268e37
Add unittest for rec_subs
...
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-07-27 00:04:06 +03:00
b5eaf314ad
Support variable substitution with service's environment
...
This commit introduces the ability to substitute environment variables
within the 'environment' section of the service definition.
This allows for more dynamic configuration of services.
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-07-27 00:04:06 +03:00
b3c49df6eb
podman_compose.py: support "platform" property in the build command
...
This was already added to container_to_args() in https://github.com/containers/podman-compose/pull/470
which is used for the 'up' and 'run' commands.
Definition in the schema: https://github.com/compose-spec/compose-spec/blob/main/schema/compose-spec.json#L329
Signed-off-by: Beat Küng <beat-kueng@gmx.net >
2024-07-26 23:58:11 +03:00
dbbd695463
Merge pull request #1008 from mokibit/automate-deps-test
...
tests/integration: Automate manual `deps` test
2024-07-23 23:12:17 +03:00
1b1d3d8c25
Merge pull request #1010 from jasonchuanet/docs_uidmaps_gidmaps
...
Update docs+messages to reflect uidmaps/gidmaps code
2024-07-23 23:11:00 +03:00
7d7e64fe5a
Update docs+messages to reflect uidmaps/gidmaps code
...
Signed-off-by: Jason Chua <jasonc1804@gmail.com >
2024-07-22 20:54:41 -07:00
3c9c18c6e0
tests/integration: Automate deps
manual test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-22 15:19:34 +02:00
d0a2a44442
Merge pull request #1003 from njhanley/remove-branch-names-from-contrib-docs
...
Remove references to nonexistent devel and stable branches
2024-07-19 19:11:48 +03:00
1e66c28bbb
Remove references to nonexistent devel and stable branches
...
Closes #894
Signed-off-by: Nick Hanley <nicholasjhanley@gmail.com >
2024-07-18 21:41:59 -04:00
b6eadd56b1
Merge pull request #1002 from nerilex/main
...
Add `--network=none` if `network_mode: none` is set
2024-07-17 05:19:19 +03:00
d95b4d026b
Add newsfragment
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-17 01:43:45 +03:00
e2eb883709
Add --network=none
if network_mode: none
is set; fixes #1001 .
...
Signed-off-by: bg <bg@nerilex.org >
2024-07-17 01:41:04 +03:00
0866492a7e
Merge pull request #1000 from zoumingzhe/main
...
Support python direct call _parse_args or run
2024-07-15 18:48:39 +03:00
85050097e5
Support python direct call _parse_args or run
...
For example:
```
>>> from podman_compose import podman_compose
>>> podman_compose._parse_args(['version'])
>>> podman_compose.run(['help'])
```
Signed-off-by: Mingzhe Zou <zoumingzhe@qq.com >
2024-07-15 12:04:39 +08:00
daab93b762
Merge pull request #997 from mokibit/automate-build-tests
...
Automate manual `build` tests
2024-07-08 22:42:00 +03:00
9fe30387ee
tests/integration: Automate 'build_fail' manual test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-08 21:37:29 +02:00
0f8348bea7
tests/integration: Automate 'build' manual test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-08 21:36:29 +02:00
55ab3fa7f7
Merge pull request #994 from swick/wip/build-labels
...
Pass build description labels to podman build
2024-07-08 19:20:22 +03:00
2091ade7b1
Add newsfragment
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-08 19:15:16 +03:00
ca58d7cd58
Pass build description labels to podman build
...
The Compose Specification supports adding labels to the build image
which is also used in practice. Support this and pass the labels to
`podman build`.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com >
2024-07-08 19:15:16 +03:00
3296c8d34f
Merge pull request #993 from p12tic/compose-file-links
...
Don't resolve links to compose file
2024-07-06 19:35:18 +03:00
dab6b1b98d
Merge pull request #992 from p12tic/docker-compose-name-compat
...
Add a way to remove dashes in default network names
2024-07-06 18:56:25 +03:00
5bf4c0fdbe
Add a way to remove dashes in default network names
...
This is the behavior exhibited by docker compose. The network names are
user-visible through external networks, so previously anyone who
migrated from docker-compose needed to change their configuration. Now
it is possible to select compatibility via a flag in x-podman global
dictionary.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-06 18:50:25 +03:00
67c5352c3a
Extract default_network_name_for_project()
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-06 18:32:09 +03:00
5e0f7e5e19
Merge pull request #990 from p12tic/tests-single-container-up
...
tests: Add integration tests for up -d with single container at a time
2024-07-06 01:06:23 +03:00
5040a37d47
tests: Add integration tests for up -d with single container at a time
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-06 00:59:50 +03:00
c82859b89f
Merge pull request #989 from p12tic/github-install-requirements-unconditionally
...
github: Install requirements unconditionally
2024-07-04 09:19:30 +03:00