summaryrefslogtreecommitdiffstats
path: root/recipes-containers/podman-compose/podman-compose_1.0.6.bb
Commit message (Collapse)AuthorAgeFilesLines
* podman-compose: update to v1.2.0Bruce Ashfield2024-07-101-18/+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>
* podman-compose: switch to main branchBruce Ashfield2024-07-101-1/+1
| | | | | | | | | | | | | The upstream project has made the "interesting" decision to delete the stable branch and move to "main" for recent releases. So rather than being able to simply switch for our updates, we have to switch to main on all releases that had podman-compose recipes using the stable branch. Luckily, the commit hashes haven't changed, so we only have to modify the branch in the SRC_URI. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* layer-wide: drop PYTHON_PNBruce Ashfield2024-02-211-3/+3
| | | | | | | | | | | Similar to OE core commit b566b1e32c7993d1ab7795562f648e52ce186a70, we no longer need PYTHON_PN for any abstraction of python2 vs python3. Our similar / dup recipes are now causing signature differences, so we go ahead and make the substitution, even if it isn't stricly required. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman-compose: Actually update to v1.0.6Leonard Anderweit2023-11-061-1/+1
| | | | | | | | | | Commit 1fc1b193 (podman-compse: update to v1.0.6) states an update to v1.0.6 but does not change the SRCREV. Fix this by using the correct SRCREV of v1.0.6. Fixes: 1fc1b193 (podman-compse: update to v1.0.6) Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman-compose: Add missing runtime dependency python-dotenvLeonard Anderweit2023-08-121-1/+4
| | | | | Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman-compse: update to v1.0.6Bruce Ashfield2023-08-011-0/+15
Bumping podman-compose to version v1.0.6, which comprises the following commits: f6dbce3 version 1.0.6 dfb64d8 fix pylint 990f774 fix pylint 5e518c7 #648: check if sed exists to color logs 9046f7e #634: follow up ef55067 add support for network priorities ed2a6c0 Support network_mode: none b4c0792 Add --remove-orphans on down command e84451f Allow environment parameters without value 456370b Support build secrets efe3714 Add support for the `group_add` property of a service. c55a2f4 Fixes #657: Support act and developer-friendly environment b8a7593 #154: timeout bd29ddb #154: no -t for start 38219eb FIXES #154: handle stop_grace_period 08ffcf6 updating test_podman_compose_extends_w_file_subdir to use the correct image name 801faea Bump actions/setup-python from 2 to 4 06da966 Bump actions/checkout from 2 to 3 de3f607 Check for github actions updates weekly db1861d pull: accept service names as positional arguments 9d5b255 Use top-level name property as project name if user doesn't set one explicitly 2d05c5c FIXES #534: add systemd unit label 3c46016 FIXES #534: add systemd unit label 5b9cfe5 implement services.*.build.tags 8d1a4d7 Implemented basic Bash shell completion 859f03c Add healthcheck.disable support ae6be27 reformat ccdb98c implement podman kill command 909d05e reformat 0cf98c7 reimplement the of pause and unpause commands 843b876 fix typo 1188463 fix Typo podman-composer in version command 10580db Add pause,unpause commands support f7d335d #516: allow empty network 4a73ae8 FIXES #511: ipv6 f674ab8 #512: only use --net when bridge 265e0ca #512: only use --net when bridge 92662f3 FIXES #511: ipv6 42c0078 mac_address with dash da5ee72 reformat 06fc071 reformat 9eda56c FIXES #507: respecte mac_address 13c8981 Fix help message for systemd subcommand ee7029f reformat 75033a4 add python demo example c175fd1 reformat d479001 reference awesome-compose a2defdd example wordpress c55cd67 #307: default to /etc/ eed38ce Fixed accidental deletion of project functionality. 86ffad8 Added port subcommand. 118d39b Fix linter errors 814bd2a Support driver_opts for networks 606b9d9 Simplify var assignment 0057a4b Fix default external name in dict case 8ecb749 Update external volume name management d983056 Update external volume name management ed302ca Fix external volume name when no name provided 0b5c844 Add runtime error if no external volume exists 9c29c89 FIXES #486: replace realpath with abspath 89d2062 Fixed some spelling and grammar issues f42b568 Correct the help text for --pod-args a1d3ba4 Lint fixes for --services flag handling in config 6be661f Support platform property fc3598f Allow --services in config fbff315 FIXES #464: accept -v in run fc34703 format c7ada82 format 5e286f6 format 3dd8b05 format 3ecb4b5 FIXES #462: fix extends merge d05cad4 FIXES #462: fix extends merge ebb3dfe #452: better missing network message 7b99b38 nethost test 4ef8afc hit counter with redis cluster example a1aed09 GCR hello app 2cacf9c add echo example 4064c84 add azure vote example 0dde95a update gitignore 1be41b4 do not merge command array 105c27c example nodejs project f820594 use exec for wait 8a72321 FIXES #409: detect changes and recreate 5293919 FIXES #409: detect changes and recreate 48a19f1 print more help with systemd a9faabb print more help with systemd 3fb2b98 print more help with systemd b35b7e4 add systemd -a list 1a72e1e add systemd -a list b620311 FIXES #449: accept int port bf8004b systemd unit file cadf046 fix pylint 8d8149c fix pylint 3dd9817 fix pylint 0b469e0 format 9e3020a FIXES #307: systemd command fc9ed19 wait command 2d6bb52 FIXES #442: allow --no-pod or custom --pod-args 7942a09 FIXES #442: allow --no-pod or custom --pod-args 701311a FIXES #447: support --env-file d704915 FIXES #447: support --env-file 3b7bf81 remove unused test a735aa5 Fix inverted condition in merging arguments b785095 Fix linter issues 7623180 Force black formatting af10345 FIXES #440: absolute secret 2d1bcdd update readme 4f02567 add unit tests 0645212 add badge b7c5609 pylint 4450835 pylint 5c33e4e pylint cbd6f6b pylint cleanups de1e59d fix some pylint 2f0ca9e add pytest ci 59c9a69 add pylint b7eac1e pylint 0d47e47 activate test c2d7b26 #434: handle unknown service 1e895c0 calc proper hash 132a22b #130: handle nested extend and normalize build context 0bde01d remove unused imports 91a579b Adding Test that the changes can build Image from build context of extended compose-file 56b8863 Fixing subdirectory from extends where extended service will build a Service from Dockerfile in an own subdirectory 5c3ec5f FIXES #431: support dns 779198b #379: no infra container 40cb6a7 log version 4fd9d86 #379: nothing shared in the pod to allow hostname 2a2c3a0 Fix timeout value data type 80e8527 #379: create a pod d6e21dc FIXES #425: pass --requires b9b2f83 FIXES #415: allow network_mode=slirp4netns 9af65ea adjust comment 3e6e268 test for logs af6a306 fix syntax error without a new line 68f745f referenced unmerged pr #192 to bring colors into container logging 90dcfdb FIXES #420: document -t ed8635a FIXES #422: Remove debug print 1d972ef Propagate all bind-type mount options 536925c FIXES #413: parse network_mode: container:container_name correctly 09c6cbe FIXES #408: preserve exit code 154a512 FIXES #386: make sure volumes are present in top level 523d215 #407: allow network_mode=service:mysrv 25494b5 Update README.md 19662c0 Fix healthcheck test type on replicas 4943e52 #395: make podman respect PODMAN_* in .env 4aa08cd FIXES #399: pass specific ip 15e0ab9 FIXES #397: support host network mode f66861f #249: read COMPOSE_PROJECT_NAME env af53b65 Simplify volume identification 890c584 Update README.md 0bd493f Allow empty default/error value in substitution 481c6d0 #394: config: multiple yaml 31df70b updated per maintainer review df40051 removes version from CONTRIBUTING 21a716c added log back in f00ac92 added config command 0433410 added args for version 0f9fe2b FiXES #393: missing arg when build as part of run a1be5ce add fallback to get 56a4988 Add support for volume driver and options 377b552 Fix substitution for empty variables c50599c FIXES #388: do not force build in run 4557279 #88: multiple aliases 7ad3775 FIXES #380: output to stderr 30051c2 Update README.md. Add link to podman dns plugin source 9e8e25c #378: down -v 2c60516 fix hostname in test Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>