Commit Graph

993 Commits

Author SHA1 Message Date
Cole Wippern 00a01f9f29
Merge pull request #972 from tejal29/release
release v0.16.0
2020-01-17 12:39:27 -08:00
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 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
Remko van Hunen c9d09109bc
Update Dockerfile 2020-01-03 10:44:13 +01: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
Cole Wippern 732b270035
Merge pull request #930 from carlossg/ecr
Push to ECR using instance roles
2019-12-22 10:56:09 -08: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
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
Prashant Arya 4fa1970445 update Readme.md (#866) 2019-12-21 14:32:27 -08:00
Cole Wippern 229820550e
Merge pull request #869 from prary/go_modules
changing to modules from dependencies
2019-12-21 12:56:15 -08:00
Josh Soref 22bcd28931 Grammar (#911)
* spelling: environment

* spelling: into

* spelling: certificate

* grammar: based on

* spelling: its

* spelling: non-root

* grammar: unnecessary comma in a compound predicate

* grammar: comma after introductory phrase

* grammar: pronoun problem

(per app.grammarly.com)
2019-12-21 12:54:23 -08:00
Cole Wippern 200a0eabdd
Merge pull request #920 from prary/log
Changing Log to trace
2019-12-21 12:53:38 -08:00
Cole Wippern 005860818f
Merge pull request #867 from dastrobu/fix-toc-in-readme
Update outdated toc in README.md
2019-12-21 12:52:50 -08:00
Cole Wippern bdabd774fc Update linter and fix errors
* disable linters that are now enabled by default in new version
* fix linter errors
2019-12-21 12:27:14 -08:00
Cole Wippern 8ef2efec7d update golangci-linter to v1.21.0 2019-12-21 12:18:09 -08:00
Tejal Desai 6b020a1f97 fix highwayhash 2019-12-21 12:18:09 -08:00
Tejal Desai 5a2cfeabba remove dep.sh 2019-12-21 12:18:09 -08:00
Prashant Arya f28d0e4009 upgrading go to version 1.13.3 2019-12-21 12:18:09 -08:00
Prashant Arya 976b4265fb changing to modules from dependencies 2019-12-21 12:18:09 -08:00
Carlos Sanchez 16aff6a974 Using credsStore is simpler
and we don't need to push to multiple registries likely
2019-12-21 13:06:47 +01:00
Carlos Sanchez 6b85605285 Push to ECR using instance roles
Add instructions

Fixes #785
2019-12-21 12:54:18 +01:00
Tejal Desai 9ebee24bf3
Merge pull request #922 from GoogleContainerTools/release_15
release notes v0.15.0
2019-12-20 10:50:16 -08:00
Tejal Desai 21b824b186 bump version 2019-12-20 10:34:02 -08:00