Commit Graph

64 Commits (b9d982d31dd6f838a154f66433e09c2ed60fadff)

Author SHA1 Message Date
Karolis Rusenas 3dc0d6e1f1 version helpers 2018-11-14 20:59:07 +00:00
Karolis Rusenas bd00613e7e Merge branch 'master' into feature/poll-multi-tags 2018-11-12 17:25:37 +00:00
Karolis Rusenas 60988005cc trigger type from annotations 2018-11-07 23:16:57 +00:00
Karolis Rusenas 3b65c27f98 map for storing tags 2018-10-14 22:18:39 +01:00
Karolis Rusenas 8276338271 option to check prerelease tags 2018-10-14 22:18:24 +01:00
Karolis Rusenas aa18250f40 test helper 2018-10-14 15:06:02 +01:00
Andrew Plummer 98f4ff38d3 More version comparison logging 2018-10-09 21:56:56 +01:00
Karolis Rusenas c6b53a8b52 #284 fixed missing approvals 2018-10-07 14:07:03 +01:00
Karolis Rusenas b8a8196ba6 additional parse test 2018-09-16 12:05:33 +01:00
Karolis Rusenas 4e50f7ecdd get policy test moved 2018-09-04 21:10:57 +01:00
Karolis Rusenas aa447f6f56 cleanup 2018-09-02 22:42:03 +01:00
Karolis Rusenas 84239bd62f cleanup 2018-09-02 21:14:00 +01:00
Karolis Rusenas 31ae67f3ba tests moved to policy package 2018-09-02 21:08:26 +01:00
Karolis Rusenas cf8f332a08 test updates 2018-04-20 19:23:25 +01:00
Karolis Rusenas 02f32b99b4 test updates 2018-04-18 23:04:50 +01:00
Adrien Delorme 70449b09dc Add now + more testing 2018-04-16 11:19:06 +02:00
Karolis Rusenas 92220d6c5c more tests on metadata check 2018-04-04 21:27:45 +01:00
Adrien Delorme 28b601be3d ShouldUpdate now makes sure pre-releases match + tests 2018-04-04 18:16:21 +02:00
Karolis Rusenas 73ac8706e1 bumping registry and adding test for quay 2018-03-09 11:41:28 +00:00
Karolis Rusenas f5a6b8db4b testing deps, go version bumped 2018-03-04 12:15:58 +00:00
Karolis Rusenas e2c7fadd6a parse updates and tests 2018-03-03 23:19:50 +00:00
Karolis Rusenas 9cc4ef4812 adding not a registry 2018-03-03 23:18:58 +00:00
Karolis Rusenas 35dd41787f using new lib 2018-03-03 20:06:54 +00:00
Karolis Rusenas 43f75f9fec migrating to godep, updating logrus 2018-03-03 11:32:00 +00:00
Karolis Rusenas 2a361020f6 updated repo 2017-11-01 18:25:28 +00:00
Karolis Rusenas 775fcc10f9 tests updated 2017-09-24 13:06:28 +01:00
Karolis Rusenas 9574a7e154 enc/dec 2017-08-13 22:07:16 +01:00
Karolis Rusenas c7effe9c2e code hygiene 2017-08-08 21:47:29 +01:00
Karolis Rusenas e87a6e1b0c only major version test 2017-08-06 11:13:35 +01:00
Karolis Rusenas 2e0e2bf337 updated behaviour 2017-08-06 11:12:25 +01:00
Michael Mccallum 0eeca779f7 verify that 2 point semver versions use original value 2017-08-06 22:03:28 +12:00
Michael Mccallum 5ce7c99a2e Use the original tag not the semverified
For examle trailing 0 are added on parse and used for validation but may be missing from the tag.
2017-08-06 22:03:21 +12:00
Karolis Rusenas c9e57e6491 adding list pods for implementer, poll manager secret lookup 2017-07-31 23:51:03 +01:00
Karolis Rusenas be0a7a66da preserving original version 2017-07-30 21:48:53 +01:00
Karolis Rusenas 9675d25e39 Merge pull request #65 from rusenask/feature/private_registries
Feature/private registries
2017-07-30 15:32:35 +01:00
Karolis Rusenas eb324046ec secret tests 2017-07-30 15:06:01 +01:00
Karolis Rusenas 1da90e54ad adding secrets method 2017-07-28 22:54:21 +01:00
Tim Heckman c35a2edf05
Remove redundant version check and unit test case
This change introduces some small fixes for the `util/version` package of
`keel`. There should be no breaking changes introduced by the changes being
proposed.

The first change is around the version check when the policy is set to
PolicyTypePatch. In this path, the major and minor versions are confirmed to be
the same. It then checks to make sure the new patch is greater than the current
one, which we already do here:

* b3ba3a47f1/util/version/version.go (L129-L132)

This change removes the check confirming that the patch is higher on the new
version. An additional test was added to test for a patch decrease, with
PolicyTypePatch, to make sure nothing was broken.

Lastly, in the process of writing this test a duplicated test case was
discovered in the test file so it was removed.

Signed-off-by: Tim Heckman <t@heckman.io>
2017-07-28 12:08:04 -07:00
Karolis Rusenas d434ce748b bumping timeout to 300 seconds 2017-07-26 08:12:37 +01:00
Karolis Rusenas 924ddb4aeb string representation for debugging 2017-07-20 20:40:21 +01:00
Karolis Rusenas 45fb1bf2ca fixed bug in version checking 2017-07-20 09:47:01 +01:00
Karolis Rusenas 7e3ee04316 info > debug 2017-07-16 20:54:48 +01:00
Karolis Rusenas 35b6cd6016 new available version testing 2017-07-16 11:48:24 +01:00
Karolis Rusenas 1548203462 check for new current tag 2017-07-16 11:48:13 +01:00
Karolis Rusenas a831e99f6c color 2017-07-08 15:56:31 +01:00
Karolis Rusenas ce1c6548a7 more utils 2017-07-06 21:23:01 +01:00
Karolis Rusenas bbf9821bd3 utils 2017-07-06 21:22:51 +01:00
Karolis Rusenas 706740b3a1 Merge branch 'develop' into feature/slack_integration
# Conflicts:
#	glide.lock
#	glide.yaml
#	vendor/github.com/gorilla/mux/README.md
#	vendor/github.com/gorilla/mux/doc.go
#	vendor/github.com/gorilla/mux/mux.go
#	vendor/github.com/gorilla/mux/mux_test.go
#	vendor/github.com/gorilla/mux/regexp.go
#	vendor/github.com/gorilla/mux/route.go
#	vendor/github.com/urfave/negroni/.travis.yml
#	vendor/github.com/urfave/negroni/README.md
#	vendor/github.com/urfave/negroni/negroni.go
#	vendor/github.com/urfave/negroni/translations/README_de_de.md
#	vendor/github.com/urfave/negroni/translations/README_ja_JP.md
#	vendor/github.com/urfave/negroni/translations/README_pt_br.md
#	vendor/github.com/urfave/negroni/translations/README_zh_cn.md
#	vendor/github.com/urfave/negroni/translations/README_zh_tw.md
#	vendor/golang.org/x/sys/unix/flock_linux_32bit.go
#	vendor/golang.org/x/sys/unix/mkall.sh
#	vendor/golang.org/x/sys/unix/mkerrors.sh
#	vendor/golang.org/x/sys/unix/mksysnum_linux.pl
#	vendor/golang.org/x/sys/unix/syscall_bsd.go
#	vendor/golang.org/x/sys/unix/syscall_linux.go
#	vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
#	vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
#	vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
#	vendor/golang.org/x/sys/unix/syscall_unix.go
#	vendor/golang.org/x/sys/unix/types_linux.go
#	vendor/golang.org/x/sys/unix/zerrors_linux_386.go
#	vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
#	vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
#	vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
#	vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
#	vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
#	vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
#	vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_386.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
#	vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
#	vendor/golang.org/x/sys/windows/registry/key.go
#	vendor/golang.org/x/sys/windows/registry/syscall.go
#	vendor/golang.org/x/sys/windows/registry/zsyscall_windows.go
#	vendor/golang.org/x/sys/windows/zsyscall_windows.go
merge
2017-07-05 20:18:08 +01:00
Karolis Rusenas a59e9ce634 default registry name change 2017-07-03 09:06:56 +01:00
Karolis Rusenas 53bc2285b2 using scheme 2017-07-02 21:22:05 +01:00