charliemirabile
d7cf0966d3
add support for selinux in verbose mount
...
This corresponds to specifying the `z` or `Z` option in the third
portion of a terse mount specification (i.e. src:trg:z)
Signed-off-by: charliemirabile <46761267+charliemirabile@users.noreply.github.com>
2024-04-10 15:29:03 -04:00
Povilas Kanapickas
e893d06313
Merge pull request #867 from baszoetekouw/fix-networks
...
Fix multiple networks with separately specified ip and mac
2024-04-08 23:21:38 +03:00
Hedayat Vatankhah
1f35c00694
Add unit test for depends_on normalization as a dict
...
Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com>
2024-04-08 23:31:41 +03:30
Muayyad Alsadi
9a5b43907f
Merge pull request #905 from acotty/main
...
FIX issue https://github.com/containers/podman-compose/issues/704 - Windows fix sock not working.
2024-04-07 12:43:43 +03:00
AndrweCottrell
6c09ce710e
FIX issue https://github.com/containers/podman-compose/issues/704 - Windows fix sock not working.
2024-04-07 16:28:45 +10:00
Bas Zoetekouw
953534a71a
Support and document all podman-specific network_modes
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
6feff244db
slirp4netns can be used without options
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
9fd4cf43c1
Add unit tests for network_mode
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
65849c95e2
add comment about per-network aliases
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
9baea704d7
use preferred format of podman command line options
...
Specifically:
- use "--network=foo" instead of "--network foo"
- specify "--network-alias" multiple times instead of concatenating values
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
bdff78dcba
Ignore files generated by tests
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
45ca1f994f
Support podman-specific per-network mac_address specifiation
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
91fbea3d89
Add unit tests for get_net_args()
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
2743d690d2
Fix support for multiple networks with explicitly specified ipv4/ipv6 addresses
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Bas Zoetekouw
dd34a90068
Add testcase for failing network config
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-28 16:09:43 +02:00
Povilas Kanapickas
6103df78fb
Merge pull request #777 from wiehe/build-secrets
...
Pass file secrets to "podman build" via parameter "--secret"
2024-03-28 00:40:12 +02:00
Povilas Kanapickas
07128f6b37
Merge pull request #779 from jbaptperez/lint-fixes-and-enhancements
...
Lint fixes and enhancements
2024-03-28 00:36:50 +02:00
Jean-Baptiste Perez
81d81fb303
Formats CONTRIBUTING.md
...
Signed-off-by: Jean-Baptiste Perez <jbaptperez@gmail.com>
2024-03-17 19:31:47 +01:00
Jean-Baptiste Perez
b263dc1a7d
Fixes typos and enhances CONTRIBUTING.md
...
Signed-off-by: Jean-Baptiste Perez <jbaptperez@gmail.com>
2024-03-17 19:31:47 +01:00
Jean-Baptiste Perez
078ee7b649
Updates Signed-off-by link in CONTRIBUTING.md
...
The initial link was related to GPG signature in commits (--gpg-sign or
-S git-commit option) as the required signature is actually a
"Signed-off-by" trailer at the end of the commit message (--signoff or
-s git-commit option).
Signed-off-by: Jean-Baptiste Perez <jbaptperez@gmail.com>
2024-03-17 19:31:47 +01:00
Jean-Baptiste Perez
a6e3ae7b31
Fixes invalid name of test package in setup.py
...
Signed-off-by: Jean-Baptiste Perez <jbaptperez@gmail.com>
2024-03-17 19:31:47 +01:00
wiehe
1e9cf1dff0
Pass file secrets to "podman build" via parameter "--secret"
...
to make them available for "RUN --mount=type=secret" statements inside the
Dockerfile.
Keep using --volume to pass file secrets to "podman run".
Signed-off-by: wiehe <28457227+wiehe@users.noreply.github.com>
2024-03-12 17:23:40 +01:00
Povilas Kanapickas
d704622522
Merge pull request #890 from containers/dependabot/github_actions/actions/checkout-4
...
Bump actions/checkout from 3 to 4
2024-03-12 15:27:34 +02:00
dependabot[bot]
bbfff78e25
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 21:44:23 +00:00
Povilas Kanapickas
abb0cb1649
Merge pull request #888 from aripollak/fix-test-class-names
...
Rename test classes to match filenames
2024-03-10 00:21:20 +02:00
Povilas Kanapickas
d53df307f8
Merge pull request #889 from aripollak/add-coverage-to-job-summary
...
Add coverage to Github Action summary
2024-03-10 00:20:50 +02:00
Ari Pollak
c351f99da5
Add coverage to Github Action summary
...
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 17:10:14 -05:00
Ari Pollak
829cde0de9
Rename test classes to match filenames
...
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 16:34:06 -05:00
Povilas Kanapickas
f18c8092cc
Merge pull request #887 from baszoetekouw/fix-oldpython
...
Fix support for older python versions
2024-03-09 23:29:32 +02:00
Povilas Kanapickas
43059dc16f
Merge pull request #783 from ChuJiani/devel
...
Fix #782 : add support for `http-proxy` option of podman
2024-03-09 23:27:22 +02:00
Bas Zoetekouw
da63048775
Don't spellcheck requirementfiles
...
As some python module names are not proper english words
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:36 +01:00
Povilas Kanapickas
7987a7185e
Merge pull request #861 from aripollak/remove-implemented-from-missing
...
Remove implemented commands from Missing Commands
2024-03-09 23:26:36 +02:00
Bas Zoetekouw
5e55df890c
fix python < 3.9 compatibility
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:36 +01:00
Bas Zoetekouw
fde7995cb8
Fix python < 3.11 compatibility
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:36 +01:00
Bas Zoetekouw
c592596a5e
Split out the different tests into separate CI steps
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:36 +01:00
Bas Zoetekouw
688ee9a104
Fix pylint issues
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:35 +01:00
Bas Zoetekouw
c3a152e68f
Enable pylint, because it catches stuff that ruff misses
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:35 +01:00
Bas Zoetekouw
bd60bc9f21
Run tests on all supported python versions
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:35 +01:00
Bas Zoetekouw
9d8b0b8632
add editorconfig
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:32 +01:00
Povilas Kanapickas
ee013316c0
Merge pull request #860 from aripollak/fix-env-vars-with-equals
...
Allow run/exec -e with equals sign in value
2024-03-09 23:25:56 +02:00
Ari Pollak
f2f5483a74
Extract compose_run args parsing and add unit tests
...
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 16:18:13 -05:00
Ari Pollak
c4fa8f7a16
Split exec args parsing into new function and add unit tests for it
...
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 16:02:47 -05:00
Ari Pollak
4c270b9116
Allow run/exec -e with equals sign in value
...
Fixes : #798
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 14:35:08 -05:00
Ari Pollak
c5f7f550f9
Remove implemented commands from Missing Commands
...
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 14:32:29 -05:00
ChuJiani
c98cbaaaf0
Fix #782 : add support for http_proxy
...
Signed-off-by: ChuJiani <archet@chujiani.top>
2024-03-09 17:10:09 +00:00
Povilas Kanapickas
f2f2f15a3b
Merge pull request #765 from timocov/devel
...
Added handling `pid` option
2024-03-09 18:30:48 +02:00
Evgeniy Timokhov
91d316ff1f
Added handling pid
option
...
Fixes #554
Signed-off-by: Evgeniy Timokhov <timocov@gmail.com>
2024-03-09 16:10:37 +00:00
Povilas Kanapickas
121b5f6ea1
Merge pull request #749 from maxi0604/more-network-options
...
Add support for enable_ipv6
2024-03-09 13:03:27 +02:00
Maximilian R
969edb88d0
Add support for enable_ipv6
...
Signed-off-by: Maximilian R <maxi.rostock@outlook.de>
2024-03-09 13:01:41 +02:00
Maximilian R
bba1f33d51
Factor out arg creation for "network create". Add unit tests.
...
Signed-off-by: Maximilian R <public@complexvector.space>
2024-03-09 13:00:09 +02:00