Christie Wilson
5f9fb2cb8d
Fix remote URL test ( #237 )
...
When this test was originally created, an HTTP get to
`https://url.com/something/not/real ` probably failed, but now it
will return a `503`, i.e. the `http.Get` call will succeed.
This test will now use a URL which should not reasonable ever
succeed (famous last words). Alternatively we could use dependency
injection and mock `http.Get` but it doesn't seem worth it.
This commit also updates the test to use `Run` to run each test
in the table test as a separate test so we can get a clear indication
which cases fail and which succeed.
2018-07-17 17:21:51 -07:00
priyawadhwa
31b7cd3732
Fix bug in copy command by refactoring whitelist checks ( #231 )
...
* Fixed bug
* WIP
* fix unit tests
2018-07-10 08:23:35 -07:00
priyawadhwa
a80a7ded35
Update readme ( #230 )
...
* update readme
* update readme
2018-07-09 16:51:36 -04:00
priyawadhwa
5f908efbf9
Cut v0.2.0 release ( #229 )
2018-07-09 15:58:21 -04:00
priyawadhwa
dbdf116f8c
make path to Dockerfile an absolute path ( #228 )
...
* make path to dockerfile an absolute path
* refactored checking dockerfile path
2018-07-09 14:25:27 -04: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
priyawadhwa
7e437390af
Merge pull request #223 from priyawadhwa/readme
...
Update readme
2018-07-03 15:40:31 -07:00
Priya Wadhwa
3e7d8b219a
update readme
2018-07-03 11:59:14 -07:00
priyawadhwa
81f520812c
Merge pull request #218 from dlorenc/workdir
...
Set a workdir so paths can be relative to /workspace.
2018-06-26 12:36:49 -07:00
dlorenc
cc447088c0
Set a workdir so paths can be relative to /workspace.
2018-06-26 10:54:04 -07:00
xanonid
d411bd6daf
Track file ownership and use file ownership from base images ( #209 )
...
* Track file ownership and use file ownership from base images
* Fix fs_util_test - use current uid/gid.
2018-06-22 15:11:02 -07:00
priyawadhwa
0a0c637f34
Merge pull request #215 from priyawadhwa/vendor
...
update vendored go-containerregistry
2018-06-22 15:08:10 -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
priyawadhwa
4198901540
Merge pull request #204 from priyawadhwa/snapshot
...
Add --single-snapshot flag to snapshot once after the build
2018-06-21 17:28:40 -07:00
Priya Wadhwa
2adf82cd66
update integration test
2018-06-21 15:27:05 -07:00
Priya Wadhwa
8453a5bde0
Merge branch 'master' of github.com:GoogleContainerTools/kaniko into snapshot
2018-06-21 14:38:18 -07:00
priyawadhwa
9ad8647d5f
Merge pull request #214 from priyawadhwa/bug
...
Fix bug in snapshotting
2018-06-21 14:37:33 -07:00
Priya Wadhwa
54282e3e8c
Fix bug in snapshotting
2018-06-21 14:07:59 -07:00
priyawadhwa
b7afaf7c7b
Merge pull request #211 from priyawadhwa/bucket
...
Upload bucket test tarball in integration test
2018-06-21 13:03:28 -07:00
Priya Wadhwa
f090b2fe86
upload bucket test tarball in integration test
2018-06-20 10:34:39 -07:00
priyawadhwa
4f4dda0563
Merge pull request #206 from nbyl/distroless-build-fix
...
fix build of debug image
2018-06-20 09:37:01 -07:00
Nicolas Byl
c17b2d5533
fix build of debug image
2018-06-18 23:35:15 +02:00
Priya Wadhwa
b09526bc62
added integration test to check layers
2018-06-14 08:44:49 -07:00
Priya Wadhwa
6c1154aa5f
Updated vendor
2018-06-14 07:40:57 -07:00
Priya Wadhwa
89c9f15bde
Add --single-snapshot flag to snapshot once after the build
2018-06-13 11:22:12 -07:00
Matt Rickard
e18ef26a6c
Merge pull request #202 from r2d4/license
...
Fix license
2018-06-08 08:39:38 -07:00
Matt Rickard
a595276c96
fix license
2018-06-08 08:05:41 -07:00
priyawadhwa
732a2864f4
Merge pull request #199 from priyawadhwa/from
...
Resolve env replacement for FROM command
2018-06-04 15:17:38 -07:00
Priya Wadhwa
44d7266058
Resolve env replacement for FROM command
2018-06-04 11:51:33 -07:00
priyawadhwa
a641ae0b10
Merge pull request #198 from jonjohnsonjr/basic-challenge
...
dep update go-containerregistry
2018-06-02 18:25:37 -07:00
Jon Johnson
1bb0df22b3
Fix MountPaths breakage
2018-06-03 01:04:56 +00:00
Jon Johnson
8b0a1a7689
dep update go-containerregistry
2018-06-03 00:59:34 +00:00
priyawadhwa
3d750de048
Merge pull request #197 from priyawadhwa/readme
...
Update readme
2018-06-01 12:03:56 -07:00
Priya Wadhwa
d82fb26f81
update readme
2018-06-01 09:22:53 -07:00
Sharif Elgamal
5e6b60f46e
adding metadata tests back to integration tests ( #185 )
...
* adding metadata tests back to integration tests and fixing resulting bugs
* fix onbuild and default env
* removing old test files
* adding the ArgsEscaped boolean on CMD commands
* fix onbuild test
* ignore failing test until container-diff is fixed
* code comments
* adding todo to remove uncomment failing test
2018-05-24 11:28:32 -07:00
priyawadhwa
0881b7c320
Merge pull request #193 from priyawadhwa/bug
...
Resolve environment replacement for arg
2018-05-21 18:39:33 -07:00
priyawadhwa
ef20294c4f
Merge pull request #194 from priyawadhwa/gvisor
...
Document kaniko in gVisor
2018-05-21 15:35:42 -07:00
Priya Wadhwa
8ed3051f11
Docs for kaniko in gVisor
2018-05-21 15:24:10 -07:00
priyawadhwa
33dbf1efeb
Merge pull request #192 from priyawadhwa/whitelist
...
Make sure necessary files aren't deleted for multistage builds
2018-05-21 15:08:55 -07:00
Priya Wadhwa
d6bb88f924
Resolve environment replacement for arg
2018-05-21 14:51:00 -07:00
Priya Wadhwa
e3f4dc479d
Move all files in executor image to /kaniko directory
2018-05-21 14:08:06 -07:00
Priya Wadhwa
577f448993
Make sure necessary files aren't deleted for multistage builds
2018-05-21 11:20:32 -07:00
priyawadhwa
e673e36576
Merge pull request #189 from priyawadhwa/changelog
...
Add changelog
2018-05-17 14:41:28 -07:00
Priya Wadhwa
b31a334450
Add changelog
2018-05-17 13:41:55 -07:00
priyawadhwa
beb00f0bdb
Merge pull request #184 from jesusofsuburbia/master
...
Allow multiple destinations
2018-05-17 11:41:34 -07:00
priyawadhwa
9885f7fff2
Merge pull request #186 from priyawadhwa/release
...
Add cloudbuild yaml for tagged releases
2018-05-17 09:56:18 -07:00
Maximilian Schrupp
b6cb74b2be
include stderr of RUN commands in log output ( #187 )
2018-05-17 07:47:59 -07:00
jesusofsuburb1a
4c190a7037
allow multiple destinations, error handling for each push
2018-05-17 09:35:41 +02:00