Michael McCallum
1f90e6cb76
Validate the tag watching respects 2 point versions
2020-06-29 18:10:59 +12:00
Karolis Rusenas
08b0b03cc6
#315 adding validation for the version
2018-11-28 17:33:22 +00:00
Karolis Rusenas
3dc0d6e1f1
version helpers
2018-11-14 20:59:07 +00:00
Karolis Rusenas
8276338271
option to check prerelease tags
2018-10-14 22:18:24 +01:00
Andrew Plummer
98f4ff38d3
More version comparison logging
2018-10-09 21:56:56 +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
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
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
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
be0a7a66da
preserving original version
2017-07-30 21:48:53 +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
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
30ecd42092
dont crash on untagged images
2017-07-02 08:44:08 +01:00
Karolis Rusenas
c2812439b4
updated version checking
2017-07-01 14:25:00 +01:00
Karolis Rusenas
88c2f53a25
force policy
2017-06-28 17:40:47 +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