Commit Graph

14 Commits

Author SHA1 Message Date
Ashley Davis
ca35696244
add make-based upgrade test
This uses cmctl instead of kubectl_cert-manager, uses make instead of
bazel and fixes an incorrect container name in
test/fixtures/upgrade/overlay/cainjector-ops.yaml

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-30 22:35:39 +01:00
Ashley Davis
642161a963
make update-all & ensure bazel-only targets are runnable
this allows us to maintain the bazel build files until they're removed,
but tries to avoid accidentally encouraging their use

`make update-all` implementes a non-bazel version of
`hack/update-all.sh`, with `hack/update-all.sh` now calling make but
also doing the bazel stuff it used to.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-30 12:47:30 +01:00
Ashley Davis
3a055cc2f5
rename all uses of github.com/jetstack/cert-manager
This was done by running the following command twice:

 ```bash
 grep -Ri "github.com/jetstack/cert-manager" . | \
 cut -d":" -f1 | \
 sort | \
 uniq | \
 xargs sed -i
 "s/github.com\/jetstack\/cert-manager/github.com\/cert-manager\/cert-manager/"
 ```

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-02-02 09:08:31 +00:00
irbekrm
edd7304c6c Bumps timeout to wait for cm api in upgrade test
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-11-02 11:19:05 +02:00
irbekrm
264c45c276 Identifies the version to upgrade to by commit
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-10-18 13:54:22 +03:00
irbekrm
25303b79c9 Use yq instead of jq
Because yq releases builds for darwin/arm

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-08-23 07:08:51 +01:00
irbekrm
97a730f7fd Ensure the upgrade tests always install vanilla cert-manager
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-08-11 08:02:57 +01:00
jetstack-bot
b5f80c428e
Merge pull request #4234 from inteon/add_startupapicheck
Add startup api check Job
2021-08-03 17:41:49 +01:00
Inteon
7f19db0faa
update scripts with new image
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-27 18:38:33 +02:00
jetstack-bot
05cfd7bb72
Merge pull request #4218 from inteon/verify_upgrade_use_check_api
Use 'kubectl cert-manager check api' in verify-upgrade.sh
2021-07-21 20:37:20 +01:00
irbekrm
48d4f955ea Fix how last published release is calculated
It should always be the last published non-alpha/beta release

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-21 13:58:44 +01:00
Inteon
629924c123
use 'kubectl cert-manager check api' in verify-upgrade.sh
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-16 16:38:47 +02:00
irbekrm
f03b8daf1d Adds feedback from code review
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-08 10:17:37 +01:00
irbekrm
1095e7f4c0 Adds an upgrade test
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:21:58 +01:00