Povilas Kanapickas
d1ba2f4c7d
Merge pull request #1124 from notdian/file_not_found_error
...
remove incorrect os.chdir, handle relative extends/includes
2025-01-31 01:48:13 +02:00
notdian
e03d675b9b
Remove incorrect os.chdir call to fix folder error
...
Signed-off-by: notdian <dian@fishekqi.com>
2025-01-31 01:24:24 +02:00
Povilas Kanapickas
51d180d2d0
Merge pull request #1120 from mokibit/inform-user-to-use-newer-python
...
Throw a readable error on too old Python
2025-01-27 21:53:24 +02:00
Povilas Kanapickas
9c905f9012
Merge pull request #1116 from Zeglius/dockerfile_inline
...
Add support for dockerfile_inline
2025-01-27 21:52:05 +02:00
Monika Kairaityte
bdb3e4e984
Throw a readable error on too old Python
...
podman-compose v1.0.6 is the last to support Python3.6. When newer
podman-compose version is used with too old Python, podman-compose gives
only a confusing error. This commit gives a clear message to use
upgraded Python version.
A descriptive error can not be thrown, as line "from __future__ imports"
must occur at the beginning of the file, but older Python (older than
Python3.7) does not recognize __future__ and throws an error
immediately.
Therefore, a comment is used to inform the user to update his Python
version.
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-27 21:49:50 +02:00
Zeglius
105e390f6b
Add support for dockerfile_inline
...
Fixes #864
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
2025-01-27 21:45:42 +02:00
Povilas Kanapickas
d79ff01e77
Merge pull request #1113 from mokibit/categorize-integration-tests
...
tests/integration: Categorize integration tests
2025-01-23 02:17:08 +02:00
Monika Kairaityte
d9ef3d2cc6
tests/integration: Add missing __init__.py for network_scoped_aliases
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
d23ef4f481
tests/integration: Add missing __init__.py for build_labels test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
b685bce400
tests/integration: Move test utils to one test_utils file
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
7d5bf645f6
tests/integration: Move test "vol" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
9f7ae38bac
tests/integration: Move test "ports" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
3cee4e015c
tests/integration: Move test "config" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
498a1994ce
tests/integration: Move test "env" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
488908f809
tests/integration: Move test "env_file" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
f7bcc4221e
tests/integration: Move test "up_down" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
a73df712cc
tests/integration: Move test "build_ulimits" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
50dc19f5f8
tests/integration: Move test "network" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
9029dce0f6
tests/integration: Move test "nets_test2" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
a8282c77d6
tests/integration: Move test "nets_test1" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
f4b775c7e4
tests/integration: Move test "nethost" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
adf30e0475
tests/integration: Move test "multicompose" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
41675c3916
tests/integration: Move test "ipam_default" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
6caf2eae42
tests/integration: Move test "interpolation" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
3093b00326
tests/integration: Move test "include" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
1c21d655ba
tests/integration: Move test "in_pod" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
18e5fd64f3
tests/integration: Move test "filesystem" to corresponding dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
24bdfd1e17
tests/integration: Move test "extends_w_file_subdir" to corresp. dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
c2d3e156c2
tests/integration: Move test "extends_w_file" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
ba95100cff
tests/integration: Move test "extends_w_empty_service" to corresp. dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:11:46 +02:00
Monika Kairaityte
6022669991
tests/integration: Move test "extends" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:01:44 +02:00
Monika Kairaityte
e29df71d42
tests/integration: Move test "exit_from" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 02:01:44 +02:00
Monika Kairaityte
21b9d385b2
tests/integration: Move test "deps" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 01:48:47 +02:00
Monika Kairaityte
4c17ce2434
tests/integration: Move test "default_net_behavior" to corresponding dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 01:48:47 +02:00
Monika Kairaityte
09d54e9dcc
tests/integration: Move test "build_secrets" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 01:48:47 +02:00
Monika Kairaityte
f1dd9b374e
tests/integration: Move test "build_fail" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 01:48:47 +02:00
Monika Kairaityte
87af67fe94
tests/integration: Move test "network_scoped_aliases" to corresp. dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 01:48:47 +02:00
Monika Kairaityte
f1d663874e
tests/integration: Move test "build" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 01:48:47 +02:00
Monika Kairaityte
69ffff33f6
tests/integration: Move test "additional_contexts" to corresp. dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-01-23 01:48:47 +02:00
Povilas Kanapickas
f376700972
Merge pull request #1104 from rjeffman/disable_dns
...
Add support for disable_dns, dns and ignore on network creation
2025-01-19 19:41:30 +02:00
Rafael Guterres Jeffman
9be3ec985f
Add network "dns" support
...
This patch add 'x-podman.dns' option to the 'network' configuration,
allowing users to set the DNS resolvers for a defined network.
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-01-17 13:58:13 -03:00
Rafael Guterres Jeffman
6e642dca1f
Add network "disable-dns" support
...
Podman allows to create a network disabling the DNS plugin with
'--disable-dns', but this option is not available in the compose spec.
This patch add 'x-podman.disable-dns' to the podman-compose options,
allowing the creation of a network with the DNS plugin disabled.
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-01-17 12:14:15 -03:00
Povilas Kanapickas
0f2c717655
Merge pull request #1110 from indrat/1105-service-env-vars
...
expand service environment_variables before adding to subs_dict
2025-01-16 20:13:39 +02:00
indra
2aa042b9c7
expand service environment_variables before adding to subs_dict
...
Also modifies an existing integration test to expect an empty string as `docker-compose` warns that
`ZZVAR3` is not set and defaults it to an empty string per the acutal output here.
```yaml
$ docker-compose -f container-compose.load-.env-in-project.yaml config
WARN[0000] The "ZZVAR3" variable is not set. Defaulting to a blank string.
name: project
services:
app:
command:
- /bin/busybox
- sh
- -c
- env | grep ZZ
environment:
ZZVAR1: This value is loaded but should be overwritten
ZZVAR2: This value is loaded from .env in project/ directory
ZZVAR3: ""
...
```
Signed-off-by: indra <indra.talip@gmail.com>
2025-01-16 21:00:49 +11:00
Povilas Kanapickas
a177603661
Merge pull request #1108 from bailsman/fix-398
...
Fixes #398 : exclude deps on up if --no-deps
2025-01-15 23:51:37 +02:00
Emanuel Rietveld
bc4177fbdc
Exclude dependent containers on up if --no-deps.
...
Fixes #398 .
Signed-off-by: Emanuel Rietveld <e.j.rietveld@gmail.com>
2025-01-15 22:32:28 +01:00
Emanuel Rietveld
8206cc3ea2
Run should not add --requires if --no-deps.
...
Fixes #717 .
Signed-off-by: Emanuel Rietveld <e.j.rietveld@gmail.com>
2025-01-15 22:29:51 +01:00
Povilas Kanapickas
60ac5e43b3
Merge pull request #1107 from containers/dependabot/pip/virtualenv-20.26.6
...
build(deps): bump virtualenv from 20.25.1 to 20.26.6
2025-01-13 22:17:09 +02:00
dependabot[bot]
48c6c38fcd
build(deps): bump virtualenv from 20.25.1 to 20.26.6
...
Bumps [virtualenv](https://github.com/pypa/virtualenv ) from 20.25.1 to 20.26.6.
- [Release notes](https://github.com/pypa/virtualenv/releases )
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pypa/virtualenv/compare/20.25.1...20.26.6 )
---
updated-dependencies:
- dependency-name: virtualenv
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 18:24:07 +00:00
Povilas Kanapickas
84f1fbd622
Merge pull request #1101 from p12tic/post-release-fixes
...
RELEASING: Fix release command
2025-01-07 21:24:36 +02:00