maxgio92
9b1d37faf8
fix(/internal/policy/regexp.go): split regexp policy into strings only
...
Signed-off-by: maxgio92 <massimiliano.giovagnoli.1992@gmail.com>
2021-04-13 13:16:08 +02:00
Michael McCallum
b42d7a2e97
Allow 2 point versions in images:
...
We only use 2 points X.Y always unless there is really a patch which is extremely uncommon.
Developers choose the X and tooling chooses the Y. That is the developers only ever have to make a simple decision did I break it or not.
* these are still semver but just treat the patch as optional
* add tests for various combinations of updates
2020-06-29 14:17:47 +12:00
Aurélien Grenotton
d3c1ee82d3
Add SemVer pre-release handling
...
Previously, SemVer pre-release version was used to differentiate kind
of "branches", not allowing to cross pre-release on update.
According to SemVer spec, this should rather rely on the metadata.
New "keel.sh/matchPreRelease" annotation (or label) is added to disable
current keel behavior and consider the pre-release as a standard
SemVer versioning token.
For backward compatibility purpose, its value defaults to "true" if not
specified.
Closes #252
Also reviewed WatchRepositoryTagsJob tags handling.
Fixes #490
2020-04-19 01:36:21 +02:00
Karolis Rusenas
0583b012cd
getting status
2019-05-23 23:17:33 +01:00
Karolis Rusenas
ad737b69be
fixed approvals
2019-05-09 16:57:25 +01:00
Mate Ory
7f6851e854
policy: allow explicitly selecting NilPolicy
...
this makes it easier to temporarily disable keel on a resource
Signed-off-by: Mate Ory <mate.ory@banzaicloud.com>
2018-12-06 14:17:54 +01:00
Karolis Rusenas
d07b9104f3
test for number only issue
2018-12-01 22:17:47 +00:00
Karolis Rusenas
30221938c8
don't parse versions that don't look like semver
2018-12-01 22:17:32 +00:00
Karolis Rusenas
7ac34178ec
tests for glob policy
2018-11-11 11:38:38 +00:00
Karolis Rusenas
27814f2b58
#295 don't error on each helm release without the keel cfg, more info if policy is unknown
2018-11-07 23:27:05 +00:00
Karolis Rusenas
56c2eaf435
checking trigger type and policy in the annotations as well
2018-11-07 23:16:09 +00:00
Karolis Rusenas
701f417741
policy parse tests
2018-09-04 21:25:44 +01:00
Karolis Rusenas
4e50f7ecdd
get policy test moved
2018-09-04 21:10:57 +01:00
Karolis Rusenas
49bfb262e5
making it testable
2018-09-02 21:18:43 +01:00
Karolis Rusenas
dfe21c5fc0
semver tests
2018-09-02 21:07:44 +01:00
Karolis Rusenas
47afdbd680
semver policy type
2018-09-02 18:57:25 +01:00
Karolis Rusenas
3819aae4b5
regexp policy
2018-09-02 16:32:11 +01:00
Karolis Rusenas
83f2c249ea
policy refactoring
2018-09-02 16:31:22 +01:00
Karolis Rusenas
25fa0e33a2
#251 initial work on cron job support
2018-08-29 15:48:08 +01:00
Karolis Rusenas
6ac124dc93
checking private channels (groups) for approval channel
2018-06-03 12:20:52 +01:00
Karolis Rusenas
1a69c21f13
reducing noise
2018-04-30 11:26:58 +01:00
Karolis Rusenas
1ef5c89e2c
deep copy
2018-04-30 11:26:49 +01:00
Karolis Rusenas
5530126229
cache should return deep copies
2018-04-30 11:26:43 +01:00
Karolis Rusenas
b4003ae693
gr fixes
2018-04-24 09:26:45 +01:00
Karolis Rusenas
2ac1790a81
test updates, cleanup
2018-04-20 18:58:01 +01:00
Karolis Rusenas
83de5c83f6
daemonset and statefulset conversion tests
2018-04-17 09:08:18 +01:00
Karolis Rusenas
4e9d188bc5
wg
2018-04-17 08:52:07 +01:00
Karolis Rusenas
8d05fe1a4b
cache control
2018-04-17 08:51:59 +01:00
Karolis Rusenas
980860c025
initial tests
2018-04-17 08:51:17 +01:00
Karolis Rusenas
e8608673e1
generic resource to abstract k8s internal types
2018-04-17 08:51:12 +01:00
Karolis Rusenas
fdc4bdebd6
helper funcs
2018-04-17 08:50:53 +01:00
Karolis Rusenas
88b7a1df53
generic resource cache
2018-04-17 08:50:45 +01:00
Karolis Rusenas
8787ec285a
resource watchers
2018-04-17 08:50:12 +01:00