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
Povilas Kanapickas
970e4ac4ab
Merge pull request #764 from lemmi/sysctls-dict
...
Handle sysctls maps
2024-03-09 12:47:10 +02:00
lemmi
a9c335bf82
Handle sysctls maps
...
- Add support to handle sysctls maps.
- Directly raise an error if sysctls is neither an array nor map instead
of letting podman fail with an unhelpful message.
Support for sysctls arrays was added in #261 .
Fixes #754 : sysctls only works with arrays, not maps
Signed-off-by: lemmi <lemmi@nerd2nerd.org>
2024-03-09 12:44:55 +02:00
lemmi
e67c52f2c4
test_container_to_args: handle async tests
...
Signed-off-by: lemmi <lemmi@nerd2nerd.org>
2024-03-09 12:44:55 +02:00
Povilas Kanapickas
e0fc9a7546
Merge pull request #696 from dkull/devel
...
Fix stop/restart args stacking
2024-03-09 12:42:54 +02:00
Tanel Liiv
2cdfb3e6d4
Fix stop/restart args stacking
...
Signed-off-by: Tanel Liiv <tanel.liiv@reconeyez.com>
Signed-off-by: Tanel Liiv <liivtanel@gmail.com>
2024-03-09 12:39:53 +02:00
Povilas Kanapickas
60137eb7f9
Merge pull request #741 from maurerle/quiet-output
...
Output: use logging, remove verbose output by default
2024-03-09 12:35:00 +02:00
Povilas Kanapickas
a7a993faef
Merge pull request #886 from p12tic/github-pr-template
...
github: Add PR template
2024-03-09 12:27:17 +02:00
Povilas Kanapickas
8ec5e0372a
github: Add PR template
...
Adding a link to related part of compose spec is much easier for the
contributors, because they're already working on the feature. This saves
reviewer time.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-09 12:18:19 +02:00
Florian Maurer
da520e299b
switch to % string lazy formatting
...
* fix black and pylint issues
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
2024-03-09 10:40:24 +01:00
James O'Beirne
1e9e2ee776
Output: use logging, remove garbage output by default
...
Fixes #489 .
Introduces a --verbose flag if you want to see all the noise that
was previously printed by default.
Signed-off-by: James O'Beirne <james.obeirne@pm.me>
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
2024-03-09 10:36:20 +01:00
Povilas Kanapickas
dcb6cdb55a
Merge pull request #858 from breca/asyncio_compat
...
Replaces asyncio timeout with bespoke timeout function
2024-03-09 11:05:17 +02:00