Commit Graph

357 Commits

Author SHA1 Message Date
Tejal Desai 6b020a1f97 fix highwayhash 2019-12-21 12:18:09 -08:00
Tejal Desai c5bc179c85
Merge pull request #816 from yangtaokm/azure-blobstorage-https
[WIP] Add support to download context file from Azure Blob Storage
2019-10-25 10:51:50 -07:00
Prashant fa162e3005 changing debug to trace 2019-10-18 19:03:11 +05:30
yangtaokm 3e6a24b152 Initial commit for Azure Blob Storage SupportX 2019-10-13 20:52:19 +08:00
Tejal Desai f206e3f425
Merge branch 'master' into output 2019-10-04 08:43:02 -07:00
Nao YONASHIRO c87d2dba9c feat: replace md5 to highwayhash 2019-09-18 17:19:15 +09:00
chhsia0 11f3b791cd Renamed to `--oci-layout-path` and added a unit test. 2019-08-24 01:28:58 -07:00
chhsia0 730b8b77c8 Added `--layout-path` flag to save image in OCI layout.
Fixed #296.

The output manifests may have `application/vnd.docker.distribution.manifest.v2+json`
as their media types instead of `application/vnd.oci.image.manifest.v1+json`.
2019-08-24 01:04:18 -07:00
Luke Wood 80421f2a73 Update version of go-containerregistry. (#724)
Brings in a change from upstream to resolve ports to well-known values when comparing Host values to decide whether or not to send the Bearer Authorization header when pushing an image.

Upstream issue is https://github.com/google/go-containerregistry/issues/472.
2019-07-24 13:09:18 -07:00
Taylor Barrella 5c0603a967 Update go-containerregistry
Resolves #607

* Deleted a duplicate Gopkg.lock block for github.com/otiai10/copy to
  prevent `dep ensure` from deleting it from vendor/

* Searched for breaking changes. Only found ones for
  remote.Delete/List/Write/WriteIndex. Searched for those and fixed

* Noticed that NewInsecureRegistry was deprecated and replaced it
2019-05-25 15:56:20 -07:00
Kartik Verma fa2a2c803b
Updated PR Branch with master 2019-04-09 02:18:28 +05:30
Jason Hall 295dd49487 Write data about pushed images if env var is set 2019-03-06 14:37:56 -05:00
Kartik Verma 2f8bdd99b7
Resolved Merge Conflicts 2019-02-02 11:28:40 +05:30
dlorenc a044e2b6e4
Even faster snapshotting with godirwalk. (#504)
This switches from filepath.Walk to godirwalk.Walk for even faster snapshotting.
A quick test shows a 40% improvement on the dockerfile_mv_add build.
2019-01-03 13:10:18 -06:00
Kartik Verma fdac2fa94c
Resolved merge in README 2018-11-02 19:46:48 +05:30
Priya Wadhwa 9a1a2ef9e3 Update go-containerregistry
Update go-containerregistry to merge in this
[PR](https://github.com/google/go-containerregistry/pull/293) and fix
2018-10-29 13:44:11 -07:00
Ian Beringer a72970712f
Update go-containerregistry dependency #245 2018-10-10 20:44:19 +02:00
Kartik Verma 5fd11cc314
Merge branch 'master' into issue#269 2018-10-04 19:57:06 +05:30
Kartik Verma 30640261d2
Updating the Fork 2018-10-02 16:21:44 +05:30
Priya Wadhwa ae81657484 Release v0.4.0
Copied over the release script from skaffold to get all new PRs that
have been merged for the CHANGELOG.

Ran dep ensure.
2018-10-01 14:52:16 -07:00
Jason Hall 5a0c9b2a13 Update go-containerregistry dep and remove unnecessary Options 2018-10-01 14:11:26 -04:00
dlorenc e1b0f7732e
Fixes a whitelist issue when untarring files in ADD commands. (#371)
* Fixes a whitelist issue when untarring files in ADD commands.

* Add go-cmp test tool.

* Make the integration test tolerate some file differences.
2018-09-28 11:42:07 -07:00
Kartik Verma 8acca11a16
Added go-git 2018-09-03 14:03:12 +05:30
sharifelgamal 493344e438
support multiple tags when writing to a tarfile 2018-08-28 18:14:03 -07:00
dlorenc 6b3ab0d549 Update go-containerregistry. 2018-08-23 11:33:36 -07:00
Nick Kubala 32fd56e09f
update go-containerregistry 2018-08-01 13:02:54 -07:00
Nick Kubala e59f05e32f
fix deps 2018-08-01 13:02:54 -07:00
Nick Kubala e45d1f6aac
Update deps 2018-07-31 16:23:23 -07:00
Jason Hall 0e3fc0bcd7 Look for usable on-cluster credentials using k8schain (#243)
* dep ensure and use k8schain

* checkpoint

* fix vendoring, stuff builds

* Use k8schain for pushes too

* Use NewNoClient

* update ggcr dep

* Move k8schain usage to image_util.go
2018-07-21 10:22:13 -07:00
Shingo Omura 19287f89c5 update go-containerregistry so that kaniko works nicely with Harbor or Gitlab. (#227) 2018-07-06 07:23:44 -07:00
Christian Jantz 65d7b0a9aa Feature/contextsources (#195)
* added switch to extract different sources as build context

* first rough implementation of aws s3

* added buildcontext package and interface

* added GetBuildContext func to buildcontext.go
added fallback to gcs
renamed GC struct to GCS

* improved the default behavior of build context retrieval

* renamed gc:// to gs:// in order to follow common standards

* renamed struct File to Dir and some cleanup work

* moved context.tar suffix to the buildcontext processors where it is needed

* added buildcontext retrieval as struct variable

added fallback if prefix in bucket specifier is present

* cleanup if structures

* added prefix to s3

* WIP

* Fixed build context bugs

* refactored build context
2018-07-06 06:24:50 -07:00
Priya Wadhwa 28f3ec30c2
update vendored go-containerregistry 2018-06-22 14:45:46 -07:00
Sharif Elgamal a7c82cf6f6
adding reproducible flag (#205)
* adding reproducible test

* newer version of go-containerregistry

* new ImageOptions

* switch reproducible flag to default to false

* small fixes

* update dep
2018-06-22 12:00:44 -07:00
Priya Wadhwa 6c1154aa5f Updated vendor 2018-06-14 07:40:57 -07:00
Jon Johnson 8b0a1a7689 dep update go-containerregistry 2018-06-03 00:59:34 +00:00
Christian Jantz fbe3e05801 WIP: Feature/healthcheck signal (#177)
* added basic healthcheck implementation

* updated go-containerregistry version

* added build args parameter to healthcheck execute

* added go-containerregistry HealthCheck passing

* dereferenced health for conversion
2018-05-14 14:28:24 -07:00
Priya Wadhwa 9b4063d2c6
Updated vendor 2018-05-09 12:24:45 -07:00
Priya Wadhwa 3aafb843e2
Updated vendor for exported BuildArgs 2018-05-09 11:56:32 -07:00
Christian Jantz b5e68f4b7b added signal validation 2018-05-01 12:12:36 +02:00
dlorenc cd5b744904
Switch from containers/image to go-containerregistry (#140)
* Vendor changes for go-containerregistry switch.

* Manual changes for go-containerregistry switch.

The biggest change is refactoring the tarball unpacking.

* Pull more of container-diff out.

* More vendor removals.

* More unit tests.
2018-04-25 19:21:05 -07:00
Priya Wadhwa ae59204727
Updated vendor for changes to container-diff 2018-04-20 10:42:16 -07:00
Matt Rickard 552308a6b6 vendor: GoogleCloudPlatform/container-diff is now GoogleContainerTools/container-diff 2018-04-17 11:45:11 -07:00
dlorenc 167920c405
Refactor a bit. (#84)
Move all logic out of cmd/root.go into a package.
2018-04-14 07:59:37 -07:00
dlorenc 20b659aa32
Check that kaniko is being run from inside a container. (#81)
Signed-off-by: dlorenc <dlorenc@google.com>
2018-04-13 13:29:17 -07:00
Priya Wadhwa 0fd35166a3
Updated vendor 2018-04-12 14:36:39 -07:00
Priya Wadhwa 4d048d1607
Updated vendor, for container-diff 2018-04-11 14:06:23 -07:00
Priya Wadhwa 32b067af0c
Merged master, fixed conflict 2018-04-04 14:06:38 -07:00
Priya Wadhwa a6b971f8e6
dep ensure; updated vendor 2018-03-28 13:34:54 -07:00
Priya Wadhwa b7d6de83d8
Updated vendor 2018-03-26 14:44:07 -07:00
Priya Wadhwa e84ebcc494
Added dockerfile/shell package to vendor 2018-03-16 12:15:53 -07:00
Priya Wadhwa ee7d9781de
Updated vendor 2018-03-12 15:14:56 -07:00
Priya Wadhwa cd9467dcf4
Updated vendor for new version of container-diff 2018-03-07 15:35:44 -08:00
Priya Wadhwa 31d02ad5db
Updated vendor to get container-diff master 2018-03-01 13:10:24 -08:00
Priya Wadhwa 66bb59ff12
Added to vendor 2018-02-28 12:22:10 -08:00
Priya Wadhwa 093dfd04df
Unpack filesystem and whitelist from /proc/self/mountinfo 2018-02-21 11:02:30 -08:00
Priya Wadhwa c284f25441 Added CLI flags and set logs 2018-02-20 20:50:03 -08:00
priyawadhwa d3e526761f Initial skeleton for executor (#22)
* Moving over kbuild executable code and adding unit tests

* Moved most file over into this repo

* delete non go files from vendor

WIP

WIP

* Removed unnecessary vendor files

* Added makefile, travis yaml, boilerplate stuff

Added .gitignore

Update vendor

Fixed linting errors

Reorganized pkg

Fixed travis

* Moved image source into separate package

* Removed vendor and logic

* Initial skeleton
2018-02-20 19:05:54 -08:00