Commit Graph

160 Commits

Author SHA1 Message Date
Daniel J Walsh cc5cb58fc3 Merge pull request #34 from rhatdan/manpage
Update/Fix man page and fix several bugs in definition.
2020-01-03 14:03:36 -05:00
Daniel J Walsh 74d7f91c66 Update/Fix man page and fix several bugs in definition.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-01-03 13:57:01 -05:00
Daniel J Walsh 38ef603802 Merge pull request #33 from rhatdan/version
Bump to v0.0.6
2019-12-29 07:42:36 -05:00
Daniel J Walsh 4f0fa63812 Move to v0.0.7-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-29 06:02:58 -05:00
Daniel J Walsh eccc86b2ae Bump to v0.0.6
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-29 06:02:16 -05:00
Daniel J Walsh a3850c2a93 Merge pull request #29 from rhatdan/master
Add missing fields to be used with podman
2019-12-29 05:57:58 -05:00
Daniel J Walsh b406a112e1 Add new fields to containers.conf
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-28 07:22:07 -05:00
Daniel J Walsh c4d2aafd65 Add missing fields to be used with podman
We also want to be able to default namespaces to host, so that HPC
machines can default to not using most of the namespaces by default.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-28 07:19:15 -05:00
Daniel J Walsh 163e22fa0d Merge pull request #28 from rhatdan/master
Bump to v0.0.5 to fix module issue
2019-12-12 05:10:00 -05:00
Daniel J Walsh ebff9a0851 Move to v0.0.6-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-12 05:09:12 -05:00
Daniel J Walsh 46d08f9629 Bump to v0.0.5
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-12 05:09:12 -05:00
Daniel J Walsh 83e1d92b00 Merge pull request #27 from rhatdan/version
Bump to version v0.0.4
2019-12-12 04:56:12 -05:00
Daniel J Walsh 6abce3eb91 Move to v0.0.4-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-11 12:30:23 -05:00
Daniel J Walsh d982575de0 Bump to v0.0.4
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-11 12:30:03 -05:00
Daniel J Walsh 70f6a8224a Merge pull request #26 from rhatdan/optional
Remove merge code and optional handling
2019-12-11 12:26:21 -05:00
Daniel J Walsh 60644e7a72 Comment out all fields in containers.conf by default
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-11 08:26:52 -05:00
Daniel J Walsh 67213c41a3 Remove merge code and optional handling
Fix handling of toml files

No longer need merge, since we can specify a default conf for each toml file.
The toml code will retain the previous defaults and only use the newly specified
values.

This greatly simplifies the code.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-11 08:26:52 -05:00
Daniel J Walsh 5e5d5bc442 Merge pull request #25 from rhatdan/optional
Change optional bools to be private options
2019-12-09 12:23:30 -05:00
Daniel J Walsh 547b101e3e Change optional bools to be private options
We want to hide Optional Bools from the default configuration.  Callers should only have to deal with boolean
fields and not deal with optionals.

Add accessor functions for all optional bools, easier.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-09 12:01:43 -05:00
Daniel J Walsh 499912e0a9 Merge pull request #24 from rhatdan/master
Add support for CONTAINERS_CONF environment variable
2019-12-08 07:06:08 -05:00
Daniel J Walsh dfb351a9da Add support for CONTAINERS_CONF environment variable
This is needed to help in CI/CD systems to use an alternative containers.conf file for testing.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-07 06:20:27 -05:00
Daniel J Walsh 392841f989 Merge pull request #20 from QiWang19/libpodconf
Add libpod.conf to containers.conf
2019-12-07 05:36:00 -05:00
Qi Wang 894913abdf add libpod.conf to containers.conf
Add configurations from libpod.conf to containers.conf.Use merge code from libpod to read and merge configurations from file.

Add unshare_linux for build linux: HomeDir should buildah not only for linux. so add unshare_linux for linux and unshare.go for other

convert bool to optinalbool:Use OptionalBool for on-disk configurations so we can distinguish field is undefined  vs. user set to false.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-12-06 15:55:47 -05:00
Daniel J Walsh 71fb957e51 Merge pull request #23 from rhatdan/master
Bump to v0.0.3
2019-12-06 06:28:26 -05:00
Daniel J Walsh 33274b9dc1 Move to v0.0.4-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-06 06:26:02 -05:00
Daniel J Walsh 49ac5eac1a Bump to v0.0.3
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-06 06:25:33 -05:00
Daniel J Walsh 197794cc81 Merge pull request #22 from QiWang19/podman_cgroup
move cgroups pkg from libpod
2019-12-06 06:22:07 -05:00
Qi Wang aab667743b move cgroups pkg from libpod
move cgroups package from libpod so can be shared by Buildah and Podman.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-12-05 12:09:11 -05:00
Valentin Rothberg c099b3a8f7 Merge pull request #21 from vrothberg/homedir
unshare.HomeDir: get home dir of current user
2019-11-22 15:20:15 +01:00
Valentin Rothberg 66d9591d6f unshare.HomeDir: get home dir of current user
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-22 11:18:27 +01:00
Daniel J Walsh ca9b6975b7 Merge pull request #17 from vrothberg/fix-15
Fix 15
2019-11-18 11:00:42 -05:00
Valentin Rothberg d451ba12b8 delete _output
Delete the empty _output directory which has been mistakenly added by a
previous commit.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-18 10:44:36 +01:00
Valentin Rothberg 7e703afe81 add Apache 2.0 license file
When creating the repository, we forgot to add the license file.

Fixes: containers/common#15
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-18 10:41:54 +01:00
Daniel J Walsh 07d07e862e Merge pull request #14 from QiWang19/rm_validate
turn off the check of the hooks directory
2019-11-11 12:50:20 -05:00
Qi Wang 023822b7b0 turn off the check of the hook directory
Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-11-09 13:05:58 -05:00
Giuseppe Scrivano dfb227b0ce Merge pull request #13 from QiWang19/bump_v0.0.2
Bump to v0.0.2
2019-11-07 10:18:27 +01:00
Qi Wang dd9bff0e7e bump to 0.0.3-dev
Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-11-06 16:20:29 -05:00
Qi Wang 189ce74efa bump to v0.0.2 2019-11-06 16:19:11 -05:00
Daniel J Walsh 6907822cde Merge pull request #12 from QiWang19/fix_ci
Fix tests failure #11
2019-11-06 16:02:14 -05:00
Qi Wang 64705d1f72 Fix tests failure #11
tests failures should be fixed since #11 add hooksdir to default config.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-11-04 10:28:56 -05:00
Daniel J Walsh f977f74c2c Merge pull request #11 from QiWang19/default_pidslimit
change default value of pidslimit and hooksdir
2019-11-01 10:53:16 -04:00
Qi Wang 760d4a30a0 change default value of pidslimit and hooksdir
Change default value of pidslimit and hooksdir.
Add hooksdir to default config.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-11-01 10:46:12 -04:00
Daniel J Walsh 0772db3ba6 Merge pull request #10 from QiWang19/selinux_unsupport
add selinux unsupported
2019-10-22 21:32:39 -04:00
Qi Wang 542afa60a4 add selinux unsupported
Add unsupported file for non linux.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-10-22 13:51:22 -04:00
Valentin Rothberg c1e91d46ab Merge pull request #9 from QiWang19/addversion
Add VERSION file 0.0.1
2019-10-15 10:13:41 +02:00
Qi Wang 3edd342200 Bump to 0.0.2-dev
Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-10-14 22:36:54 -04:00
Qi Wang c570a6832a Add VERSION file 0.0.1
Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-10-14 10:41:07 -04:00
Daniel J Walsh c654d5f603 Merge pull request #8 from QiWang19/unshare_pkg
move pkg/unshare from buildah
2019-10-11 08:58:53 -04:00
Qi Wang 676d4298d3 move pkg/unshare from buildah
move the buildah/pkg/unshare into containers/common

Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-10-10 22:35:31 -04:00
Valentin Rothberg 761432654d Merge pull request #7 from QiWang19/config
Add config package for containers.conf
2019-10-08 13:40:51 +02:00