Commit Graph

68 Commits

Author SHA1 Message Date
Michel Loiseleur
0ec66ee669
fix linter 2024-08-23 09:24:28 +02:00
Michel Loiseleur
50672d66b9
chore: upgrade ExternalDNS to go 1.23 2024-08-22 09:10:10 +02:00
Morre
c0a183b006
fix: re-add api-approved.kubernetes.io annotation 2024-05-21 09:27:03 +02:00
dongjiang
7f86c75b96
chore(ci): update golangci-lint to v1.57.2 (#4406)
* update lint version

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* update version

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* fix golangci lint warning

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-04-24 07:51:52 -07:00
dongjiang1989
4e6dd80301
update controller-tools version
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-04-22 16:16:49 +08:00
Michel Loiseleur
d98a28ee43 fix: update golangci-lint to v1.55.2 2023-12-02 22:25:44 +01:00
Robin Schneider
ad3b40d0f8
Update Makefile
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
2023-11-09 09:13:26 +01:00
Robin Schneider
1ec489a040
Add org.opencontainers.image.source label to container image 2023-11-08 15:44:18 +01:00
John Gardiner Myers
376d42c0a4 Fixes to staging image build 2023-08-27 13:12:40 -07:00
Kubernetes Prow Robot
5426005874
Merge pull request #3835 from johngmyers/ko
Build image with ko
2023-08-26 07:23:22 -07:00
John Gardiner Myers
f36f126210 Bump the timeout for golangci-lint 2023-08-12 14:23:20 -07:00
John Gardiner Myers
07b1f81c14 Build image with ko 2023-08-10 07:45:45 -07:00
Michel Loiseleur
77ec93377b fix the other lint job 2023-08-01 10:03:16 +02:00
Michel Loiseleur
5487db9a0c fix: pull-external-dns-lint by downloading golangci-lint within Makefile 2023-08-01 09:53:07 +02:00
Michel Loiseleur
d6a6325d3d fix: try to reduce disk usage on CI 2023-08-01 09:27:23 +02:00
Christian Groschupp
2c6655ca56 use only tags with prefix v for version determination 2023-07-03 13:22:54 +02:00
Raffaele Di Fazio
5404112453 removes provenance and sbom to push to gcr
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2023-03-25 15:50:54 +01:00
Raffaele Di Fazio
987e5c200a fix docker image build
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2023-03-25 14:07:14 +01:00
Raffaele Di Fazio
64d6bbbbc2 fix cloudbuild
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2023-03-18 23:07:24 +01:00
Raffaele Di Fazio
23f5615e8e add deps and pin image
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2023-03-18 19:27:53 +01:00
Raffaele Di Fazio
6a7e846dd7
docker buildx and tester (#3472)
* docker buildx and tester

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fix

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* run new build for PRs temporarily

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* test to see if images do build

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* speed up builds

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* makefile changes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fixes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* omg docker

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* omg docker

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* makefile

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* maybe not neeeded

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* try this

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* output type docker

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* changes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* try to run the right job

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* add test target

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* tr

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

---------

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2023-03-18 03:25:16 -07:00
Domen Jesenovec
4d49e7dadd
chore(dockerfile): bump alpine version to 3.17 2022-12-29 09:01:57 +13:00
Raffaele Di Fazio
cfce744c75
Upgrade ExternalDNS to go 1.19 (#3152)
* upgrades ExternalDNS to go 1.19

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fixes testutil comparison

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* disable golint

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* bump golangici-lint

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* remove deprecated linters and revive

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* remove other linters to make it pass

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* remove gosimple

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2022-11-30 00:24:54 -08:00
Will Hegedus
316345731c Bump to go 1.18
Required for net/netip package
2022-04-20 13:35:34 -04:00
Sean Malloy
bcc60e8531 Bump To Go 1.17 2022-01-21 14:23:58 -06:00
Pascal Bourdier
a19dc58786 Fix alpine vulnerabilities (part2)
update makefile according https://github.com/kubernetes-sigs/external-dns/pull/2213
2021-10-13 18:09:38 +02:00
Raffaele Di Fazio
736972e011 pull golang
Signed-off-by: GitHub <noreply@github.com>
2021-05-02 14:40:12 +00:00
Kubernetes Prow Robot
e5fd13044f
Merge pull request #2001 from k0da/crd_v1
Switch to controller-gen for CRD generation and update CRD to apiextentions v1
2021-03-10 00:57:13 -08:00
Thomas Stig Jacobsen
c97614906e
Using the minor version instead of the patch version 2021-03-09 09:31:16 +01:00
Thomas Stig Jacobsen
75bfb2c86e
Bump alpine base image to 3.13.2 2021-03-08 20:35:13 +01:00
Dinar Valeev
544d245464 Update apiextentions to v1
v1 is available since kubernetes 1.16, since then v1beta1 is deprecated
and will be dropped in kubernetes 1.22

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
2021-03-08 20:12:08 +01:00
Dinar Valeev
a143a6cd59 Generate CRD with controller-gen
Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
2021-03-08 20:12:05 +01:00
Raffaele Di Fazio
8f9d4971a4 adds GOARM for arm32v7 images
Signed-off-by: GitHub <noreply@github.com>
2020-10-23 10:50:56 +00:00
Raffaele Di Fazio
8bf7e6e46f adds arm32v7 arch for images
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2020-10-22 21:05:51 +00:00
Raffaele Di Fazio
693711a45a pre-pulls images due to cloudbuilder bug 2020-10-17 12:48:58 +00:00
Raffaele Di Fazio
b23151c291
First implementation for arm images (#1815)
* multiarch init

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* change

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* codespaces

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* add amd64 arch

* changes

Signed-off-by: GitHub <noreply@github.com>

* test

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* changes

* ch-changes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* do not install certs

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* save

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* try amd64

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* amd64

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* remove devcontainer

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* tests

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* changes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* Update Makefile

Co-authored-by: Nick Jüttner <nick@juni.io>

* Update Makefile

Co-authored-by: Nick Jüttner <nick@juni.io>

* Update Makefile

Co-authored-by: Nick Jüttner <nick@juni.io>

Co-authored-by: Nick Jüttner <nick@juni.io>
2020-10-15 07:46:24 -07:00
Johannes Grumböck
6f5ef2a56d Moved coverprofile creation into Makefile 2020-09-01 06:32:04 +00:00
Tariq Ibrahim
6ec6e3d88e
add license header check to the CI 2020-08-21 15:54:49 -07:00
Nick Jüttner
64a1352e12 suppress verbosity of tests, to much noise 2020-06-07 09:52:45 +02:00
Nick Jüttner
3388e3ddf1 improve linter quality for external-dns 2020-06-06 22:29:24 +02:00
Adam Stankiewicz
6e0abfaf42 Make tests faster by fast polling 2020-05-12 23:06:05 +02:00
Martin Linkhorst
d0c7063685 fix: add version to binary for --version flag 2020-01-10 13:46:19 +01:00
Nick Jüttner
5b05c5ac7d Use cloudbuild tag as version in Makefile (#1354) 2020-01-09 12:08:51 +01:00
Nick Jüttner
2f964ef333 show environments from cloudbuild (#1353) 2020-01-09 11:44:27 +01:00
Nick Jüttner
80b5e31fad show environments from cloudbuild (#1352) 2020-01-09 11:38:52 +01:00
Nick Jüttner
04d38fb224 Show environments from build (#1351)
* Fix invalid build: key "_PULL_BASE_REF" in cloudbuild.yaml

* show environments from cloudbuild
2020-01-09 11:30:06 +01:00
Kubernetes Prow Robot
4c6b7c328d
Merge pull request #1326 from njuettner/image-publishing
Enable image publishing
2020-01-07 01:40:19 -08:00
Tariq Ibrahim
41ba7f1ff5
rename project root package to sigs.k8s.io 2020-01-06 08:08:35 -08:00
njuettner
4ebf88d578 Enable image publishing 2019-12-17 14:46:41 +01:00
njuettner
ea2368c514 Increase the timeout of golangci-lint 2019-11-26 14:49:48 +01:00