Commit Graph

488 Commits (7230148b58a8b53df07352e32634e46ed66aa246)

Author SHA1 Message Date
Marco Neumann 9accb5912e
chore: lower job count in `build_dev` (#4815) 2022-06-09 13:26:35 +00:00
Dane Strandboge 910d5a2bac
build: upgrade Go to 1.18.3 (#23410) 2022-06-07 13:09:28 -05: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
Brandon Pfeifer afd0b99bdb
build: update changelogger to ignore case when parsing verbs (#23369) 2022-05-24 16:08:04 -04: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
Dane Strandboge 82d1123e78
build: upgrade to Go 1.18.1 (#23252) 2022-04-13 15:24:27 -05: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
Dane Strandboge dedaa7f092
chore: upgrade to go1.17.8 (#23209) 2022-03-17 13:56:33 -05:00
Dom Dwyer e87313f88b build: manually clone advisory-db repo
Use the git CLI to pull the advisory-db repo, instead of letting
cargo-deny do it as it seems to ignore the "pull with CLI" cargo
setting:

    https://github.com/EmbarkStudios/cargo-deny/issues/388

Potentially related to GitHub killing old key support today:

    https://github.blog/2021-09-01-improving-git-protocol-security-github/
2022-03-15 15:42:24 +00:00
Marko Mikulicic 6fd3c3f1ea
fix: Kick c2updater (#4029) 2022-03-14 15:24:54 +00:00
wiedld 355d32b0cf
chore: update OSS ci pipeline to match the updates to monitor-ci (#23169) 2022-03-09 13:17:35 -08:00
Carol (Nichols || Goulding) 8af2f60b59
fix: Run catalog setup as part of end-to-end test setup 2022-03-09 09:55:43 -05:00
Carol (Nichols || Goulding) 93b0cdbcc4
fix: Create the test database as part of ng server fixture startup 2022-03-09 09:55:43 -05:00
kodiakhq[bot] caba70f871
Merge branch 'main' into cn/not-database-url 2022-03-09 13:32:02 +00:00
Carol (Nichols || Goulding) 4dacf0d68f
fix: Instead of using DATABASE_URL, use INFLUXDB_IOX_CATALOG_DSN and TEST_INFLUXDB_IOX_CATALOG_DSN 2022-03-07 11:02:58 -05:00
Dom Dwyer 039eb3d5e7 ci: switch cargo-audit to cargo-deny
Use cargo-deny in CI instead of cargo-audit.

Does the same job, but cargo-deny has more features, in particular the
"deny" functionality is helpful to prevent accidentally pulling in
dependencies we don't want (I'm looking at you OpenSSL).
2022-03-07 15:35:41 +00:00
Carol (Nichols || Goulding) b28aa22039
fix: Check hakari even if a hakari commit is already present; fail the build if so 2022-03-04 10:24:42 -05:00
Carol (Nichols || Goulding) b57632fb6c
fix: Fail the build if hakari changes need to be committed before merge 2022-03-04 10:17:17 -05:00
Carol (Nichols || Goulding) c3acf79307
fix: Only make potentially one cargo hakari commit per branch
So that we don't have to skip running tests when cargo hakari makes a
change, but we won't have infinite cargo hakari commits if there's some
sort of problem.
2022-03-03 15:32:31 -05:00
Carol (Nichols || Goulding) 33bbbd9950
fix: Cargo hakari commits have to use semantic commits too 2022-03-03 14:50:36 -05:00
Carol (Nichols || Goulding) 7f8dcf1ed0
chore: Add ssh key to CircleCI hakari job so it can push commits 2022-03-03 14:43:37 -05:00
Carol (Nichols || Goulding) 5018d1bf66
fix: Have auto hakari commits come from a CircleCI bot, not dependabot 2022-03-03 14:43:37 -05:00
Carol (Nichols || Goulding) 26b9ad812e
feat: Auto commit cargo hakari generate changes 2022-03-03 14:43:37 -05:00
Raphael Taylor-Davies 63bea75ee1
feat: split release build and deploy (#3879)
* feat: split release build and deploy

* fix: only build_release on main

* chore: fix build_perf CI

* fix: deploy_release checkout

* fix: update deploy_release image

* fix: deploy_release credentials

* fix: add COMMIT_SHA to env

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-01 16:35:39 +00:00
Marko Mikulicic 4a56fcdcab
fix: Use bigger executor for test job (#3885)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-01 14:42:55 +00:00
Dom Dwyer 4f0bd29a5b build: run "catalog setup" in CI
Ensures the "catalog setup" command executes successfully by executing
it in CI.
2022-02-21 11:58:57 +00:00
jaymebrd 4a35547af4
chore: The k8s-iox promotion is no longer used and can be removed (#3749) 2022-02-15 17:20:27 +00:00
Luke Bond 54890525da
feat: gitops adapter ci build (#3692)
* chore: remove references to perf_image in CI

* chore: adding gitops adapter image build in CI

* chore: gitops adapter bin now same as dir & package so docker build works

* fix: circle config package change after renaming gitops adapter package
2022-02-10 11:23:06 +00:00
Luke Bond 092268fc87
chore: remove references to perf_image in CI (#3673)
* chore: remove references to perf_image in CI

* chore: typos in circle config comments

* chore: restored ability to build branch using parameter; documented it

* chore: fixed indentation faux-pas in circle config

* docs: clarified build-triggering instructions in circle config comments

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-09 16:51:23 +00:00
Jacob Marble a9fe3362bd
chore: add semantic commit check as GH action (#3638)
* chore: add semantic commit check as GH action

* chore: remove spaces

* chore: indentation

* chore: yamllint config compatible with GH actions 'on' key

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-08 15:44:09 +00:00
Sean Brickley f68758bd94
build(flux): update flux to v0.152.0 (#23086)
* build(flux): update flux to v0.152.0

* chore: use latest cross-builder image
2022-02-04 09:38:36 -05:00
Marco Neumann 50cff27b01
chore: remove rdkafka dependency (#3625)
All features are now covered by rskafka. This also removes the need to
specify a server ID for write buffer consumers. This was only used for
rdkafka since there we needed to specify a consumer group, even though
we did not use any transactions.
2022-02-03 13:33:56 +00:00
Marko Mikulicic c2bd9945de
fix: Use recommended ubuntu mirror (#3612)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 15:27:07 +00:00
Marko Mikulicic 7b2b5b7ebd
chore: Use ubuntu mirror in test_perf (#3609) 2022-02-02 12:37:44 +00:00
Marco Neumann 74c251febb
feat: allow IOx catalog to setup itself (no SQLx CLI required) (#3584)
* feat: allow IOx catalog to setup itself (no SQLx CLI required)

* refactor: use SQLx macro instead of hand-rolled build script
2022-01-31 15:07:38 +00:00
Paul Dix 3215928d2f chore: fix CI sqlx migrate command 2022-01-17 09:56:20 -05:00
Paul Dix 5877374d0d chore: fix ci postgres env 2022-01-17 09:56:20 -05:00
Paul Dix c373e7a397 chore: update circle CI for postgres 2022-01-17 09:56:20 -05:00
Paul Dix 4e48aea55c chore: add Postgres and migrations to CI 2022-01-17 09:56:20 -05:00
Marco Neumann 328286029f ci: use CLI-driven SSH for cargo
Workaround for <https://github.com/rust-lang/cargo/issues/10280>.
2022-01-11 11:38:02 +01:00
Raphael Taylor-Davies 5b71306423
chore: lint markdown docs and use relative code references in docs (#3420)
* chore: lint markdown docs

docs: relative source file references in markdown docs

* chore: review feedback
2022-01-04 09:50:13 +00:00
Marco Neumann 9f2694bf1b test: `objest_store` azure support via Azurite 2021-12-17 09:30:21 +01: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 36ba011653 docs: explain CI docker images 2021-12-16 12:31:55 +01:00
Marco Neumann f02d846389 test: `object_store` aws test using localstack
This removes 3 "nonexisting region" tests that where testing very
specific error behavior that no local emulator (minio and localstack)
replicate and that don't add much value. It's better to test our AWS
code at all than being to picky.
2021-12-16 10:10:06 +01:00
Marko Mikulicic b0c6713bd7 fix: Don't swallow exit code when hakari test fails 2021-12-14 14:49:14 +01:00
Marco Neumann 6153e3df0b chore: build docker image for data generator
Closes #3322.
2021-12-14 12:44:41 +01:00
Marco Neumann 9c0fd4360d ci: use lld to speedup linking 2021-12-14 12:44:08 +01:00
Sean Brickley f78c189211
build(flux): update flux to v0.146.0 (#22988)
* build(flux): update flux to v0.146.0

* chore: use new cross-builder image and skip tests
2021-12-13 17:18:30 -05:00
Carol (Nichols || Goulding) beede9bd4e
feat: Test and build releases with the Kafka feature enabled 2021-12-09 08:49:34 -05:00
Marco Neumann 43569c11c2 ci: improve perf image build time by pre-fetching correct rust version
This avoids that we have to pull rustc and friends twice (once via
image, once when actually executing it).
2021-12-07 09:26:05 +01:00
Marco Neumann c77637e552 ci: improve buildx output 2021-12-06 17:42:21 +01:00
Marco Neumann 5c9fb4699b ci: allow to trigger perf image build via CircleCI API 2021-12-06 17:37:02 +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 0ff165045c ci: increase "no output" timeout for prod builds 2021-12-06 09:49:07 +01:00
Raphael Taylor-Davies b6ecec4d76
chore: tweak redpanda CI configuration (#3294) 2021-12-03 20:57:37 +00:00
Marco Neumann f1e9ac9ef2 ci: run shellcheck 2021-11-29 15:11:15 +01:00
Marco Neumann 86772a6d20 ci: run yamllint 2021-11-29 15:11:15 +01:00
Carol (Nichols || Goulding) 0ca02ea4d7
feat: Print cargo hakari commands to fix failing checks if they fail 2021-11-22 11:14:24 -05:00
Carol (Nichols || Goulding) 93d6c2becd
feat: Add CI jobs and documentation for the workspace-hack crate 2021-11-19 11:05:34 -05:00
Marco Neumann fef6cafa24 ci: explain some circle decisions 2021-11-18 10:55:36 +01:00
Daniel Moran a5f6431321
build: pull SHA-specific image before tagging it as latest (#22891) 2021-11-17 10:26:27 -05:00
Marco Neumann c9168a2c13 ci: update CI image builder to use newer docker
This is a precondition to build ARM64 CI images.
2021-11-17 14:17:27 +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
Daniel Moran e7a77f0e24
build: follow-up fixes after CI refactor (#22884)
* Setup docker before trying to push image
* Fix perf-test script name
2021-11-16 15:41:43 -05:00
Daniel Moran 0572ae05d2
build: replace cross_build job with parallelized build matrix (#22877) 2021-11-16 14:38:30 -05:00
Sam Arnold 16e3b165ca
chore: refactor performance test to generate queries and data together (#22861) 2021-11-15 12:01:38 -05:00
William Baker 11f60520f9
build: better versioning and verification for releases (#22866) 2021-11-12 08:57:21 -07:00
kodiakhq[bot] 49cfa046bb
Merge branch 'main' into crepererum/smaller_binaries 2021-11-12 11:17:09 +00:00
Daniel Moran 0ecde93012
build: stop building & pushing images to quay.io (#22864) 2021-11-11 12:28:06 -05:00
Marco Neumann f0136e9791 ci: run clippy for all features
This indeed fixes some issues in our object store implementation.

Closes #537.
2021-11-11 10:48:21 +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
Marco Neumann 16fc610433 chore: faster and smaller IOx binaries
Use `codegen-units = 1`, thin-LTO and debug section compression to make our binary smaller (which is good for deploy and
test times) and faster.

# Summary

The binary size of `influxdb_iox` after building with:

```console
$ cargo build --release --no-default-features --features="aws,gcp,azure,jemalloc_replacing_malloc"
```

The profile was:

```toml
[profile.release]
debug = true
```

The commit was:

```text
89ece8b493
```

The size results are:

| Method                                     | Size  |
| ------------------------------------------ | ----- |
| baseline                                   | 833MB |
| baseline + dbg compression                 | 222MB |
| baseline + strip                           |  49MB |
| codegen-units                              | 520MB |
| codegen-units + strip                      |  40MB |
| codegen-units + dbg compression            | 143MB |
| thin LTO                                   | 715MB |
| thin LTO + strip                           |  49MB |
| thin LTO + dbg compression                 | 199MB |
| codegen-units + thin LTO                   | 449MB |
| codegen-units + thin LTO + strip           |  40MB |
| codegen-units + thin LTO + dbg compression | 130MB |

For the methods that were successfully measured I couldn't really see any compile time differences on my laptop.

# Methods

## Strip
Remove debug symbols. We don't really want this, so this is just to get an idea of the size

```console
$ strip baseline
```

## Debug Sections compression
Debug sections make a large amount of our binary size (a stripped executable is 49MB instead of 833MB). Since we like to
have debug symbols we cannot just strip them. However these symbols are only used for:

- backtrace generation (something went wrong, not BAU)
- profiling
- debugging

So in normal operation and most test scenarios, we're just wasting memory. So we could compress them:

```console
$ objcopy --compress-debug-sections baseline baseline-dbg_compressed
```

There is also elfutils:

```console
$ eu-elfcompress test
```

Elfutils nearly ends up with the same size (220MB instead of 222MB that objcopy achieves), but takes more time and is
probably not worth it.

Note that compressed debug sections exist since many years. The Rust ecosystem supports reading them since over a year,
see:

- <https://github.com/gimli-rs/gimli/issues/195>
- <https://github.com/rust-lang/backtrace-rs/issues/342>

## Codegen Units
The rust compiler parallelizes codegen work. This split into units however means that optimizations are somewhat
limited. This can be change by:

```toml
[profile.release]
...
codegen-units = 1
```

As a nice side effect this should also make our code faster.

## Thin LTO
Get LLVM to run "thin" Link Time Optimization:

```toml
[profile.release]
...
lto = "thin"
```

As a nice side effect this should also make our code faster.

## Fat LTO
Get LLVM to run "fat" Link Time Optimization:

```toml
[profile.release]
...
lto = "fat"
```

There are no results for this because this took a massive amount of memory and CPU time and did not finish on my system.
2021-11-10 15:49:19 +01:00
Marco Neumann 89ece8b493 ci: fix usage of old docker version
`--all-tags` as introduced for version 20.10 but appearently we're
running an older version.
2021-11-10 10:27:16 +01:00
Marco Neumann ae58ae9c81 ci: also push `:main` tag in addition to SHA-based ones 2021-11-10 09:06:19 +01:00
Marco Neumann d0df1a14b4
ci: fix quay login for image promotion (#3066)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-08 14:17:36 +00:00
Marco Neumann 6786fd5955 ci: fix `get-deploy-tags.sh` 2021-11-08 14:12:03 +01:00
Marco Neumann f751bb5426 ci: use new, public `quay.io/influxdb/iox` image 2021-11-08 11:18:53 +01:00
William Baker 4af68d06b7
build: updated changelog automation (#22835)
* build: updated changelog automation

* chore: update frozen changelog date
2021-11-05 20:55:37 -06:00
Raphael Taylor-Davies 60f0deaf1e
feat: remove flatbuffer entry (#3045) 2021-11-05 20:19:24 +00:00
Raphael Taylor-Davies 9d0f78788d
feat: unify workflows and add ability to manually trigger CI image (#3047)
* feat: unify workflows and add ability to manually trigger CI image

* chore: s/master/main/g

* chore: docs

Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-11-05 18:06:30 +00:00
Raphael Taylor-Davies 898567e221
feat: migrate server to DbWrite (#2724) (#3035)
* feat: migrate server to DbWrite (#2724)

* chore: print perf log output

* fix: don't suppress CI status code

* chore: review feedback

* fix: don't error on empty line protocol write payloads

* fix: test

* fix: test
2021-11-05 11:09:33 +00:00
Daniel Moran 21362910f2
build: add a CI job to test `influxd downgrade` (#22821) 2021-11-03 14:28:19 -04:00
William Baker f7573f43a7
feat: sql migrator can do down migrations (#22806)
* feat: sql down migrations

* refactor: different name for up migrations

* chore: update migrations ref in svc tests

* build: add lint step to verify sql migration names match
2021-11-01 14:30:18 -06:00
William Baker ca6b99f9a2
build: use changelogger image for changelog generation (#22748)
* build: install a specific version of git-cliff for changelog job

* build: use pre-built image

* chore: correct image name

* chore: update deps

* chore: remove test job
2021-10-25 15:16:10 -06:00
Marco Neumann 81ccf85104 refactor: integrate print-cpu into main binary
It's a less confusing structure and also allows us to have this
information available in our shipped binary.
2021-10-25 18:29:32 +02:00
Andrew Lamb c6858285e5
chore: Allow bypassing 'backwards compatibility' protobuf linting with a label (#2922)
* chore: Allow bypassing 'backwards compatibility' protobuf linting with label

* chore: feedback review

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 15:06:45 +00:00
Andrew Lamb 0247ffee1d
chore: Enable 'breaking backwards compatibility' protobuf linter (#2919)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 12:37:24 +00:00
Raphael Taylor-Davies 8267e19592
chore: compress CI docs (#2880)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-19 09:03:24 +00:00
Andrew Lamb 035654b4f9
refactor: do not rebuild query_test when .sql or .expected files change (#2816)
* feat: Do not rebuild query_tests if .sql or .expected change

* feat: Add CI check

* refactor: move some sql tests to .sql files

* tests: port tests / expected results to data files

* fix: restore old name check-flatbuffers
2021-10-12 19:34:54 +00:00
Daniel Moran cac4b42898
build: bump to go1.17.2 (#22652) 2021-10-12 10:23:17 -07:00
Cody Shepherd e75d023eba
build: the update-changelog script should not produce side-effects (#22624) 2021-10-11 09:31:30 -07:00
Daniel Moran a4ee58e451
build: refactor lint and race-test jobs to use cross-builder executor (#22584) 2021-10-05 16:27:00 -04:00
Raphael Taylor-Davies b13b092bbd
revert: "feat(iox): Enable heappy again" (#2641)
This reverts commit 6e2aa2eef3.
2021-09-27 16:31:19 +00:00
Andrew Lamb a55a21c644
chore: Update datafusion (#2635)
* chore: Update datafusion and sqlparser

* fix: remove STACK_SIZE workaround

* chore: update datafusion_util

* chore: update predicate

* chore: update query_tests

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-27 14:13:19 +00:00
Daniel Moran 1e9a31a675
build: add CI jobs to natively test ARM64, Mac, and Windows (#22539) 2021-09-24 11:03:56 -04:00
pierwill 22fa31640b
ci: Verify checksum of goreleaser install script (#22570) 2021-09-23 16:32:27 -05:00
Nga Tran 2399a932fb chore: Merge branch 'main' into ntran/more_delete_tests 2021-09-22 16:47:15 -04:00
Nga Tran 400ec93498 test: more delete tests 2021-09-22 16:38:27 -04:00
Raphael Taylor-Davies 92e6173f49
feat: implement jaeger-agent protocol directly (#2607)
* feat: implement jaeger-agent protocol directly

* chore: review feedback

* fix: remove jaeger feature flag
2021-09-22 17:30:37 +00:00
Andrew Lamb 823ff1029a
test: Add end to end tracing test with mock Jaeger agent (#2594) 2021-09-21 16:07:05 +00:00
Marco Neumann 98900af703 ci: add cargo audit
For now we ignore warnings (e.g. "crate is yanked" or "crate is
unmaintained") because:

- internal crates w/ names of crates.io crates (e.g. `query`) are
  treated like crates.io-crates even though they shouldn't, see
  https://github.com/rustsec/rustsec/issues/232
- many crates are currently unmaintained and require a bit of upstream
  work (e.g. `chrono` is currently not very active but uses an old
  version of `time` which uses the unmaintained `stdweb`)

Closes #2575.
2021-09-21 15:59:04 +02:00
Cody Shepherd c44931a06e
build: changelog job should use aws domain to avoid CDN caching (#22502) 2021-09-17 10:43:09 -07:00
Cody Shepherd b8a3b4ca5c
chore: persist changelog artifacts to workspace for uploading (#22478) 2021-09-14 14:16:36 -07:00
Jacob Marble 6d762d2ba0 fix: emit traces to Jaeger in perf.py 2021-09-13 16:11:59 -07:00
Cody Shepherd 1e911cdba6
chore: fetch changelog files prior to updating (#22439) 2021-09-13 07:01:30 -07:00
Dane Strandboge bd8a1e18f4
build: upgrade to go1.17.1 (#22437) 2021-09-10 14:34:58 -05:00
Jacob Marble 083fd06d0c
fix: checksum rustup in CI (#2501)
* fix: checksum rustup in CI

* chore: integrate feedback

Co-authored-by: Andrew Lamb <alamb@influxdata.com>

Co-authored-by: Andrew Lamb <alamb@influxdata.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-10 16:28:09 +00:00
Cody Shepherd 26e35ed945
chore: omit VCS commands for changelog in favor of s3-only approach (#22423) 2021-09-10 08:38:40 -07:00
Daniel Moran 873051865a
build: try adding curl loop before grace-daily runs (#22432) 2021-09-09 13:08:33 -04:00
Daniel Moran cc2a4fc73e
build: disable docker-layer-caching in machine executors (#22434) 2021-09-09 12:33:41 -04:00
Jacob Marble c415d357cc
fix: perf broken after Protobuf changes (#2479)
* fix: perf broken after proto changes

* feat: add perf to CI

* chore: try different python version selector script

* chore: several fixes to CI

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-09 14:24:24 +00:00
Daniel Moran a7cd53a732
build: bump machine executor image to version with upgraded docker (#22402) 2021-09-07 16:46:22 -04:00
Cody Shepherd 824e76c18d
build: generate nightly changelog from commit history (#22377)
* build: generated nightly changelog from commit history

* build: update goreleaser version
2021-09-07 08:07:04 -07:00
Cody Shepherd e30eb3cc46
build: update goreleaser version pin (#22393) 2021-09-03 14:00:31 -07:00
Daniel Moran 1c2d68b0cb
build: upgrade to go1.17 (#22363) 2021-09-01 16:09:02 -04:00
Marko Mikulicic 6e2aa2eef3
feat(iox): Enable heappy again 2021-08-27 11:13:30 +02:00
Marko Mikulicic 31521e076e
feat: Re-enable jemalloc
But without heappy
2021-08-25 14:46:28 +02:00
Marko Mikulicic 595b83d7bc
feat: Disable jemalloc/heappy and use system allocator 2021-08-25 10:49:46 +02:00
Raphael Taylor-Davies 3fdc0e9a6a
chore: remove orphaned code from trogging (#2371)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-24 10:12:59 +00:00
Marko Mikulicic 4a2f0b0a52
fix: Make heappy and nonheappy mutually exclusive
Closes #2288
2021-08-20 11:35:07 +02:00
Andrew Lamb 5e1cb244f7
feat: make pprof optional (#2331) 2021-08-18 15:13:37 +00:00
Daniel Moran bfc54e1ed4
build: delete duplicate jobs for grace/litmus, update nightly workflow (#22220) 2021-08-17 15:06:38 -04:00
William Baker de9855d073
build: dont run `pkg_run_test` on forks (#22232) 2021-08-17 12:28:48 -06:00
Raphael Taylor-Davies 70aca081ff
chore: fix dockerignore (#2300) (#2316)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-17 10:09:18 +00:00
Marko Mikulicic e1fe2ea27b fix: Enable heappy in our perf build 2021-08-13 17:21:55 +02:00
Andrew Lamb 05de6c0e31 chore: add heappy end to end tests 2021-08-13 08:20:08 -05:00
Andrew Lamb 697de875ca refactor: make heappy an optional feature, add to build image 2021-08-13 08:11:32 -05:00
Cody Shepherd 8e5a0705a3
fix: systemd service -- handle 40x and block indefinitely (#22174)
* fix: systemd service -- handle 40x and block indefinitely

* chore: update changelog

* chore: add pkg_run_test to CI

* chore: fix curl syntax for auth setup in pkg_run_test
2021-08-12 12:45:29 -07:00
Luke Bond 88e4bcd139
chore: update .circleci/get-deploy-tags.sh
Co-authored-by: Marko Mikulicic <mkm@influxdata.com>
2021-08-10 15:15:09 +01:00
Luke Bond 083423a629
chore: update image promotion script 2021-08-10 13:36:55 +01:00
Daniel Moran 43f5aefe6c
build: include query-format in EC2 perftest instance names (#22134) 2021-08-09 15:42:27 -04:00
Daniel Moran b4170a9d34
build: parallelize flux and influxql perf tests (#22118) 2021-08-09 14:07:01 -04:00
Daniel Moran 22c6b78c62
build: fix generation when vendoring dependencies (#22089) 2021-08-06 15:06:36 -04:00
Andrew Lamb 82677d9510
feat: add `jaeger` and `otlp` features, default to off (#2202)
* feat: add jaeger and otlp flags

* chore: add jaeger and otlp features to CI test and deploy image

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-06 13:26:59 +00:00
Andrew Lamb 4a44b14d4d
fix: use avx2 (#2140) 2021-07-28 20:58:38 +00:00