Commit Graph

41 Commits (62cdff93df24ac1c11e5e03f0778974a676dd081)

Author SHA1 Message Date
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
Karolis Rusenas fb576d2a83 test helpers 2017-07-02 20:09:21 +01:00
Karolis Rusenas 4c71cd518e moving to util and adding scheme 2017-07-02 20:09:14 +01:00
Karolis Rusenas e828512520 Merge branch 'develop' into feature/polling 2017-07-02 09:35:57 +01:00
Karolis Rusenas 30ecd42092 dont crash on untagged images 2017-07-02 08:44:08 +01:00
Karolis Rusenas 3c8f114087 Merge branch 'develop' into feature/polling
# Conflicts:
#	glide.yaml
#	vendor/github.com/Masterminds/semver/LICENSE.txt
#	vendor/github.com/coreos/go-semver/LICENSE
#	vendor/github.com/coreos/go-semver/semver/sort.go
2017-07-01 21:47:50 +01:00
Karolis Rusenas c2812439b4 updated version checking 2017-07-01 14:25:00 +01:00
Karolis Rusenas dff1fe437c trigger policies 2017-07-01 13:55:41 +01:00
Karolis Rusenas 88c2f53a25 force policy 2017-06-28 17:40:47 +01:00
Karolis Rusenas 28bc7c7751 formatting 2017-06-27 23:40:34 +01:00
Karolis Rusenas 7b3586aac7 name getter 2017-06-11 11:29:48 +01:00
Karolis Rusenas 1c1dfbd80d version tests 2017-06-10 15:05:20 +01:00
Karolis Rusenas 459bef6a15 should update checker 2017-06-10 15:05:12 +01:00
Karolis Rusenas 76d3a090c9 tests for version update 2017-06-10 12:57:24 +01:00
Karolis Rusenas a504eced9b version parsing 2017-06-10 12:22:33 +01:00