Commit Graph

795 Commits

Author SHA1 Message Date
Daniel J Walsh 8dcb59ff22 Move to v0.20.3
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-18 14:20:51 -04:00
Daniel J Walsh 55c3126dee Bump to v0.20.3
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-18 14:20:51 -04:00
OpenShift Merge Robot 3e448e9971 Merge pull request #267 from rhatdan/TERM
Add TERM=xterm to default setting for env
2020-08-18 19:05:30 +02:00
Daniel J Walsh 1ef1790040 Add TERM=xterm to default setting for env
We want to make sure that the TERM envionment variable is always
set.  TERM defaulted to ansi might be better, but we want to match
Docker defaults, so we will stick at xterm.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-18 11:37:15 -04:00
Daniel J Walsh 02416b4c02 Merge pull request #266 from rhatdan/VERSION
Bump to v0.20.2
2020-08-17 15:33:55 -04:00
Daniel J Walsh bda22092f9 Move to v0.20.3-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-17 15:32:31 -04:00
Daniel J Walsh 96864bd29d Bump to v0.20.2
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-17 15:32:17 -04:00
Tom Sweeney 7e864bce47 Merge pull request #265 from rhatdan/VERSION
Fix CONTAINER_STORAGE_CONF->CONTAINERS_STORAGE_CONF
2020-08-17 15:31:01 -04:00
Daniel J Walsh 20e45b9542 Fix CONTAINER_STORAGE_CONF->CONTAINERS_STORAGE_CONF
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-17 15:06:30 -04:00
Daniel J Walsh c45af45303 Merge pull request #264 from rhatdan/VERSION
Bump to v0.20.1
2020-08-17 14:40:00 -04:00
Daniel J Walsh a59fd23db5 Move to v0.20.2-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-17 14:39:02 -04:00
Daniel J Walsh 27ffbdc482 Bump to v0.20.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-17 14:38:30 -04:00
Daniel J Walsh db2a82acdd Merge pull request #262 from rhatdan/test
Add CONTAINERS_STORAGE_CONF Environment hanlding for testing
2020-08-17 14:37:43 -04:00
Daniel J Walsh 964d22fabd Add CONTAINERS_STORAGE_CONF Environment hanlding for testing
Currently it is difficult to modify the path to the storage.conf
file for setting up testing. It is hard coded to use /etc/containers/storage.conf.

Adding this envionment variable, will allow us to write tests on storage.conf
that do not override the system defaults.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-17 14:27:04 -04:00
Daniel J Walsh edf3325f24 Merge pull request #261 from rhatdan/VERSION
Bump to v0.20.0
2020-08-17 09:12:28 -04:00
Daniel J Walsh 415ccc1f26 Move to v0.20.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-17 09:11:26 -04:00
Daniel J Walsh 16b759ab7e Bump to v0.20.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-17 09:11:05 -04:00
OpenShift Merge Robot ad9e5e7fda Merge pull request #209 from vrothberg/multi-image-archive
multi_image_archive: add option for `podman save`
2020-08-17 14:57:42 +02:00
Valentin Rothberg f217b00ded multi_image_archive: add option for `podman save`
Add an option to control the default behavior of `podman save` or other
container engines.  If set to "true", the engine will create a
multi-image (docker) archive.  By default, Podman will interpret
additional arguments as tags that'll be stored in the archive's
manifest.  Docker interprets additional arguments as images to allow for
creating multi-image archives.  This option allows users to chose how
they wish the default behavior to look like, so we don't break
compatibility with existing Podman workloads while being compatible
with Docker.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-08-17 14:44:43 +02:00
OpenShift Merge Robot 099ab0af6f Merge pull request #255 from rhatdan/libpod
Do not mention libpod.conf if no files found
2020-08-17 14:35:41 +02:00
OpenShift Merge Robot 83552983ee Merge pull request #260 from openSUSE/apparmor-errors
Wrap AppArmor errors to provide more debug information
2020-08-17 14:27:44 +02:00
Sascha Grunert 73aa297b0c Wrap AppArmor errors to provide more debug information
Mostly all AppArmor errors are now wrapped to provide additional context
to the user what actually went wrong. We now only use the spelling
`AppArmor` rather than `apparmor` to give the errors a uniform look.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-17 12:20:25 +02:00
OpenShift Merge Robot e4c07e8a56 Merge pull request #258 from openSUSE/apparmor-parser-stderr
Omit apparmor_parser warnings when parsing the version
2020-08-17 12:10:59 +02:00
Sascha Grunert ec7849ffe4 Bump golang to 1.15
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-17 12:10:39 +02:00
OpenShift Merge Robot 62c005ac7e Merge pull request #257 from openSUSE/zoneinfo
Support different zoneinfo locations
2020-08-17 12:08:13 +02:00
Sascha Grunert 2a2476fcfd Omit apparmor_parser warnings when parsing the version
The `execAAParser()` function also takes `stderr` into account when
parsing the output. This function is right now only called by the
`getAAParserVersion()` function. Depending on the system configuration,
it might be possible that `apparmor_parser` prints a warning, for
example if `/etc/apparmor/parser.conf` does not exist on the system. To
thake this input not into account for the version parsing, we now just
use `stdout` as the returned result.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-17 09:49:58 +02:00
Sascha Grunert 9ff4a958dd Support different zoneinfo locations
Some distributions have their zone information not in
`/usr/share/zoneinfo` but in `/etc/zoneinfo`. We now allow the package
to work on those distributions as well by looking in both paths for the
timezone data.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-17 09:37:59 +02:00
Daniel J Walsh aab192bf07 Do not mention libpod.conf if no files found
We are throwing warning about libpod.conf when no files are
found.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-13 16:49:20 -04:00
Daniel J Walsh 7de673215b Merge pull request #254 from rhatdan/master
Bump to v0.19.0
2020-08-13 09:47:02 -04:00
Daniel J Walsh c2855288f1 Move to v0.19.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-13 09:46:16 -04:00
Daniel J Walsh c1e4a55681 Bump to v0.19.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-13 09:46:16 -04:00
OpenShift Merge Robot 165440934a Merge pull request #250 from rhatdan/VENDOR
Vendor in containers/storage v1.23.0
2020-08-13 12:40:09 +02:00
OpenShift Merge Robot 48dee6d69d Merge pull request #251 from rhatdan/codeverity
Fix duplicated code found by codeverity.
2020-08-13 12:32:07 +02:00
Daniel J Walsh 56b43d1a77 Vendor in containers/storage v1.23.0
Also drop runc version back to v1.0.0-rc91 since rc92 is
causing breakage in runtime-tools

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-13 06:26:21 -04:00
Daniel J Walsh 276ce73e39 Fix duplicated code found by codeverity.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-12 10:55:46 -04:00
Matthew Heon e54f8d8afe Merge pull request #249 from rhatdan/caps
Export NormalizeCapabilities function
2020-08-10 09:16:40 -04:00
Daniel J Walsh ed9aec43d0 Merge pull request #248 from davidscherer/davidscherer-xdg-config-home
Respect XDG_CONFIG_HOME for policy.json and cni
2020-08-10 08:50:26 -04:00
Daniel J Walsh bfada097cc Export NormalizeCapabilities function
We need access to this function in Podman to translate
user entry into standardized format.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-10 08:47:58 -04:00
David Scherer 7b48d849b7 Use homedir.GetConfigHome()
Signed-off-by: David Scherer <david.scherer@antithesis.com>
2020-08-09 10:31:14 -04:00
David Scherer 3ce09ba75f Respect XDG_CONFIG_HOME for policy.json and cni
Use XDG_CONFIG_HOME if it is defined.

XDG_CONFIG_HOME is already respected for configuration files such as containers.conf, storage.conf, and registry.conf but here `~/.config` was hardcoded.

Signed-off-by: David Scherer <david.scherer@antithesis.com>
2020-08-08 13:53:58 -04:00
Daniel J Walsh 3da9d0a701 Merge pull request #247 from containers/dependabot/go_modules/github.com/containers/storage-1.22.0
Bump github.com/containers/storage from 1.21.2 to 1.22.0
2020-08-07 10:30:37 -04:00
dependabot-preview[bot] 5bff93bcd2 Bump github.com/containers/storage from 1.21.2 to 1.22.0
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/containers/storage/releases)
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md)
- [Commits](https://github.com/containers/storage/compare/v1.21.2...v1.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-07 08:15:18 -04:00
Daniel J Walsh eaada4a08b Merge pull request #245 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.0.0-rc92
Bump github.com/opencontainers/runc from 1.0.0-rc91 to 1.0.0-rc92
2020-08-06 17:04:26 -04:00
dependabot-preview[bot] 9b62a97add Bump github.com/opencontainers/runc from 1.0.0-rc91 to 1.0.0-rc92
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.0-rc91 to 1.0.0-rc92.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc91...v1.0.0-rc92)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-06 06:10:53 -04:00
Valentin Rothberg ba0b6ec352 Merge pull request #243 from ashley-cui/docs
Fix documentation
2020-08-04 15:02:13 +02:00
Daniel J Walsh c14c2becc8 Merge pull request #244 from QiWang19/hooks-dir
Move testdata hooks_dir to [engine]
2020-08-04 06:02:58 -04:00
Qi Wang 2b96072456 Move hooks_dir under [engine]
Move hooks_dir in test files to [engine] table.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-08-03 19:02:30 -04:00
Ashley Cui 07d027889c Fix documentation
Fix a bunch of formatting nits for consistency's sake

Signed-off-by: Ashley Cui <acui@redhat.com>
2020-08-03 14:25:54 -04:00
Daniel J Walsh 983dca0020 Merge pull request #241 from rhatdan/docs
Fix documenation
2020-08-02 06:40:20 -04:00
Daniel J Walsh f6135d97d2 Fix documenation
hooks_dir_path was in wrong location, should be under Enigne section

network_cmd_path was not documented.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-01 07:06:28 -04:00