Commit Graph

219 Commits (30b187817190e7d73d821b1b23c209452161da1a)

Author SHA1 Message Date
Marco Neumann 6a99e181cb
chore: streamline CD (#7165)
* chore: streamline CD

Use our own CI image for CD and avoid installing skopeo every time. Also
streamline the script a bit to make it more readable and less prone to
errors/typos.

This should hopefully safe a good amount of CD time.

Also see https://github.com/influxdata/idpe/issues/17098 .

* chore: remote docker no longer required for CD

* chore: gate deploy on Flight SQL integration tests

* chore: use more CPUs to build release image

* fix: `skopeo` login permissions
2023-03-09 11:53:57 +00:00
Marco Neumann c8184c9947 revert: streamline CD (#7163)
This reverts commit d6265c988f.

It seems that Debian's skopeo is so horribly old or the packaging is so
broken that you cannot run it out of the box as a normal non-root user.
I need to fix the CI first before we can try again.
2023-03-09 11:46:23 +01:00
Marco Neumann d6265c988f
chore: streamline CD (#7163)
Use our own CI image for CD and avoid installing skopeo every time. Also
streamline the script a bit to make it more readable and less prone to
errors/typos.

This should hopefully safe a good amount of CD time.

Also see https://github.com/influxdata/idpe/issues/17098 .
2023-03-09 10:20:14 +00:00
Andrew Lamb a9433302dd
Revert "chore: preserve `query_tests2` output in CI (#6782)" (#6844)
This reverts commit d7d8c84203.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-02-03 17:49:33 +00:00
Marco Neumann d7d8c84203
chore: preserve `query_tests2` output in CI (#6782)
This shall help to debug flaky tests.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-31 15:11:15 +00:00
Andrew Lamb 7853a19953
feat: JDBC integration tests with FlightSQL (#6693)
* feat: basic JDBC integration test

* fix: do not run test without env set

* docs: add maven link

* refactor: clean up java with switch statement
2023-01-25 22:21:18 +00:00
Carol (Nichols || Goulding) f803c31e84
fix: Limit tests in CI to 8 threads to not use up Postgres connections
This is only needed until we switch over to ingester2 completely.

Old ingester tests need to be run on non-shared servers because I'm
unable to implement persistence per-namespace. Rather than spending time
figuring that out, limit the parallelization to limit the Postgres
connections that CI uses at one time.
2023-01-25 10:37:05 -05:00
Dom Dwyer 38eeffac0d
revert: "ci: use rust 1.66.0 for CI"
This reverts commit 71f54528d0.
2023-01-12 10:36:26 +01:00
Dom Dwyer 5639db7c84
docs: ref-link lack of 1.66.1 issue
Link to the upstream issue.
2023-01-11 14:21:19 +01:00
Dom Dwyer 71f54528d0
ci: use rust 1.66.0 for CI
Temporary fix as there's no official 1.66.1 docker image (yet?), so use
1.66 for now.

I kept the toolchain version pinned and switched only the CI version so
that we are all using the fixed cargo. I will revert this commit when
there's a 1.66.1 image.
2023-01-11 14:05:17 +01:00
Carol (Nichols || Goulding) f5231da970
fix: Remove the test_rpc_write CI job 2022-12-16 17:11:53 -05:00
Carol (Nichols || Goulding) aec98015d7
fix: Remove the rpc_write feature flag and use INFLUXDB_IOX_MODE env var instead
And standardize on ingester2 and router2 for consistency.

Connects to #6402.
2022-12-15 14:06:59 -05:00
Carol (Nichols || Goulding) 0a4df1f3fb
chore: Run tests in CI in both RPC write mode and not 2022-12-08 17:40:04 -05:00
Carol (Nichols || Goulding) b86eb763b1
fix: Tell buf to fetch to a depth of 100 commits when looking for breaking changes
Per <https://docs.buf.build/reference/inputs#other-options>, this is by
default 50 (and I have 51 commits on this PR 😰)

100 commits should be enough for anyone.
2022-11-23 17:24:50 -05:00
jaymebrd d41c1290cf
chore: copy iox images skopeo gar registry (#6172)
* chore: copy the iox images to the gar registry with skopeo

* chore: add quotes
2022-11-18 16:37:08 +00:00
Andrew Lamb 1eb0d64210
chore: remove unecessary doc exclude (#6018)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-01 20:17:27 +00:00
Luke Bond c39ae97dd4
chore: temporarily disable circle filter to build & push PRs (#5973)
* chore: temporarily disable circle filter to build & push PRs

* chore: allow build & push of container image for branches using param

* chore: indentation fix in circle config

* chore: rename build_perf to release_branch
2022-10-25 15:40:13 +00:00
Marco Neumann adeacf416c
ci: fix (#5569)
* ci: use same feature set in `build_dev` and `build_release`

* ci: also enable unstable tokio for `build_dev`

* chore: update tokio to 1.21 (to fix console-subscriber 0.1.8

* fix: "must use"
2022-09-06 14:13:28 +00:00
Andrew Lamb f9d0e37144
chore: reduce h2 and hyper logging level in tests (#5332)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-08 09:39:26 +00:00
Andrew Lamb 38a0cdbb4a
fix: Install cargo deny in ci image (#5317)
* fix: install cargo deny in ci image

* fix: Update docker/Dockerfile.ci

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* fix: Apply suggestions from code review

Co-authored-by: Marco Neumann <marco@crepererum.net>

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
Co-authored-by: Marco Neumann <marco@crepererum.net>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-05 15:51:35 +00:00
Dom Dwyer 36d36c507c ci: bump redpanda version 2022-08-04 16:57:28 +02:00
Raphael Taylor-Davies 5f9ade103f
chore: tweak rustc flags (#5293)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-04 09:12:21 +00:00
Andrew Lamb e2d871b00b
chore: Update datafusion and arrow/parquet/arrow-flight to `18.0.0` (#5079)
* chore: Update datafusion to 10.0.0, arrow/parquet/arrow-flight to 18

* chore: Run cargo hakari tasks

* fix: update cargo pin

Co-authored-by: CircleCI[bot] <circleci@influxdata.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-18 15:01:03 +00:00
Marco Neumann d33525055b
ci: update CI machine images (#5061) 2022-07-07 09:14:02 +00:00
Marco Neumann e84e1f3de2
ci: clean up and fixes (#5054)
* ci: remove unused helper script

* ci: update CI machine images

Try to fix error a la:

```text
error: failed to solve: failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://docker-images-prod.s3.dualstack.us-east-1.amazonaws.com/registry-v2/docker/registry/v2/blobs/sha256/...": dial tcp 52.216.28.112:443: i/o timeout
```

See https://discuss.circleci.com/t/increased-rate-of-errors-when-pulling-docker-images-on-machine-executor/42094/9
2022-07-06 14:47:50 +00:00
Marko Mikulicic 015bba8589
chore: c2updater to acs transition (#5045)
1. disable c2updater call
2. use full sha tags (required by `acs`)
2022-07-05 21:47:05 +00:00
Jacob Marble 1ef9c7ceda
chore: remove perf.py (#5012)
Closes #4485
Closes #5010

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-30 22:32:47 +00:00
Marco Neumann fba58dbc5f
ci: IOx still needs to push its image tags (#4977)
This will be replaced by a pull-based approach soon, but for the time
being we still need perform the final push.
2022-06-29 09:52:44 +00:00
Marco Neumann 847c84a6b4
ci: fix `docker load` paths (#4961)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-29 08:03:02 +00:00
Marco Neumann cede296eb1 ci: fix `docker save` paths 2022-06-28 10:41:04 +02:00
Marco Neumann 2ebb7b195b
ci: fix image deploy (#4953)
The Influx deployment pipeline was changed so the an image push is used
as a signal for deployment (instead of a magic script that was used
before). So we need to adopt our CI to only push images when all tests
pass.

Old workflow:
- build release: builds docker images and push commit-based tags to
  registry
- deploy release: pulls built images from registry, adds+pushes branch
  tags, calls magic deploy script

New workflow:
- build release: builds docker image, saves them to disk
- deploy release: load image files, tags them, pushes tags

You may wonder why there are two steps if we could just use a single
one. The reason is: time-to-deploy. We can already build the image while we
are waiting for the tests. If the tests fail, the image will just not be
published.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-28 07:48:41 +00:00
Andrew Lamb 394c84f3e8
chore: Update CI checks to verify data generator build (#4857)
* chore: Update CI checks to verify data generator build

* fix: bench verify test

* docs: Update .circleci/config.yml

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-15 10:31:14 +00:00
Marco Neumann 9accb5912e
chore: lower job count in `build_dev` (#4815) 2022-06-09 13:26:35 +00:00
Carol (Nichols || Goulding) b52a3586a7
fix: Turn cargo doc warnings into errors (#4710)
* fix: Correct intra-doc links

* fix: Turn cargo doc warnings into errors

Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-28 11:24:22 +00:00
Dom Dwyer 6b6dbb0286 build: remove iox_gitops_adapter from build
Broken release builds since:

    https://github.com/influxdata/influxdb_iox/pull/4675
2022-05-24 16:30:19 +01:00
Andrew Lamb 52a50c4a14
fix: use large circleci executor for docs job (#4680) 2022-05-24 14:26:49 +00:00
Jake Goulding 359046f3f2 ci: give the doc builder more memory 2022-05-20 10:44:06 -04:00
Marco Neumann 7d16f57c85
ci: simplify cargo deny (#4640)
Taken from https://github.com/influxdata/object_store_rs/pull/5

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-19 09:51:15 +00:00
Marco Neumann 52346642a0
ci: fix cargo deny (#4629)
* ci: fix cargo deny

* chore: downgrade `socket2`, version 0.4.5 was yanked

* chore: rename `query` to `iox_query`

`query` is already taken on crates.io and yanked and I am getting tired
of working around that.
2022-05-18 09:38:35 +00:00
Raphael Taylor-Davies f2bb0fdf77
feat: update to crates.io object_store version (#4595)
* feat: update to crates.io object_store version

* chore: Run cargo hakari tasks

* fix: tests

* chore: remove object store integration test plumbing

Co-authored-by: CircleCI[bot] <circleci@influxdata.com>
2022-05-13 16:26:07 +00:00
Marko Mikulicic 335374fed5
chore: Enable pprof feature back (#4587) (#4590)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-12 23:33:28 +00:00
Marko Mikulicic 24020403ba
fix: Remove pprof feature; it fails to build (#4588) 2022-05-12 21:45:13 +00:00
Marko Mikulicic d807941804
chore: Enable pprof feature back (#4587) 2022-05-12 21:25:22 +00:00
Carol (Nichols || Goulding) 78bbe629b2
feat: Add more logging to understand the flaky multi ingester test better (#4580)
* feat: Increase logging to investigate multi ingester flaky test

* feat: Temporarily disable a test while logging is increased in CI

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-12 20:05:05 +00:00
Raphael Taylor-Davies 9befcd5b3d
chore: rename INFLUXDB_IOX_BUCKET to OBJECT_STORE_BUCKET in object_store (#4548)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-10 16:31:46 +00:00
Carol (Nichols || Goulding) 620817eed4
feat: Disable perf until it can be updated.
Connects to #4485.
2022-05-06 09:48:30 -04:00
Andrew Lamb 9cc7d73671
chore: Install custom protoc in perf-builder image (#4358)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-04-20 10:35:05 +00:00
Dom Dwyer 3c89d2a354 ci: enable tokio_console feature
Configures the release CI pipeline to generate a binary with
tokio-console support.

This drops the compile-time log filter to TRACE, which may have some
minor overhead. All our log filters in prod are debug or higher, so the
runtime filter will remove the TRACE events and no additional logs will
be emitted because of this change.
2022-04-12 13:02:31 +01:00
Dom Dwyer 6aac162e4a ci: remove duplicate RUSTFLAGS definition
This commit unifies RUSTFLAGS config in the CircleCI config.

Previously in the CircleCI config file for the "build_release" job, we
specify an env var (RUSTFLAGS) in the env config section, but then
override / use a different value when passing flags to the docker build
steps.
2022-04-12 12:13:40 +01:00
Marko Mikulicic e7ab1908e5
fix: Use a bigger circleci machine for build_dev (#4171) 2022-03-30 09:59:07 +00:00