Commit Graph

61 Commits

Author SHA1 Message Date
TomSweeneyRedHat e5c5760e87 Bump to v1.20.2-dev
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2021-04-13 18:08:07 -04:00
TomSweeneyRedHat 99f733350d Bump to v1.20.1
As the title says.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2021-04-13 18:05:44 -04:00
Daniel J Walsh f66a6d660d
[NO TESTS NEEDED] Use --recurse-modules when building git context
If a git repository contains submodules, we need to check them all
out because the Containerfile/Dockerfile at the repo might use them.

Fixes: https://github.com/containers/buildah/issues/3104

It is too complicated to setup a recursive submodules git repo, so
setting no tests needed.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-26 07:55:58 -04:00
Daniel J Walsh c13f7e3c79
Bump to v1.20.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-25 13:34:38 -04:00
Daniel J Walsh 293e02ac06
Bump to v1.20.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-25 13:28:06 -04:00
Daniel J Walsh 898eea8fbe
Make PolicyMap and PullPolicy names align
Currently it is impossible to switch from a PullPolicy type
and PolicyMap via strings.  This PR Makes the types align.

This is required to make passing of PullPolicy in podman-remote
to work.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-05 06:21:59 -05:00
Daniel J Walsh 514a3f1a91
Shrink the vendoring size of pkc/cli
This PR removes the pkg/auth which brings in docker/docker
since it really is not needed, and was only there to help users
discover the settings of where the authfile was, when the environment
variables were set.  Would almost never be of any value.

Move imagebuildah.BuildOptions to define.BuildOptions

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-03 14:18:35 -05:00
Daniel J Walsh b5eac0b88d
Isolation strings, should match user input
When we parse isolation we expect users to input chroot, oci, rootless.

So when we translate the constants back to strings, we should use the
same values.

These human names need to be passed over the podman-remote build
bindings, so we need to make them match.

Also docker describes an isolation of "default", which we should also
handle for potential scripts.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-23 13:26:51 -05:00
Daniel J Walsh 4704e6cb3f
Eliminate the use of containers/building import in pkg subdirs
We want to shrink the size of the import when importing pkg from
buildah. This should help us shrink the size of the golang bindings
in podman.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-12 12:43:08 -05:00
Daniel J Walsh f280cd0285
Add --policy flag to buildah pull
This allows the user to specify the pull policy for pulling images.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-13 03:38:27 -05:00
baude 681e3eff98 refactor pullpolicy to avoid deps
refeactor the pullpollicy to its own package so that it can be imported on its own without deps like containers/storage, etc. this will help consuming podman's go bindings.

Signed-off-by: baude <bbaude@redhat.com>
2020-10-12 13:17:31 -05:00