19 Commits

Author SHA1 Message Date
Ben Kochie
87615ff89f Update build (#6988)
* Update Go to latest patch release.
* Fixup go test to use `.go-version`.
* Bump K8s / KIND in integration tests.
* Update golangci-lint.

Signed-off-by: SuperQ <superq@gmail.com>
2024-11-21 10:30:12 -05:00
Kevin Lyda
c742ec03f5 Upgrade antonmedv/expr to expr-lang/expr (#6814)
* Upgrade antonmedv/expr to expr-lang/expr

The project has moved.  This also upgrades from 1.15.5 to 1.16.9.
The expr project lacks a changelog but tests pass and the changes don't
seem to change it much - but there were a lot of changes.

Signed-off-by: Kevin Lyda <kevin@lyda.ie>

* Upgrade build image

In reviewing the build results I see the old build image was deprecated so
upgrading to something newer.

Signed-off-by: Kevin Lyda <kevin@lyda.ie>

---------

Signed-off-by: Kevin Lyda <kevin@lyda.ie>
2024-08-11 08:00:49 -04:00
Chris O'Haver
c657af467b grep out the timestamp line (#6251)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2023-08-10 09:17:34 -04:00
Kumiko as a Service
c6fa91b367 Workaround for incorrect architecture (#5691)
Signed-off-by: Dreista <Dreista@users.noreply.github.com>
2022-10-21 10:50:54 -04:00
Ondřej Benkovský
497c31f098 Bump circle-ci image and update README to build using latest go (#5458)
Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
2022-06-25 14:54:52 +02:00
Yong Tang
c3b30cc3ef Change deprecated CircleCI image to supported ubuntu-2004:202201-02 (#5266) 2022-03-15 20:31:16 -07:00
Ben Kochie
7d9ad0872c Cleanup yaml formatting (#5151)
* Add yamllint config.
* Add yamllint workflow.
* Cleanup linting issues.
* Remove unnecessary `set -x -e` from workflows.

Signed-off-by: SuperQ <superq@gmail.com>
2022-02-02 18:11:08 +01:00
Yong Tang
14e4f96c07 Fix CircleCI build failure (#5006) 2021-11-24 12:36:21 +08:00
Chris O'Haver
39ec6be5ce bump kind (#4882)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-09-22 15:10:48 -04:00
Chris O'Haver
e2f70b976a download -> tidy (#4664)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-06-04 13:52:30 -04:00
Chris O'Haver
4843cdfe1e rebuild go.mod/sum with go mod download before go test (#4487)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-02-25 18:13:14 +01:00
Chris O'Haver
272ccb195d plugin/kubernetes: Watch EndpointSlices (#4209)
* initial commit

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* convert endpointslices to object.endpoints

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add opt hard coded for now

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* check that server supports endpointslice

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix import grouping

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* dont use endpoint slice in 1.17 or 1.18

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* bump kind/k8s in circle ci to latest

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* drop k8s to latest supported by kind

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* use endpointslice name as endoint Name; index by Service name

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* use index key comparison in nsAddrs()

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add Index to object.Endpoint fixtures; fix direct endpoint name compares

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add slice dup check and test

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* todo

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add ep-slice skew dup test for reverse

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* nsaddrs: de-dup ep-slice skew dups; add test

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* remove todo

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* address various feedback

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* consolidate endpoint/slice informer code

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix endpoint informer consolidation; use clearer func name

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* log info; use major/minor fields

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix nsAddr and unit test

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add latency tracking for endpointslices

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* endpointslice latency unit test & fix

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* code shuffling

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* rename endpointslices in tests

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* remove de-dup from nsAddrs and test

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* remove de-dup from findServices / test

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-10-30 08:14:30 -04:00
Sandeep Rajan
86df1282cb update k8s version u=in circleci (#3942)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-06-11 10:12:47 -04:00
Ben Kochie
d4cac0c43a Move doc test to workflow (#3800)
Replace doc CI test with automatic workflow.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-31 16:18:10 +02:00
Miek Gieben
66dceea95e Remove top level clutter: move fixup_file_mtime (#3786)
Move this to .circlci where it's used.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-27 10:38:18 -07:00
Ben Kochie
570bfba80e Add CI test for man page updates (#3729)
Run make -f Makefile.doc in CircleCI to test that man pages are updated
in PRs.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-26 10:00:46 +01:00
Miek Gieben
f1415e8573 circle CI: run with latest Go (#3358)
* circle CI: run with latest Go

We compile coredns with latest Go on each release, do this same in
Circle-ci

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-05 10:48:51 +01:00
Chris O'Haver
ac36144f07 circleci: updates for minikube -> kind transition (#3274)
* updates for minikube -> kind transition

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* update container build

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-09-10 11:34:08 -04:00
Sandeep Rajan
ade5ea2361 Add CircleCI for Integration testing (#2889)
* add circleci

* make ci work

* use existing script for setup

* add sep step for getting CI repo
2019-06-17 19:26:42 +01:00