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
29195be77c
github: Install requirements unconditionally
...
This makes tests less brittle as any renames to requirements files will
be noticed.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-04 09:17:27 +03:00
1c74d6cd11
Merge pull request #988 from p12tic/tests-discovery
...
Discover tests instead of passing a list of files to unittest
2024-07-03 19:52:56 +03:00
9a4af0ce62
Discover tests instead of passing a list of files to unittest
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-03 19:50:13 +03:00
0517b9e34c
Merge pull request #987 from p12tic/check-if-pod-exists-before-creating
...
Check whether pod exists before trying to create one
2024-07-03 19:35:28 +03:00
24038dace3
Check whether pod exists before trying to create one
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-03 19:31:13 +03:00
0ea4cbe091
Merge pull request #984 from mokibit/reduce-path-calculation-duplication
...
tests/integration: Reduce base path calculation duplication
2024-07-03 09:13:49 +03:00
2056e703d5
tests/integration: Reduce base path calculation duplication
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-03 09:09:25 +03:00
137c6207b2
Merge pull request #981 from mokibit/add-unittests-for-secrets
...
unittests: Added unit tests for podman-compose secrets
2024-07-02 20:52:34 +03:00
4ec57c1013
unittests: Added unit tests for podman-compose secrets
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-02 20:26:58 +03:00
d9a3572461
Merge pull request #978 from PlugNPush/main
...
Restore support for alt dockerfiles (removing hardcoded "Dockerfile")
2024-06-26 21:39:42 +03:00
fa3e0a7772
Alt Dockerfile names fix
...
Signed-off-by: Michaël Nass - PlugN <michael.nass@free.fr >
2024-06-26 19:09:20 +02:00
0bcf0799b6
Merge pull request #976 from p12tic/tests-move-around
...
Move all tests to single directory "tests"
2024-06-26 11:30:21 +03:00
18472b53ac
Move all tests to single directory "tests"
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-06-26 11:28:16 +03:00