Commit Graph

58 Commits (bf4fce3c77b3f996cb151cb9aed0fd511b011ace)

Author SHA1 Message Date
Carol (Nichols || Goulding) f561d599d2
fix: Remove uses of KAFKA_CONNECT, redpanda, and some talk of Kafka 2023-04-12 11:53:23 -04:00
Marco Neumann d79405b367
chore: add deploy tools to CI image (#7134)
Adds `skopeo` and gcloud CLI to CI image. This should eventually replace
our manual installation during the `deploy_releases` step:

d8d097c183/.circleci/config.yml (L493-L527)

This step costs us 20min during CD, which is ridiculous. A follow-up PR
later this week will use the CI image instead of an ad hoc installation.

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-06 10:47:43 +00:00
Dom Dwyer 8ca12d488f
ci: use new influx gpg signing key
We recently rotated our GPG keys:

    https://www.influxdata.com/blog/linux-package-signing-key-rotation/
2023-02-02 10:34:42 +01: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
Raphael Taylor-Davies b5ea7fe441
chore: add libprotobuf-dev to CI image (#5269)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-04 18:10:24 +00:00
Raphael Taylor-Davies bfe24b3418
feat: add protobuf-compiler to CI image (#4180)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-30 17:36:27 +00:00
Andrew Lamb 0459e18aa0
feat: install cargo hakari in ci image (#3691)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-09 17:17:18 +00:00
Raphael Taylor-Davies 2f3e25922a
refactor: use redpanda docker image (#3390)
* refactor: use redpanda docker image

* chore: remove unused gpg key
2021-12-16 11:59:10 +00:00
Marco Neumann 6153e3df0b chore: build docker image for data generator
Closes #3322.
2021-12-14 12:44:41 +01:00
Marco Neumann 1706bc94a0 chore: provide a single way to build prod IOx images
Closes #3310.
2021-12-06 15:20:28 +01:00
Marco Neumann 24be4784fb ci: add `yamllint` and `shellcheck` to CI image
This prepares a PR to run these two tools as linters.
2021-11-29 14:10:05 +01:00
Marco Neumann 640cd88df3 ci: update CI images from docker buster to bullseye
This will break `perf_image` until the new CI image is built due to the
newly required `--all-tags` parameter to `docker push` that isn't
available for the docker version we run on buster.
2021-11-17 10:00:31 +01:00
Marco Neumann fd9834f8bc fix: `perf_image` docker ignore 2021-11-12 12:50:01 +01:00
Marco Neumann 053afac5e9 chore: allow image server mode to be chosen via env var 2021-11-12 09:55:44 +01:00
Raphael Taylor-Davies f650962221
refactor: merge CI integration tests (#3049)
* refactor: merge CI integration tests

* chore: update docs
2021-11-10 16:48:16 +00:00
Raphael Taylor-Davies 60f0deaf1e
feat: remove flatbuffer entry (#3045) 2021-11-05 20:19:24 +00:00
Raphael Taylor-Davies 03f9de3841
feat: add redpanda to CI image (#3046)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-05 15:20:11 +00:00
Marco Neumann 705fa3cb98
fix: dockerfiles should select database server mode by default (#3010)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-03 18:06:01 +00:00
Marco Neumann 2833cefc12 test: remove Kafka from end2end tests
Kafka is now sufficiently tested via the `write_buffer` crate. The
end2end tests can now use the in-memory mock implementation or -- if
servers can only be controlled via CLI -- the file-based implementation.
2021-10-26 10:09:34 +02:00
Marco Neumann 53d325e8fc test: end2end for skip replay 2021-08-16 13:47:56 +02:00
Marco Neumann d1d140a9c4 test: speed up kafka retention checks 2021-08-16 13:47:07 +02:00
Marco Neumann b5428e53a5 refactor: write buffer testing + better mocking
This refactors the write buffer a bit for:

- **Testing:** Add generic tests for the Kafka and the mocking
  implementation. The same interface can be used easily add new
  implementations (e.g. via Redis, filesystem, ...).
- **Partition on Write:** The caller of the writer operation must now
  specify the partition/sequencer ID. The implicit partitioning of the
  Kafka writer would have lead to broken data since we must never spill
  entries w/ the same primary key over multiple partitions. At the
  moment we will only use partition 0 but we can easily implement
  better logic in the future.
- **Improved Mocking:** The mocked implementation now simulates a system
  that feels more real. Especially the handling around multiple streams
  and "write while read" has been improved. This will be helpful for
  testing and for new features like seeking (during replay). A solid
  realistic mock also helps us to ensure that the tests using the mock
  do not rely on unrealistic behavior too much.
2021-07-15 17:20:45 +02:00
Andrew Lamb 3bb32594ba
refactor: rename end-to-end.rs to end_to_end.rs (#2015)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-15 13:50:32 +00:00
Edd Robinson 44f9689093 chore: emit server logs 2021-07-14 12:56:17 +01:00
Carol (Nichols || Goulding) f0efd20259 chore: Switch to rust-toolchain.toml to specify Rust components we need as well 2021-06-23 15:28:58 -04:00
Carol (Nichols || Goulding) 31ad5c85f9 fix: Consistently refer to docker-compose 2021-06-21 09:41:37 -04:00
Carol (Nichols || Goulding) 4191300a41 fix: Move environment variables to ENV declarations in Dockerfile 2021-06-21 09:41:36 -04:00
Carol (Nichols || Goulding) 485d8cddc4 docs: Remove outdated comment 2021-06-21 09:41:36 -04:00
Carol (Nichols || Goulding) 4ba6d8cd4f chore: Add a dockerignore file to not send the target directory 2021-06-21 09:41:36 -04:00
Carol (Nichols || Goulding) a0583381a1 chore: Run kafka integration tests using docker-compose
And, importantly, using the CircleCI machine image to avoid running
Docker-in-Docker.
2021-06-21 09:36:35 -04:00
pierwill f349cfb64f
ci: verify gpg signatures of dependencies in CI (#1609)
* ci: verify gpg signatures of dependencies in CI

Verify signatures of bazel and influxdb2.

* fix: harden curl in Dockerfile.ci

Co-authored-by: pierwill <pierwill@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-06-03 16:20:50 +00:00
Marko Mikulicic 9633550cb8
fix: Log sha256sum before running docker build (#1309)
If the layer is cached, docker build won't print the output of the RUN command.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-27 07:34:36 +00:00
Luke Bond 39abadba0d chore: logging to debug CI 2021-04-26 12:49:23 +01:00
Raphael Taylor-Davies 79e6963d9b
fix: specify stable version (#1267) 2021-04-20 19:29:14 +00:00
Edd Robinson bbf3e7aefa chore: update circle job 2021-04-20 16:12:52 +01:00
Edd Robinson 795501559e chore: update circle job 2021-04-20 15:58:28 +01:00
Marco Neumann fd0da7e74a chore: upgrade arrow and Rust
See https://github.com/apache/arrow/pull/10082 for upstream PR.
2021-04-19 14:00:04 +02:00
Carol (Nichols || Goulding) fd1f612957 chore: Install InfluxDB 2.0 OSS in the CI Docker image
This will let us stop installing it in the CI job and will let us run
the influxdb2_client integration tests in a Docker container based on
this image locally as well.
2021-04-16 00:41:20 +00:00
Carol (Nichols || Goulding) 78ca31d6bb fix: When installing bazel in Docker, don't use --user option
That only installs bazel for the `root` user, but we'd like bazel
installed for the `rust` user as well.

Also clean up the installer and run this all as one Docker RUN command.
2021-04-16 00:41:20 +00:00
Carol (Nichols || Goulding) 9c4b052ac8 feat: Add bazel installation to CI Docker image 2021-04-09 14:31:18 +00:00
Carol (Nichols || Goulding) 08727732cc fix: Remove more flatc 2021-03-22 09:38:59 -04:00
Carol (Nichols || Goulding) e463d7b8e2 fix: Update flatc used in the CI Docker image 2021-03-22 09:38:59 -04:00
Raphael Taylor-Davies a19c1cd3d6
chore: install lld in CI image and remove musl (#1024)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-19 17:38:45 +00:00
Marko Mikulicic 58b01b4ad3 fix: Add ca-certificates to iox docker image 2021-03-15 16:53:42 +00:00
Marko Mikulicic 334fb149b1
feat: Rename server run command to just run
Closes #976
2021-03-12 18:36:04 +01:00
Marko Mikulicic 8029aa887d feat: Add subcommands to server 2021-03-11 16:07:42 +00:00
Marko Mikulicic 79105b2c50
feat: Make server no longer the default command 2021-03-10 16:49:49 +01:00
Marko Mikulicic c7c4977e53 ci: Remove nightly-2021-02-12
This reverts commit c1856d2946.
2021-03-02 16:38:41 +00:00
Jacob Marble 485024cb5b feat(docker): add one-command Dockerfile
This adds a simple Dockerfile for anyone to just `docker build .` and
get a Docker image. This Dockerfile is optimized for human consumption,
not for build performance.
2021-03-01 15:45:27 -08:00
Raphael Taylor-Davies 96f9395299 feat: smaller IOx build images 2021-02-25 15:05:54 +00:00