Commit Graph

2266 Commits

Author SHA1 Message Date
Tejal Desai 37ce306aca release v0.16.0 2020-01-17 10:46:16 -08:00
Cole Wippern e19cc228ba
Merge pull request #941 from stijndehaes/feature/cache-warmer-private-reg-support
Support for private registries in the cache warmer
2020-01-17 08:38:59 -08:00
Tejal Desai a6add78a97 do not use the git repo as context 2020-01-16 23:08:22 -08:00
Tejal Desai 20604dff3d
fix integration test 2020-01-16 22:12:35 -08:00
Tejal Desai 2a4cb90ea1
remove registry name from dockerfile
Rename dockerfile 
Revert registry name change
2020-01-16 22:09:50 -08:00
Tejal Desai f721212ded
fix base image link. 2020-01-16 22:01:47 -08:00
Tejal Desai e702d75e9c
Merge pull request #964 from samos123/fix-argsescape
Fix bug with docker compatibility ArgsEscaped
2020-01-16 16:13:57 -08:00
Tejal Desai 727567cb33
Fix steps to run individual integration test 2020-01-16 15:40:01 -08:00
Stijn De Haes 3fa8f686db Support for private registries in the cache warmer
Closes #503

Signed-off-by: Stijn De Haes <stijndehaes@gmail.com>
2020-01-15 15:35:42 +01:00
Tejal Desai b5c3d95d8e
Merge pull request #967 from lou-lan/fix/clean-code
Clean code (Condition is always 'false' because 'err' is always 'nil' ).
2020-01-14 13:26:10 -08:00
lou-lan da0e7c7bdc Clean code (Condition is always 'false' because 'err' is always 'nil' ). 2020-01-14 15:11:22 +08:00
Sam Stoelinga 64bfc3eabb Fix bug with docker compatibility
ArgsEscaped according to Docker docs should only be set in Windows
environments: https://docs.docker.com/engine/api/v1.30/

It was causing integration test to fail with following message:
```
FAIL: TestRun/test_Dockerfile_test_metadata (8.48s)
           "Diff": {
             "Adds": [
               "ArgsEscaped: true"
             ],
             "Dels": [
               "ArgsEscaped: false"
             ]
```

However docker 18.xx returns ArgsEscaped: true
whereas docker 19.xx returns ArgsEscaped: false
Hence this patch also adds the docker version check to the integration
to ignore ArgsEscaped being different when 18.xx is used.
2020-01-13 21:18:54 -08:00
Tejal Desai aecc915e03
Merge pull request #961 from cvgw/u/cgwippern/fix-647_copy_dir_permissions
Fix #647 Copy dir permissions
2020-01-13 10:19:06 -08:00
Tejal Desai 4b80314e92
Merge pull request #965 from samos123/integration-tests-with-service-account
Allow setting serviceAccount in integration test
2020-01-13 10:18:33 -08:00
Sam Stoelinga 8cf392e20e Allow setting serviceAccount in integration test
Previously it would mount .config/gcloud directory which is not
recommended for systems such as CI that authenticate with Google Cloud.
This commit allows you to set the path to a service account.

By default previous behaviour will be as before so this shouldn't break
existing systems that run the integration test.
2020-01-12 18:54:50 -08:00
Cole Wippern 464ac134f5
Merge pull request #927 from cvgw/u/cgwippern/issue-926_fix_cache_warmer_and_method_sig
Fix #926 cache warmer and method signature
2020-01-10 13:10:51 -08:00
Cole Wippern e2d1cbfe71 Fix #647 Copy dir permissions
* update otiai10 to latest version which has correct permission logic
2020-01-10 13:07:50 -08:00
Cole Wippern 776fa43eb2 refactor cache.Warm and add tests 2020-01-10 12:29:17 -08:00
Cole Wippern b1b0513c05 Fix #926 cache warmer and method signature 2020-01-10 12:29:16 -08:00
Tejal Desai 48f66e958c
Merge pull request #949 from cvgw/u/cvgw/fix_948_update_valid_copyright_years
Fix #948 update valid license years
2020-01-10 11:57:01 -08:00
Cole Wippern f6dcdb7f4b
Merge pull request #954 from amouat/master
Move hash bang to first line.
2020-01-10 11:15:12 -08:00
Cole Wippern 8804f36cbf
Merge pull request #945 from noni73/patch-1
Fix #944 include docker-credential-acr-linux
2020-01-10 10:06:51 -08:00
Tejal Desai ac8626c0ac
Merge pull request #955 from samos123/integration-testing-1.13
Fixes #950 integration test failing on go 1.13
2020-01-07 21:38:12 -08:00
Sam Stoelinga fa94f6b942 Fix #950 integration test failing on go 1.13
From Golang 1.13 release notes:
Testing flags are now registered in the new Init function, which is
invoked by the generated main function for the test. As a result,
testing flags are now only registered when running a test binary, and
packages that call flag.Parse during package initialization may cause
tests to fail.
2020-01-07 09:46:25 -08:00
Adrian Mouat 6c7449421b Fix more hash bang lines.
Fixes #953.
2020-01-07 12:13:24 +00:00
Adrian Mouat 9b629ac8c7 Move hash bang to first line.
For hash bang statements to take effect, they must be the first line
in a script.

Fixes #953.
2020-01-07 12:05:20 +00:00
Cole Wippern 3b6411d83f
Merge pull request #939 from antechrestos/feature/tidy_dependencies
Tidy dependencies
2020-01-03 15:13:28 -08:00
Cole Wippern 72cc1f0bfa fix #948 update license years 2020-01-03 13:02:05 -08:00
ohchang-kwon fb4d1f9c8d add handling when source directory does not have slash suffix 2020-01-03 19:21:29 +09:00
Remko van Hunen c9d09109bc
Update Dockerfile 2020-01-03 10:44:13 +01:00
ohchang-kwon 70270a65f0 apply goimports 2020-01-03 17:46:29 +09:00
ohchang-kwon d6fe98aa49 Fixed an issue where the image is broken if there are symlink in the destination path when ADD, COPY 2020-01-03 16:28:12 +09:00
Benjamin EINAUDI f17734e799 Tidy dependencies
Run 'go mod tidy' and re-vendored dependencies
2019-12-30 22:26:26 +01:00
Tejal Desai eafb80227b
Merge pull request #932 from cvgw/u/cvgw/issue-925_fix_pull_insecure
Fix #925 broken insecure pull
2019-12-23 11:30:37 -08:00
Yoan Blanc 3ad9f7d94c
fixup! fixup! fixup! integration-test: using registry-mirror
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-12-23 09:34:32 +01:00
Yoan Blanc e05bdd58f2
fixup! fixup! integration-test: using registry-mirror
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-12-23 09:32:13 +01:00
Cole Wippern 732b270035
Merge pull request #930 from carlossg/ecr
Push to ECR using instance roles
2019-12-22 10:56:09 -08:00
Yoan Blanc 9fb2111379
fixup! integration-test: using registry-mirror
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-12-22 14:10:12 +01:00
Yoan Blanc c7d173cd99
integration-test: using registry-mirror
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-12-22 11:29:03 +01:00
Yoan Blanc 908025b6d3
integration: removing test on docker
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-12-22 11:18:34 +01:00
Yoan Blanc 3678b70239
Merge remote-tracking branch 'origin/master' into registry-mirror 2019-12-22 11:10:15 +01:00
Cole Wippern 328847ffc2 Fix #925 broken insecure pull 2019-12-21 21:50:43 -08:00
Cole Wippern 8154046e12
Merge pull request #832 from ffahri/upgrade-aws-go-sdk
Upgrade aws go sdk for supporting eks oidc credential chain
2019-12-21 16:18:37 -08:00
Logan.Price 812c66ecc0 chore: add error check 2019-12-21 15:42:00 -08:00
Logan.Price c5a29962f2 chore: add unit test for unTar function 2019-12-21 15:42:00 -08:00
Logan.Price 6a35a84034 fix: update unTar function to actually extract and save the contents of an achieve 2019-12-21 15:42:00 -08:00
Cole Wippern 40ac05c8bb
Merge pull request #668 from orisano/docs-fix-wrong
docs: fix document on DoBuild
2019-12-21 15:20:21 -08:00
Fahri Yardımcı 16b4f700cc Upgrade aws go sdk for supporting eks oidc credential chain 2019-12-21 14:56:04 -08:00
Nao YONASHIRO cbba7cec3f chore: fix typo 2019-12-21 14:44:12 -08:00
Nao YONASHIRO 2599c0c69b docs: fix wrong document 2019-12-21 14:42:58 -08:00