Commit Graph

970 Commits

Author SHA1 Message Date
Daniel J Walsh eca434e97b Merge pull request #188 from vrothberg/version-pkg
pkg/version -> version
2020-06-24 08:45:42 -04:00
Valentin Rothberg d5639f5e55 pkg/version -> version
Move pkg/version to version to be consistent with other libraries in
c/image.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-24 10:47:18 +02:00
Daniel J Walsh 32b089edea Merge pull request #184 from rhatdan/conf
Fixup handling of remote_uri for documentation
2020-06-23 15:32:23 -04:00
Daniel J Walsh 7b05e8398e Merge pull request #183 from TomSweeneyRedHat/dev/tsweeney/quay
Add script to rebuild images on quay.io
2020-06-23 12:51:51 -04:00
Daniel J Walsh 9839b10d40 Fixup handling of remote_uri for documentation
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-23 12:48:26 -04:00
Daniel J Walsh 156821e284 Merge pull request #185 from openSUSE/aa-profiles
Fix AppArmor profile prefix and name
2020-06-23 12:47:40 -04:00
Sascha Grunert 4a58c879e2 Change AppArmor profile prefix and fix name-check
The default AppArmor profile is now prefixed with
`container-default-$VERSION`, whereas the version is now part of a new
`version` package.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-06-23 18:11:28 +02:00
TomSweeneyRedHat c4acc72a31 Add script to rebuild images on quay.io
We recently discovered that the build triggers that are employed on
quay.io for the Buildah, Podman, and Skopeo container images does not
refresh the images as frequently as we thought.  Due to Docker using
the `--no-cache` flag under the covers at quay to do the builds, our
images were always using the pre-existing cache unless the `FROM` target
or the Dockerfile changed.  This rarely happened and it would take
weeks or more before the stable version would bump up to the latest
version available.  Ditto the upstream and testing variants.

I've created a script that can be run `by-hand` or via cron to update the
various images.  The script takes the project name and the creds for
an administrator on our repos on quay.io.  If those values are not supplied
the script will ask for them and the password will not be shown when
typed in.

I'm planning to run this via cron on one of my VM's and the images should
be updated every morning that my VM is up, or someone else with admin privs
can run it.  If someone runs this script without privs, they will build the
images locally and they will not be able to push them.

This was the most logical place I could think of to drop this script as it's
usable by all of our projects.  If you've a better location, please let me
know.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-06-23 09:46:12 -04:00
Daniel J Walsh 01d5c39941 Merge pull request #181 from rhatdan/master
Bump to v0.14.0
2020-06-16 16:38:46 -04:00
Daniel J Walsh 9f840d87db Move to v0.14.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-16 16:37:38 -04:00
Daniel J Walsh ce82604882 Bump to v0.14.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-16 16:37:12 -04:00
Daniel J Walsh 3b4c7d1db8 Merge pull request #180 from rhatdan/write
Add ability to read and write a default config file
2020-06-16 16:36:20 -04:00
Daniel J Walsh b804d2aa5f Add ability to read and write a default config file
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-16 10:31:01 -04:00
Daniel J Walsh 7c517adbd3 Merge pull request #179 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.13.0
Bump github.com/onsi/ginkgo from 1.12.3 to 1.13.0
2020-06-15 12:52:18 -04:00
dependabot-preview[bot] 93f978d9b4 Bump github.com/onsi/ginkgo from 1.12.3 to 1.13.0
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.12.3 to 1.13.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.12.3...v1.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-15 10:33:37 -04:00
Tom Sweeney 80863ea3b6 Merge pull request #178 from rhatdan/conf
replace error-prone non-ASCII quotes in template config
2020-06-11 08:29:13 -04:00
Daniel J Walsh 8e66aea7b2 replace error-prone non-ASCII quotes in template config
Copied @parmentelat patch from  https://github.com/containers/libpod/pull/6566

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-11 07:27:18 -04:00
Daniel J Walsh fbb92ee287 Merge pull request #177 from rhatdan/master
Bump to v0.13.1
2020-06-11 05:49:13 -04:00
Daniel J Walsh 1a9871a76b Move to v0.13.2-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-11 05:47:33 -04:00
Daniel J Walsh e66e17872c Bump to v0.13.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-11 05:47:05 -04:00
Daniel J Walsh f3255b12c0 Merge pull request #176 from QiWang19/logout-error
logout suggests logout with docker
2020-06-11 05:45:49 -04:00
Qi Wang cdc87dc2bd logout suggests logout with docker
logout suggests logout with docker if credential exists in ~/.docker/config,json

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-06-09 20:49:43 -04:00
Daniel J Walsh 50930020bd Merge pull request #173 from containers/dependabot/go_modules/github.com/stretchr/testify-1.6.1
Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
2020-06-08 15:10:38 -04:00
Daniel J Walsh 655e045b22 Merge pull request #175 from TomSweeneyRedHat/dev/tsweeney/v0.13.0
Bump to v0.13.0
2020-06-08 15:09:52 -04:00
TomSweeneyRedHat ae01ad044c Move to v0.13.1-dev
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-06-08 13:40:11 -04:00
TomSweeneyRedHat a6288263ee Bump to v0.13.0
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-06-08 13:37:50 -04:00
Tom Sweeney 57fedf5687 Merge pull request #174 from jwhonce/wip/identity
V2 Store identity associated with remote URL
2020-06-08 13:24:36 -04:00
dependabot-preview[bot] 531a171626 Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-08 13:15:46 -04:00
Jhon Honce a6e9a791a4 V2 Store identity associated with remote URL
* as workaround user can use --identity option when given commands
  requiring a SSH key

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-06-08 10:15:06 -07:00
Daniel J Walsh 47ec7fe345 Merge pull request #172 from containers/dependabot/go_modules/github.com/containers/storage-1.20.2
Bump github.com/containers/storage from 1.20.1 to 1.20.2
2020-06-06 05:28:46 -04:00
dependabot-preview[bot] 580c376014 Bump github.com/containers/storage from 1.20.1 to 1.20.2
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.20.1 to 1.20.2.
- [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.20.1...v1.20.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-04 08:35:53 -04:00
Valentin Rothberg 4aabfbe54e Merge pull request #170 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.12.3
Bump github.com/onsi/ginkgo from 1.12.2 to 1.12.3
2020-06-03 09:38:46 +02:00
Valentin Rothberg 55e2dad1af Merge pull request #171 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.0.0-rc90
Bump github.com/opencontainers/runc from 1.0.0-rc9 to 1.0.0-rc90
2020-06-03 09:38:23 +02:00
dependabot-preview[bot] 74b6247ab1 Bump github.com/onsi/ginkgo from 1.12.2 to 1.12.3
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.12.2 to 1.12.3.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.12.2...v1.12.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 09:08:00 -04:00
dependabot-preview[bot] caf9fc5959 Bump github.com/opencontainers/runc from 1.0.0-rc9 to 1.0.0-rc90
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.0-rc9 to 1.0.0-rc90.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc9...v1.0.0-rc90)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 09:04:56 -04:00
Daniel J Walsh a7e3ae6c4b Merge pull request #169 from containers/dependabot/go_modules/github.com/stretchr/testify-1.6.0
Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
2020-05-29 06:08:56 -04:00
dependabot-preview[bot] de5d64f218 Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-29 05:47:09 -04:00
Daniel J Walsh f23a506460 Merge pull request #168 from rhatdan/windows
Bump to v0.12.0
2020-05-28 16:51:09 -04:00
Daniel J Walsh 7940210ff6 Move to v0.12.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-28 16:49:28 -04:00
Daniel J Walsh d875027efe Bump to v0.12.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-28 16:49:05 -04:00
Daniel J Walsh 6ec2507c3b Merge pull request #167 from rhatdan/windows
Add support for Remote flags in containers.conf
2020-05-28 16:47:58 -04:00
Daniel J Walsh a3a0a08b50 Add support for Remote flags in containers.conf
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-28 15:47:01 -04:00
Daniel J Walsh f4e4a8617d Merge pull request #166 from rhatdan/windows
Do not validate paths on remote platforms
2020-05-28 14:02:30 -04:00
Daniel J Walsh 7b97b08724 Do not validate paths on remote platforms
Modify validate functions to work on a remote clients.
Any of the path checks will not work on remote machines or make
sense on remote clients. Therefore they should not be checked.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-28 13:29:37 -04:00
Valentin Rothberg 3d71ce9ad1 Merge pull request #164 from rhatdan/conf
Add full path for error messages on containers.conf
2020-05-27 16:36:38 +02:00
Daniel J Walsh ef4c52742f Add full path for error messages on containers.conf
Also add new function to allow container engines to tell users
where to edit containers.conf file.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-26 15:36:10 -04:00
Daniel J Walsh 2cada7ae46 Merge pull request #163 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.5.2
Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2
2020-05-26 09:38:38 -04:00
dependabot-preview[bot] b463dfd467 Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.5.1...v1.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-26 06:05:48 -04:00
Daniel J Walsh 5664c5d2f6 Merge pull request #161 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.12.2
Bump github.com/onsi/ginkgo from 1.12.1 to 1.12.2
2020-05-24 06:26:59 -04:00
Giuseppe Scrivano ff21080ba1 Merge pull request #162 from kolyshkin/pids
fixes for pkg/sysinfo/checkCgroupPids
2020-05-23 12:37:07 +02:00