Commit Graph

4 Commits

Author SHA1 Message Date
Bruce Ashfield
9924532fa8 podman-compose: update to v1.3.0
Bumping podman-compose to version v1.3.0-4-g60ac5e4, which comprises the following commits:

    48c6c38 build(deps): bump virtualenv from 20.25.1 to 20.26.6
    ac5291e RELEASING: Fix release command
    9cbc4c1 Release 1.3.0
    6de335b Release notes for 1.3.0
    2379924 Add documentation for how to create a release
    eda4815 scripts: Add script to make new release
    cbb0cab scripts: Add script to create release notes
    483103a Declare compatibility with Python 3.13
    804852b Provide support for cache_from and cache_to fields
    f11e08e Read log output by chunks if a line is too long
    35cf4bc tests: Add test for container_to_build_args()
    9964604 Extract container_to_build_args()
    ac7ec5c Support network level mac_address attribute
    346f7a5 Ignore creating networks on network_mode=bridge.
    5564224 Add integration test for network scoped aliases
    978a138 Support network scoped service aliases
    4a232f5 Merge single and multi network handling in get_net_args_from_networks()
    aa8c6fd Simplify network handling in get_net_args_from_networks()
    fb0bbd6 Cleanup network alias processing
    b324029 Simplify network name processing when there is single network
    590c371 Move network alias processing to common location
    16196a1 Simplify ip address processing in get_net_args_from_networks()
    2dfbb59 Extract multiple network handling in get_net_args_from_networks()
    a34d1d1 Remove unused ip_assignments in get_net_args_from_networks()
    d6da65e Extract get_net_args_from_networks()
    de2c33d Simplify get_net_args_from_network_mode()
    2891be0 Ensure that network_mode and networks are not present at the same time
    a023dc1 Extract get_net_args_from_network_mode()
    420d19d Add integration test for default network behavior
    2cfc617 Support docker-compose like default network behavior
    054c66b Add device_cgroup_rules support
    145ae47 Simplified statements to retrieve keys from dictionaries
    a67fa0b Adding support for conditional dependencies
    3ba0396 Normalize depends_on service property
    973e15b Wrap dependencies within a class
    002c2e4 Extract run_container()
    a9cfdb6 build(deps): bump actions/checkout from 2 to 4
    c0dc3e4 build(deps): bump softprops/action-gh-release from 1 to 2
    41e69be Fix Dockerfile link in readme
    4203f79 add release.yml workflow
    69e95be add Dockerfile and related scripts
    db0aad9 podman-compose down removes networks
    ab33954 add ssh support for build command
    90f54b9 Add x-podman.no_hosts extension
    df8fa58 tests/integration: Automate manual 'nets_test2' test
    5c81bbf tests/integration: Automate manual 'nets_test1' test
    deed4d5 tests/integration: Automate manual 'ipam_default' test
    08b3ac2 tests/integration: Delete 'netprio' test
    0de7e13 tests/integration: Automate manual 'multicompose' test
    cb294d7 tests/integration: Automate manual 'nethost' test
    8d0dd21 tests/integration: Automate manual 'interpolation' test
    4a7329b Revert "Use defined environment variables in the image build process"
    de3f93c tests/integration: Relocate 'filesystem' test
    f4bf69b tests/integration: Automate manual 'extends_w_file_subdir' test
    124879a tests/integration: Automate manual 'extends_w_file' test
    368efe2 tests/integration: Automate manual 'extends_w_empty_service' test
    5610949 test: Use stable apt-get cli for package installation
    ea239c4 Simplify secrets assignment
    9fdee76 Initialize default values in PodmanCompose constructor
    0a6e0a3 Fix services replicas type
    26e6651 Type hints via annotations
    4626033 Remove is_dict,is_str for better pyright inference
    8411db4 Minimum Python version 3.9
    ed58ac0 clean up redundant default_net variable
    305f25b clean up redundant proj_name
    dc04108 tests/integration: Automate manual 'extends' test
    92dbd36 tests/integration: Automate 'env-file-tests' manual tests
    9e11c6b tests/integration: Automate manual 'exit-from' tests
    0d24c41 tests/integration: Automate 'env-tests' manual test
    34f5268 Add unittest for rec_subs
    b5eaf31 Support variable substitution with service's environment
    b3c49df podman_compose.py: support "platform" property in the build command
    7d7e64f Update docs+messages to reflect uidmaps/gidmaps code
    3c9c18c tests/integration: Automate `deps` manual test
    1e66c28 Remove references to nonexistent devel and stable branches
    d95b4d0 Add newsfragment
    e2eb883 Add `--network=none` if `network_mode: none` is set; fixes #1001.
    8505009 Support python direct call _parse_args or run

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-01-17 19:17:09 +00:00
Leonard Anderweit
74087fc372 podman-compose: Add runtime dependencies
Add missing runtime dependencies on python modules asyncio, json and
getpass provided by unixadmin.
Sort the dependencies alphabetically while at it.

Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-01-07 22:05:27 +00:00
Bruce Ashfield
2cf563716f podman-compose: update to v1.2.0 -tip
Bumping podman-compose to version v1.2.0-29-g0866492, which comprises the following commits:

    8505009 Support python direct call _parse_args or run
    9fe3038 tests/integration: Automate 'build_fail' manual test
    0f8348b tests/integration: Automate 'build' manual test

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-16 14:26:41 +00:00
Bruce Ashfield
58cddd438e podman-compose: update to v1.2.0
Bumping podman-compose to version v1.2.0-27-gdaab93b, which comprises the following commits:

    9fe3038 tests/integration: Automate 'build_fail' manual test
    0f8348b tests/integration: Automate 'build' manual test
    2091ade Add newsfragment
    ca58d7c Pass build description labels to podman build
    5bf4c0f Add a way to remove dashes in default network names
    67c5352 Extract default_network_name_for_project()
    5040a37 tests: Add integration tests for up -d with single container at a time
    29195be github: Install requirements unconditionally
    9a4af0c Discover tests instead of passing a list of files to unittest
    24038da Check whether pod exists before trying to create one
    2056e70 tests/integration: Reduce base path calculation duplication
    4ec57c1 unittests: Added unit tests for podman-compose secrets
    fa3e0a7 Alt Dockerfile names fix
    18472b5 Move all tests to single directory "tests"
    d38b26b Release 1.2.0
    37e2cb2 Add release notes for v1.2.0
    6ef759c Use newsfragments pattern for the release notes
    67ce900 Commit .env in tests/env-file-tests, bypassing root .gitignore
    4e9f767 Load .env from Compose file's directory and cwd
    405001b Fix comment
    6b1aeff Add unittests for type=env secret
    f06975b Update tests for type=env secret
    546cad5 Add type=env secret support
    935029d Fix environment variable precedents
    360b85b Allow providing custom in_pod argument as a global compose file variable
    82740cc Add ability to input docker-compose.yaml via stdin
    0f645e4 Add ability to input docker-compose.yaml via stdin
    3b15170 Changed the global parser help message for file input, to reflect changes for reading from stdin
    3359380 Add ability to input docker-compose.yaml via stdin
    e799a0b Fix x-podman.gidmap typo
    65d1fde github: Add verbose option to integration tests
    2e8ed2f pytests: Add test for object required but path non existent
    040b73a pytests: Add tests for several multi-line environment files
    f3e9a96 Fixes #908: Add support for multi-line environment files
    2c5d00d github/workflows: Add codespellignore file to address false positives
    b513f50 test: add missing unit tests for selinux in verbose mount
    cac836b Support additional_contexts
    09034a0 test: Split test_gpu test
    0065082 refine the test_include for multi subcomposes
    4f73f2b fix: add include test file, edit the assertion
    1d64f2c Update podman_compose.py
    4e22fae Fix logging build error message
    79865c2 Add support for enabling GPU access
    c23a8b2 Do not pass --ipam-driver option when value set to default
    b202a09 Add support for `env_file` as objects
    5c4aa40 add await for create_pods call
    cef1785 Add instructions on install from Homebrew
    b761050 tests: Merge multiple compose merging tests into single test class
    e1d0ea7 tests: Move normalize_service tests to a separate test class
    1430578 tests: Simplify command and entrypoint normalization tests
    d31a8b1 Don't create pods/container when registering systemd unit
    5df4e78 README: explain that netavark is an alternative to the dnsname plugin
    70a0e2d Fix handling of --in-pod argument
    eea8bac Add images command
    a6c4263 Add tests for x-podman.uidmaps and x-podman.gidmaps
    9599cc0 Migrate x-podman dictionary to x-podman.* fields in container root
    2b4ecee Add docs for podman specific compose file extensions
    77f2e8e Support podman's external rootfs management
    72a94d5 implement --publish in docker-compose run
    2681566 Release 1.1.0
    c97f003 Add release notes for v1.1.0
    131010b Use x- prefix for x-podman.mac_address
    cdcedeb Use "service.build.ulimits" when present instead of "service.ulimits"
    3e1f7d5 add tests for selinux with verbose bind mount
    d7cf096 add support for selinux in verbose mount
    1f35c00 Add unit test for depends_on normalization as a dict
    6c09ce7 FIX issue https://github.com/containers/podman-compose/issues/704 - Windows fix sock not working.
    953534a Support and document all podman-specific network_modes
    6feff24 slirp4netns can be used without options
    9fd4cf4 Add unit tests for network_mode
    65849c9 add comment about per-network aliases
    9baea70 use preferred format of podman command line options
    bdff78d Ignore files generated by tests
    45ca1f9 Support podman-specific per-network mac_address specifiation
    91fbea3 Add unit tests for get_net_args()
    2743d69 Fix support for multiple networks with explicitly specified ipv4/ipv6 addresses
    dd34a90 Add testcase for failing network config
    f0bae1e Don't resolve links to compose file
    81d81fb Formats CONTRIBUTING.md
    b263dc1 Fixes typos and enhances CONTRIBUTING.md
    078ee7b Updates Signed-off-by link in CONTRIBUTING.md
    a6e3ae7 Fixes invalid name of test package in setup.py
    1e9cf1d Pass file secrets to "podman build" via parameter "--secret"
    bbfff78 Bump actions/checkout from 3 to 4
    c351f99 Add coverage to Github Action summary
    829cde0 Rename test classes to match filenames
    da63048 Don't spellcheck requirementfiles
    5e55df8 fix python < 3.9 compatibility
    fde7995 Fix python < 3.11 compatibility
    c592596 Split out the different tests into separate CI steps
    688ee9a Fix pylint issues
    c3a152e Enable pylint, because it catches stuff that ruff misses
    bd60bc9 Run tests on all supported python versions
    9d8b0b8 add editorconfig
    f2f5483 Extract compose_run args parsing and add unit tests
    c4fa8f7 Split exec args parsing into new function and add unit tests for it
    4c270b9 Allow run/exec -e with equals sign in value
    c5f7f55 Remove implemented commands from Missing Commands
    c98cbaa Fix #782: add support for http_proxy
    91d316f Added handling `pid` option
    969edb8 Add support for enable_ipv6
    bba1f33 Factor out arg creation for "network create". Add unit tests.
    a9c335b Handle sysctls maps
    e67c52f test_container_to_args: handle async tests
    2cdfb3e Fix stop/restart args stacking
    8ec5e03 github: Add PR template
    da520e2 switch to % string lazy formatting * fix black and pylint issues
    1e9e2ee Output: use logging, remove garbage output by default
    0f693ee Replaces asyncio timeout with bespoke timeout function
    cf90ab2 Run codespell throughout fixing typos automagically
    d2fa801 ignore poped (not sure why not to make it popped)
    2477748 Add pre-commit definition for codespell
    6e65a73 Add rudimentary codespell config
    f95ca7a Add github action to codespell devel on push and PRs
    0c0e77c Bump actions/checkout from 3 to 4
    bb2338e Fix unsorted imports
    15ae214 Add support for runtime service configuration key
    ed39523 github: Enable ruff check
    4e43606 Shorten too long lines
    91052cb Fix ambiguous variable name
    a6e0092 Remove unused variable
    59a1fa3 Use 'not in' for membership test
    36139fb Remove unused f-string
    b0da6f8 Fix import formatting
    94df95a README: Fix link to tests badge
    3a5a283 README: Remove link to pylint test badge
    7c81044 github: Run actions on python:3.11-bookworm
    1a24cde tests: Properly tear down containers in extends_w_file_subdir test
    a90da4d github: Fix test names
    27c8ceb tests: Add verbose debug option via env variable
    0614687 tests: Print decoded subprocess output in case of failure
    6af7a2d tests: Optimize speed by using dumb-init to handle SIGTERM signal
    f4dc5f3 tests: Print output in case subprocess returns unexpected code
    b34f699 Add SPDX license identifiers to each source file
    2c6c1be github: Run tests on all branches
    91737ee Bump actions/setup-python from 4 to 5
    b65d4a3 github: Fix ruff job setup
    23fe9e7 Migrate tests to unittest
    7539257 requirements: Install . for tests
    a967cab Format codebase with ruff
    a5c354d Replace flake8, black, pylint with ruff
    e4e5b7d Make test requirements reproducible
    e0edd5d Fix package installation
    831caa6 remove recursion
    9ac3339 Fix issue #831
    c5be5ba Fixup tests
    c6a1c4c Add tests to make sure all async paths are covered
    3c9628b Fix a couple issues and update docs
    38b13a3 Use asyncio for subprocess calls
    bce40c2 Change "an key-value" to "a key-value"
    78f8cad Fix typos
    7942a54 fix styling errors
    cb9cf60 add stats command
    06587c1 rm redundant tests
    bc9168b add no-normalize flag
    57c527c add edits from review
    d1f5ac9 convert build context path to absolute during final normalisation
    0164c1d Simplify the fix using `or`.
    e5cdce4 default to an empty dict for the from service if the service is None
    280f177 Add a test to extend using an empty service (placeholder)
    f75d12a broken in py 3.7
    5454c3a Add 'links' aliases to container aliases
    901adf4 Use defined environment variables in the image build process
    bf07e91 Implement `include` from `compose-spec`
    c31b4e2 Fixes #723: merge short & long syntax of depends_on dependencies
    79bfad1 move logic from rec_merge to normalize_service
    d150946 allow empty list to be a command/entrypoint
    9011e9f add tests, dry up code, use shlex.split instead of str.split
    517aeba Allow config to merge strings and lists in command and entrypoint
    85d5d5d move logic from rec_merge to normalize_service
    1ffd24d Python version support: sync verified and advertised versions
    8c66b1c add test case for when build is a complex dictionary
    a0005db add code implementing build value merge
    221cf14 add tests for build value merge
    a61945b fix format
    6b6330c add build subcommand  and --build arg to compose_run
    5d279c4 Build-fail test example
    5a3bdbf Exit code managed at PodmanCompose.run()
    1eb1664 Linting fixes
    82182b7 Finish execution in compose_build only on command=build calls
    3f46188 Update project-1.env
    91bc6eb Keep chdir after loading env file
    59a59c1 Fixes #636: env-file shall be resolved relative to the CWD
    620f5d7 pre-commit black config: run in check only mode
    6f902fa Fix linting issues
    ccdf01e Revert "Use SELinux mount flag for secrets"
    e6b1eab Revert "Use more lenient SELinux mount flag for secrets"
    75de39c Use more lenient SELinux mount flag for secrets
    8741925 Use SELinux mount flag for secrets
    0b853f2 Ignore access mode when merging volumes short syntax
    847f01a Add a docker-compose test file for uidmaps/gidmaps
    e511e64 FIXES #228: Add support for uidmap and gidmap
    a9723ec Added a way to start containers with multiple ips and nets
    1cb608d allow project name to be fetched from dotenv
    252f1d5 updating black formatting for podman-compose.py
    13856d2 updating black formatting
    8d8df0b Adding basic support for --profile argument
    bc5f012 add option to start podman in existing network namespace
    9a08f85 FIXES #586: preserve exit code for podman-compose build
    8625d7a add ipam-driver support
    016c97f Fixes #663 - Fixes linting/pylint errors
    2df1167 Fixes #661 - Fixes linting/flake8 errors
    5eff38e Fixes #659: fix permissions when installing OS packages for linting/black
    7f5ce26 start version 1.0.7 and default with pod enabled by default
    f6dbce3 version 1.0.6

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-10 15:59:26 +00:00