Commit Graph

510 Commits (main)

Author SHA1 Message Date
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
Edd Robinson 287d501aa2
chore: build with avx512 instructions (#2118)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-28 19:47:37 +00:00
Andrew Lamb a1fbac74d5
refactor: Tweak perf_build script (#2121)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-28 13:47:18 +00:00
Daniel Moran 5d84c602c8
build: upgrade staticcheck, fix new linter warnings (#21957) 2021-07-27 20:37:23 -04:00
Edd Robinson 6528cab16f
Merge branch 'main' into er/chore/roaringivy 2021-07-26 17:38:18 +01:00
Edd Robinson fd29d5ae05 chore: target architecture with avx2 2021-07-26 17:36:44 +01:00
Marko Mikulicic 16f867272d
fix: Fix typo in print_cpu command name 2021-07-26 17:55:52 +02:00
Andrew Lamb 4def5bd816
chore: Add print_cpu command line to perf build (#2114)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-26 15:26:34 +00:00
pierwill d8611bfcd9
build: verify checksum of Go download in CI (#21911) 2021-07-22 11:47:59 -05:00
Daniel Moran 858be90139
fix: regenerate protos using gogo 1.3.2 (#21880)
* Regenerate protos using gogo 1.3.2
* Add protos to generate, add checkgenerate to CI
* Address proto warning
* Add generator tooling to Makefile
* Delete recursive Makefiles, simplify generation run by goreleaser
* Use env bash for fetch-ui-assets
* Add static-data to clean target
2021-07-20 15:11:46 -04:00
Andrew Lamb 1a79bf7e99
refactor: Make aws/azure/gcs optional features and stop compiling 100 dependencies during dev (#1933)
* feat: make aws, gcp, azure dependencies optional

* fix: only run object store tests if the features are enabled

* fix: clean up testing

* fix: rename step

* fix: add to list of jobs

* fix: remove test with object store

* fix: review comments
2021-07-09 11:38:30 +00:00
Daniel Moran 06b403ca57
build: delete `influx` CLI code, remove it from build (#21797) 2021-07-07 09:29:20 -04:00
Carol (Nichols || Goulding) 3abb4ca12d chore: Add RUST_BACKTRACE=1 to tests in CI
Fixes #1736.
2021-06-23 16:16:47 -04:00
Carol (Nichols || Goulding) 4612afe65d chore: Instead of installing rustup components, print all their versions 2021-06-23 15:28:58 -04: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
Marko Mikulicic 60c1b68644
chore: Store generated rustdoc as circleci artifacts 2021-06-23 00:20:55 +02: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
Cody Shepherd 45f8c66345
chore: enable ingest performance tests for master (#21627)
* chore: enable ingest performance tests (#21624)

* chore: add run script for performance tests

* chore: update circle config to run performance tests

* chore: adjustments to perf test config

* remove 1.8 branch here, as that branch is already configured for perf
  tests
* remove extraneous comments in config and perftest script
* move perftest setup logic out of circle config and into a script
* use a specific ubuntu machine image for circle driver
* omit gzip/gunzip from perf test dataset manipulations

* chore: use r5.2xlarge instance type and put perf test dataset in ramdisk

* chore: fix query logic in nightly aws teardown (#21678)
2021-06-15 10:00:40 -07:00
Daniel Moran 23547fe746
build: make sure go1.16 is installed in machine-executor jobs (#21658) 2021-06-10 14:50:17 -04:00
Daniel Moran 9b02820a0f
build: upgrade to go1.16 (#21642)
* build: bump to go 1.16
* build: go mod tidy & update godeps CI step
2021-06-09 12:59:05 -04:00
pierwill e59b8ea078
fix: verify rustup checksum in CI (#21637)
* chore: bump rust in CI to 1.52.1
2021-06-08 13:32:13 -05:00
Marko Mikulicic 05e35537d8
fix: give xlarge image to perf_image build step 2021-06-07 14:03:55 +02:00
Daniel Moran 2e2552f75f
test: move InfluxQL compatibility suites so they're covered by linting & `go test` (#21611)
* Move InfluxQL tests so they're included in normal `go test`
* Fix `staticcheck` errors
* No parallel runs for influxql
2021-06-04 14:40:42 -04:00
Daniel Moran fd9a08862e
build: speed up CI runtime (#21608)
* Stop using GOCACHE, it only ever grows in size and the upload/download ends up dominating job runtime
* Use RAMdisks in build/test steps where we expect it'll help runtime
2021-06-04 12:31:58 -04:00
Marko Mikulicic c77e57b7dc
feat: Preserve full debug infos in release builds
The `Cargo.toml` file already says:

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

but we were overriding it in the circleci release script to include only line number info,
probably to shave off some time from the total build time.

The ability to debug a production binary outweighs the few seconds or even a minute overhead it takes to
add the debug infos. If building with full debug infos take much much longer, next time we disable them
it would be nice to include such a dramatic fact in the comments next to where we disable debug infos :-)
2021-06-03 15:50:01 +02:00
William Baker 35ce6e6946
build: static image for e2e tests (#21506) 2021-05-19 11:02:07 -04:00
William Baker 4975266e18
build: update circle config to exit from forks on build step (#21458)
* build: update circle config to exit from forks on build step

* build: skip e2e step entirely for forks
2021-05-11 12:31:43 -04:00
William Baker dc72dc3f0c
build: replace local e2e tests with e2e-monitor-ci (#21387)
* feat: update e2e to use monitor-ci

* build: local copy of test script

* build: use stable docker image for e2e

* fix: use a working image for e2e ci job
2021-05-07 14:47:56 -04:00
Raphael Taylor-Davies 10f89a3e8d
refactor: split entry out into separate crate (#1428)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-05-06 11:36:23 +00:00
Marco Neumann 7d2a48eb3b ci: disable incremental compilation
This is to avoid overhead. We are not preserving these files anyway.
2021-05-05 13:30:25 +02:00
William Baker 1550008d09
feat: build docker image for e2e testing (#21344) 2021-04-30 15:54:50 -04:00
Marko Mikulicic 6b42c9a5ea
fix(ci): Push each image into its own tag
Using the git sha as the tag
2021-04-29 17:54:09 +02:00
Marko Mikulicic 756e1b769e
feat: Build a perf_image image for every commit in main 2021-04-28 10:12:34 +02:00
Marco Neumann 91bccdfca3 ci: pass `--document-private-items` to `cargo doc` 2021-04-27 15:42:07 +02:00
kodiakhq[bot] e78a81ee59
Merge branch 'main' into crepererum/ci_doc 2021-04-27 12:03:04 +00:00
Marko Mikulicic a9852c2257
fix: Disable docker layer caching in CI 2021-04-27 13:33:25 +02:00
Marco Neumann 2ee12298ef ci: pass `--no-deps` to `cargo doc`
This should speed things up a bit.
2021-04-27 13:22:28 +02:00
Marco Neumann af031894a6 ci: run `cargo doc` in CI
This will prevent checking in broken docs.
2021-04-27 13:22:26 +02: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
Carol (Nichols || Goulding) ce645262c6 fix: Rename LOCAL env var to INFLUXDB_IOX_INTEGRATION_LOCAL 2021-04-21 14:59:08 +00:00
Carol (Nichols || Goulding) 96afb25d1a test: Run influxd in docker by default for integration tests 2021-04-21 14:59:08 +00:00
Carol (Nichols || Goulding) 63fdab4628 chore: Remove installation of InfluxDB 2.0 OSS from CI job
Because it's now in the Docker image.
2021-04-21 14:59:08 +00:00
Carol (Nichols || Goulding) 9cc5b1950a fix: Regenerate flatbuffers in a Docker container by default 2021-04-21 14:59:08 +00:00
Raphael Taylor-Davies 79e6963d9b
fix: specify stable version (#1267) 2021-04-20 19:29:14 +00:00
Edd Robinson b64a1bca01 chore: update circle runners 2021-04-20 16:17:05 +01:00
Carol (Nichols || Goulding) 56bdd58c2e fix: Make sure rustfmt is installed for the flatbuffer check 2021-04-19 08:51:55 -04: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
Bucky Schwarz a3ddc655b7
chore: remove unused feature flags: communityTemplates, backendExample, frontendExample (#21200) 2021-04-13 14:41:53 -07:00
Carol (Nichols || Goulding) db639881be feat: Always rebuild flatbuffers so CI will fail until someone fixes it 2021-04-09 14:31:18 +00:00
Carol (Nichols || Goulding) 2f2ca866dc chore: Check in CI that generated flatbuffers code has been checked in 2021-04-08 11:19:44 -04:00
Carol (Nichols || Goulding) 07ce5efcb8 chore: Set up CI for running integration tests against InfluxDB 2.0 OSS 2021-04-07 14:11:02 -04:00
Daniel Moran 61d1ee45b3
build: add windows to cross-build (#21109) 2021-03-31 18:52:20 -04:00
William Baker 4237dda205
feat: synchronize ui folder with ui repository (#21090)
* feat: synchronize ui folder with ui repository

* docs: updated README in /ui to reflect new UI asset build process

* chore: update CHANGELOG

* chore: re-worded CHANGELOG message and added trailing newline to fetch_ui_assets.sh script

* fix: leveraged queryBuilder test code from ui repo to fix flaky queryBuilder test on chrome

* docs: added comments to fetch_ui_assets script explaining where the assets come from

* chore: empty commit to trigger CI
2021-03-31 10:55:49 -04:00
Carol (Nichols || Goulding) 9d2fb2ad7f chore: Move regular CI to CircleCI 2021-03-29 12:55:56 -04:00
Daniel Moran 9922863185
fix(tls): Update TLS strict cipher suite to actually work (#20921) 2021-03-16 10:45:27 -04:00
Jonathan A. Sternberg a27b67bdda
feat(ci): run flux integration tests as its own job (#20901) 2021-03-09 12:24:28 -06:00
Daniel Moran e86ee475b2
fix: make AST-based option parsing the default, remove feature flag (#20875) 2021-03-08 09:51:21 -05:00
Raphael Taylor-Davies 96f9395299 feat: smaller IOx build images 2021-02-25 15:05:54 +00:00
Wojciech Kocjan ebd7f4c1e4 chore: use docker image inspect in get-deploy-tags.sh 2021-02-17 09:12:56 +01:00
Daniel Moran 07e62e1cfd
build: remove quay login before grace and litmus tests (#20746) 2021-02-10 15:44:38 -05:00
Daniel Moran ef79d3da04
build: clean up e2e code (#20728) 2021-02-08 17:42:59 -05:00
Daniel Moran b01db56738
build: update naming conventions for nightly builds to prefer hyphens (#20699) 2021-02-05 10:04:24 -05:00
Daniel Moran 1e58293837
build: fix test-result collection for grace_nighty job (#20590) 2021-02-04 12:44:53 -05:00
Daniel Moran 591866beb7
fix(write): drop empty lines from write batches (#20669) 2021-02-02 10:20:59 -05:00
Dom 348aaab6dd ci: trigger image promotion for deployment
Once an image is built and ready, exec the binary defined in the env var
IMAGE_PROMOTION_COMMAND to promote it (if set).
2021-01-22 10:35:10 +00:00
Wojciech Kocjan 2dc5eec3c7 fix: add Images toplevel object to JSON in get-deploy-tags.sh 2021-01-21 13:22:29 +01:00
Wojciech Kocjan 316b8bfec7 chore: add PublishedAt to get-deploy-tags.sh script 2021-01-21 09:25:49 +01:00
Dom b9137d5c6a fix: correct grep placement 2021-01-18 11:28:51 +00:00
Dom c11dba91b1
fix: use correct capitalisation
Co-authored-by: Wojciech Kocjan <wkocjan@influxdata.com>
2021-01-18 11:28:20 +00:00
Dom 56b5751172 fix: filter docker images with specified tag 2021-01-18 11:13:50 +00:00
Dom 3acdc9818f ci: output deployment tags for perf build
Once the perf image build is complete, output the JSON metadata needed
to deploy the container.
2021-01-15 16:02:18 +00:00
Daniel Moran f78bb33ba9
build: add guards against using secrets in forked PR builds (#20506) 2021-01-13 09:39:05 -08:00
Daniel Moran e1d8401160
build: adjust emulator setup and ordering for Docker cross-build (#20503)
* Reduce cache usage across job types (I saw weird errors about files missing from paths in the GOCACHE)
* Split our Dockerfile into multiple stages, with all `RUN` commands in the 1st stage
* Uninstall any system-provided emulators before installing the recommended `binfmt` QEMU
* Move our Docker setup to the front of the cross-build steps
* Build the 1st stage of our Docker immediately after setting up the cross-builder, to fail fast on any issues
2021-01-12 10:41:13 -08:00
Daniel Moran 9493afb46e
build: rewrite our CI/CD pipeline to make ARM64 docker build work (#20484) 2021-01-11 15:01:09 -08:00
Daniel Moran defac1b9d1
build: fix goreleaser setup and release jobs (#20465) 2021-01-07 08:06:12 -08:00
Daniel Moran 52692ba7d4
build: extend goreleaser to produce multi-arch docker builds (#20449) 2021-01-06 16:33:44 -08:00
Daniel Moran 79d349d543
build: fix cache key used by godeps job (#20451) 2021-01-05 15:53:49 -08:00
Daniel Moran ab87c23be6
build(ui): fix report generation & collection for JS tests (#20414) 2020-12-23 13:10:06 -08:00
Daniel Moran 9b8c81c49c
build: clean up our CircleCI configs (#20397)
* Delete unused configs
* Delete unused test steps
* Reorder our main config file to start with top-level pipelines, and to group conceptually-related jobs
* Introduce new jobs to pull dependencies, to reduce duplicated work across test/lint/build steps
* Rename our caches to bust our current huge sizes
* Use unique names for caches per-step, to avoid conflicts
* Fix result collection for JS tests
2020-12-22 12:38:30 -08:00
Daniel Moran 8e24128c5d
build: save cache and artifacts after gotest in CI (#20370) 2020-12-18 10:55:29 -08:00
Daniel Moran b044a676de
build: delete dead promQL transpiler adapter & test suite (#20368) 2020-12-17 13:42:45 -08:00
Daniel Moran e278aa4b76
build: add new CI jobs for InfluxQL test suites (#20358) 2020-12-17 08:34:19 -08:00
Daniel Moran ccbaf4e883
build: add ARM64 support to release (#20260)
* Create Dockerfile for running build & release in CI
* Update CircleCI config to use new Docker image
* Update goreleaser to add a linux ARM64 release
2020-12-10 13:03:45 -05:00
Gershon Shif ead9e17747
chore(build): add grace test runs to daily PR checks (#20210) 2020-11-30 14:46:18 -08:00
Dom 7e1e24ca21 ci: only run CircleCI for /perf branches
Filters the triggered CircleCI workflow to only run against branches with /perf
in their name.

No changes to the scheduled build image generation.
2020-11-27 11:34:56 +00:00
Dom 9c785a3b0f ci: add GitHub actions
Adds a GitHub CI action:

    * Uses the rust-toolchain file to install the requested version.
    * Performs a build with default cargo target
    * Runs workspace tests
    * Checks cargo fmt is happy
    * Runs clippy for lints, denying warnings

All commands taken from the existing CircleCI pipeline.

Currently no caching / reuse of build container.
2020-11-27 11:34:56 +00:00
Dom e93941e487 docs(ci): extra CI documentation
Adds some extra quick-glance docs for the CI flow.
2020-11-26 13:46:07 +00:00
Andrew Lamb 3a9ee88f00
chore: update to latest version of arrow + update code (#486)
* chore: update to latest version of arrow + update code

* chore: Update rust toolchain to match arrow

* fix: clippy
2020-11-25 14:46:35 -05:00
Gershon Shif 4e44331b26
chore(build): build job is now using golang version 1.15 (#20159) 2020-11-23 16:31:11 -08:00
Gershon Shif 5a9124f920
chore: remove lint-feature-flag job from OSS (#20061) 2020-11-16 14:36:37 -08:00
Andrew Lamb 831a0875d6
chore: update to latest arrow + Rust nightly-2020-11-14 (#454)
* chore: update to latest arrow + Rust nightly-2020-11-14

* chore: update ci

* fix: update for clippy lints

* fix: Allow redundant_field_names in generated types crate

* fix: clippy about try_for_each

* fix: clippy uneeded-collect

* fix: clippy about default values

* fix: clippy mathces --> matches!

* fix: clippy sort --> sort_by_key

* fix: clippy about default values again
2020-11-16 11:48:42 -05:00
Andrew Lamb 986436300b
fix: update the branch referece in nightly ci image to main (#438) 2020-11-11 06:40:38 -05:00
Andrew Lamb 0532821ed9
chore: Make the project root neat and tidy (#416)
* chore: move example env file into docs

* chore: move dockerfiles out of root

* chore: move storectl-bench.sh into benches
2020-11-10 10:00:22 -05:00
Andrew Lamb e1b230caab
chore: give executor more memory (#421) 2020-11-06 10:24:47 -05:00
Gershon Shif 89773ba30b
chore: make 2.0 RC builds optional (#19900) 2020-11-04 14:31:37 -08:00
Andrew Lamb c646f29794
feat: Add source checkout and initial build to docker CI image, don't use build cache (#381)
* feat: Add source checkout and initial build to docker CI image

* fix: remove tidbits
2020-10-22 05:50:36 -04:00
Gershon Shif 9bb9b7f8dd
chore: added sign section to goreleaser (#19739)
* chore: added sign section to goreleaser

* chore: update config.yml to be able to import GPG keys
2020-10-14 09:06:37 -07:00
Andrew Lamb 3d7d4111be
fix: Upgrade the resource class used to run CI tests (#332) 2020-10-01 14:56:32 -04:00
Russ Savage df47ec7bb2
chore(circleci): change beta to rc (#19666) 2020-09-29 14:50:44 -07:00
Gershon Shif b93026c101
chore: revert signature changes to goreleaser (#19647)
* Revert "chore(build): packages signing"
   This reverts commit 7de32fcaf0.
* chore: remove arm v5 from being built
2020-09-25 15:01:25 -07:00
Gershon Shif d8a10e5311
chore: update circleci config to use golang:1.15 images (#19624)
* chore: update circleci config to use golang:1.15 images

* fix: Update Go version and use temporary override for Arrow

The Arrow override is to fix race detection problem. Once the
Arrow PR merges, this override can be removed.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2020-09-23 14:07:13 -07:00
Gershon Shif d56066cc9e
chore(build): packages signing (#19619)
- add `signs` section to goreleaser to sigh all of the artifacts
- add importing of the provate key that is needed to sign p ackages
2020-09-23 09:58:08 -07:00
Gershon Shif af0c328095
chore(packaging): build rpm and deb packages (#19567)
- Update CIrcleCI configuration to start release process on an RC build
- Update .goreleaser.yml:
   - Start building armel and armhf binaries and rpm and debian packages.
   - Generate sha256 checksum file.
- launcher.go: do not use `max` module to escape integeroverflow problem for armel and armhf builds
- Start using `v0.142.0` of goreleaser
- Added pre and post install/uninstall scripts for rpm amd deb packages
2020-09-16 12:36:44 -07:00
Stuart Carnie 7964f86ffc
fix: switch port to 8086
fix(readme): update the port and setup
2020-09-03 14:40:29 -07:00
Gershon Shif 087e7f1828
chore: remove algo-w branch from nightly builds (#19480) 2020-09-01 15:59:08 -07:00
Stephanie Engel 12bd9d067f
chore: fix build config for grace nightly tests (#19449) 2020-08-26 16:10:52 -05:00
Stephanie Engel 56ac8b2762
chore: add grace nightly job and build for oss (#19436) 2020-08-25 17:57:54 -05:00
Zoe Steinkamp cc75132525
test: add suite of community template e2e tests (#19271) 2020-08-11 11:31:03 -06:00
Gershon Shif 1e19a3682d
fix: use backslash for line breaker (#19237) 2020-08-06 09:12:39 -07:00
Adrian Thurston b484bfc34f
fix: run apt-get update before any apt-get install commands (#19220)
It's possible that the apt cache on the circle ci system isn't up to date. Call
apt-get update before any installs.
2020-08-05 16:25:56 +03:00
Carol (Nichols || Goulding) 3340c45053 fix: Switch to fusion quay repo for performance builds
Connects to influxdata/fusion#29.
2020-07-22 09:33:42 -04:00
Gavin Cabbage cf52beb24e
fix(ci): add lint-feature-flags to jobs lists (#18940)
* fix(ci): add lint-feature-flags to jobs lists

* fix(ci): remove skip

* fix(ci): do not use cache in lint jobs
2020-07-14 11:09:20 -04:00
Carol (Nichols || Goulding) fc80b463d5 fix: Set ROARING_ARCH to build a portable binary using CRoaring
See https://github.com/saulius/croaring-rs/pull/62
2020-07-08 10:03:02 -04:00
Carol (Nichols || Goulding) 6d87d16754 feat: When a branch ends with /perf, build in release mode and upload to quay 2020-07-03 11:42:33 -04:00
Jonathan A. Sternberg 540d5d3113
fix(release): create static builds for linux amd64 (#18805) 2020-07-01 12:45:54 -05:00
Jonathan A. Sternberg 849927158e
build(flux): update Flux to v0.70.0 (#18783) 2020-06-29 15:39:18 -05:00
karel-rehor 3eac7ec154
chore(nightly_tests): update circle config to use actual acceptance tests (#18599) 2020-06-18 10:17:20 -06:00
Alex Boatwright 238c3ecb47
fix: maybe looking at the correct file will help (#18582) 2020-06-17 13:34:38 -07:00
Paul Hummer 9ab0c88b8e fix: correctly set the path to o64-clang 2020-06-11 16:52:59 -06:00
Paul Hummer cebd303cfb fix: enable osxcross for releases 2020-06-11 15:29:15 -06:00
Paul Hummer 46380e7607 fix: build osxcross in $HOME rather than /opt
Installing `osxcross` to `/opt` requires superuser permissions. This is
built as root in flux, but requires `sudo` for circleCI. Additionally,
there was a problem with `o64-clang` not being on the `PATH` that we
would have discovered the next time we tried to release.
2020-06-11 12:18:42 -06:00
Paul Hummer 500395edb6 fix: add support for macOS cross-compilation
This patch adds support for building macOS binaries via the release
system.
2020-06-09 21:45:13 -06:00
Andrew Lamb 8475b6d183
feat: Add parquet writer, hook up conversion in dstool (#124)
* feat: Add parquet writer, hook up conversion in dstool

* fix: use bigger executor for test

* fix: less cloning

* fix: make unsupported messages less pejorative

* fix: fmt

* fix: Rename writer and do not require std::File, add example

* fix: clippy and fmt

* fix: remove unnecessary module in end to end tests

* fix: remove strange use of tempfile

* fix: Apply suggestions from code review

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

* fix: Apply suggestions from code review

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

* fix: cleanup use

* fix: Use more specific error messages

* fix: comment tweak

* fix: touchup temp path creation

* fix: clippy!

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2020-06-08 16:25:24 -04:00
Andrew Lamb 2200def8ea
feat: Use rust nightly (#123) 2020-06-05 17:45:44 -04:00
Andrew Lamb 18b05ce9ef
fix: move test of dstool to its delorean_storage_tool package (#107) 2020-06-02 16:10:30 -04:00
AJ Bond 86949a6fc1
fix(circleci): remove nightly install tools 2020-06-02 10:14:10 -04:00
AJ Bond 5aafbf1977
chore(build): setup nightly ci image build
We can reduce the number of install steps by using a custom container. This container will build nightly and publish to Quay
2020-06-02 10:00:17 -04:00
Andrew Lamb 1a2efdfd71
feat: Add dstool command line tool (#102)
* feat: Add dstool command line tool

* clippy

* Update delorean_storage_tool/src/main.rs

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

* Update delorean_storage_tool/src/main.rs

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

* Add in tests + PR comments

* fmt

* build first then run tests

* actually build before test

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2020-06-02 07:33:43 -04:00
Jonathan A. Sternberg 4eb53314e1
fix(release): make the release build work properly with libflux (#18273) 2020-05-29 10:02:56 -05:00
jlapacik 34e581ca0a Merge branch 'master' into chore/merge-master 2020-05-12 11:18:25 -07:00
Jake Goulding 0ea0cf6a93 ci: install the Flatbuffers compiler 2020-05-11 15:38:47 -04:00
Ariel Salem c6b2fc5d2c
feat(custom-tz): added the ability to set UTC as the timezone when making custom time range queries (#18011) 2020-05-11 09:15:48 -07:00
Jake Goulding 083ec01d0b ci: No longer need to limit parallelism due to RocksDB 2020-05-08 10:29:48 -04:00
Ariel Salem 20054d1d0c
Revert "feat(custom-timerange-tz): timeZone dropdown is now integrated in setting custom time ranges for queries (#17992)" (#18008)
This reverts commit 97c15012a1.
2020-05-07 15:04:24 -07:00
Ariel Salem 97c15012a1
feat(custom-timerange-tz): timeZone dropdown is now integrated in setting custom time ranges for queries (#17992) 2020-05-07 14:39:39 -07:00
jlapacik 2ef9999907 Merge branch 'master' into chore/merge-master 2020-04-30 09:53:04 -07:00
Gavin Cabbage 95913534a0
feat(kit/feature): add feature flag package (#17851)
* feat(kit/feature): add feature flag package

* refactor(kit/feature/_codegen): simplify with fmt.Errorf

* chore(kit/feature): tidy comments
2020-04-30 11:29:43 -04:00
Carol (Nichols || Goulding) 05c7d5949a test: CI commands need some more flags now that we're a workspace 2020-04-27 09:42:53 -04:00
jlapacik 63fd3655be Merge branch 'master' into chore/merge-master-into-algo-w 2020-04-22 14:52:59 -07:00
Gershon Shif fd76f14209
chore(build): start running nightly builds 2hour earlier (#17818)
It was a request from boonito QA to start running nightly builds 2 hours earlier, instead of 7am UTC to start running nightly builds at 5am UTC (10pm PDT) to give them time to debug test failures.
2020-04-21 10:40:17 -07:00
jlapacik 9857ae17aa feat: release a nightly image of algow 2020-04-16 15:33:11 -07:00
Jonathan A. Sternberg 469c5849c4
Merge branch 'master' into feat/use-algo-w 2020-04-03 09:30:04 -05:00
Gershon Shif 633b588b1b
chore(litmus): start influxd on local machine (#17347) 2020-03-18 16:48:54 -07:00
Gershon Shif 4928259411
chore: added INFLUXPATH parameter required by backup and restore tests (#17306) 2020-03-16 20:12:38 -07:00
Gershon Shif fb300a1182
chore(litmus): run integration tests on master: (#17292)
* chore(litmus): run integration tests on master:
- aafter successful E2E run after master build, run integration tests
	modified:   .circleci/config.yml
	modified:   etc/litmus_fail_notify.sh
	modified:   etc/litmus_success_notify.sh

* chore(litmus): litmus_integration run should depend on litmus_daily test run
	modified:   .circleci/config.yml
2020-03-16 13:41:13 -07:00
Jonathan A. Sternberg 0d6e4e310b
Merge branch 'master' into feat/use-algo-w 2020-03-06 16:46:49 -06:00
karel-rehor b2a0839a14
chore: update circleci nightly-sel image chrome version (#17058)
* chore: update circleci nightly-sel image chrome version

* chore: update node image to node:lts-stretch-browsers
2020-03-04 09:51:39 +01:00
Alex Boatwright 31cfbde380
feat: upgrading lsp to 0.3.0 (#17043) 2020-03-02 09:38:30 -08:00
Jonathan A. Sternberg 25b0e37522
feat: add support for pkg-config (#17036)
This adds support for using pkg-config to build libflux inside of the
flux dependency. The build can occur by either installing `pkg-config`
into your path or the `env` script can be used to invoke it from the go
modules.
2020-02-28 11:08:21 -06:00
Chris Goller 4f2076acf6
build: run e2e tests hourly (#16228)
Signed-off-by: Chris Goller <goller@gmail.com>
2020-02-26 15:03:43 -06:00
Christopher M. Wolff 16fc8dfecd
build: remove -tags libflux and FLUX_PARSER_TYPE from build and circleci config (#16883)
Also, update to latest algo-w flux
2020-02-19 07:59:05 -08:00
Carol (Nichols || Goulding) f81c8764d0 improvement: Fail the build on warnings too 2020-02-19 08:37:11 -05:00
Carol (Nichols || Goulding) e03b3e9326 fix: Run Clippy on test targets too by using --all-targets instead
It's confusing that `cargo fmt` takes `--all` to format everything but
`cargo clippy` takes `--all-targets` :-/
2020-02-19 08:37:11 -05:00
Edd Robinson 0b3c412cfc chore: make clippy required CI step 2020-02-14 18:27:53 +00:00
Jake Goulding fd76a7394c ci: Enforce standard formatting 2020-02-14 08:02:24 -05:00
Jake Goulding d8f3c31b8c ci: Prevent rustfmt and clippy from stopping the build for now 2020-02-09 22:23:27 -05:00
Jake Goulding 81468f9e5e ci: Adjust builds to run on highly parallel CI machines
By default, the RocksDB C library is compiled using the number of
cores on the machine. In CircleCI, this is 36 cores. Unfortunately,
that appears to completely blow out the memory usage, causing the C
compiler invocations to be killed.

This commit reduces the *entire* parallelism of the build to avoid
that.
2020-02-09 22:22:10 -05:00
AJ Bond 7a65f5550f
chore(circleci): add tiered cache configuration 2020-02-07 12:25:32 -05:00
AJ Bond c2de967e36
chore(circleci): setup circleci
This configures a circleci pipeline that runs fmt, lint, test, and build operations.
I changed the fmt command to --check since --overwrite is no longer supported.
The pipeline will always run on nightly builds of rust.
2020-02-07 11:46:47 -05:00
Alex Boatwright 6611aae63f
fix: enabling prettier (#16593) 2020-01-17 13:41:15 -08:00
Russ Savage 3a84d5011f
chore(README): updates for beta (#16364)
* feat(docs): updates for beta

* fix(readme): addressing pr feedback

* chore(readme): addressing feedback from paul
2020-01-08 10:35:58 -08:00
j. Emrys Landivar (docmerlin) 026cff4bf9 chore: update to go 1.13 2020-01-07 16:42:06 -06:00
Chris Goller 4755e50af8
ci: run go race tests in parallel over 8 containers (#16288)
* ci: run go race tests in parallel over 8 containers

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: add timing hint for splitting go tests

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: remove spurious grep

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: mod=readonly should ignore unknown internal/promqltests path

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: echo the packages tested

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: remove readonly experiment

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: filter promql internal tests

The promql internal tests has a special go.mod that shows
up in go list.  That directory cannot be tested.

Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 23:47:26 -06:00
Chris Goller a942924cbb
ci: split go and js linting into separate circleci jobs (#16282)
* build: split go linting from tests

Signed-off-by: Chris Goller <goller@gmail.com>

* build: split js linting from tests

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: run go tests without verbose option

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: parallelize eslint with 8 containers

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cache node modules for eslint

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: lint circle yaml

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cd into ui directory for node caching

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: note eslint parallelization

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: update yarn cache directory to global

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cache jstest yarn downloads

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: note parallelization of jest tests

Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 16:57:08 -06:00
Chris Goller fe0aea0542
build: add circleci target to restrict max jest workers
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 13:18:03 -06:00
Chris Goller e4a6180309
build: split the jest test to run in parallel
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 12:03:52 -06:00
Yiqun Zhang 1c327904c9 fix: run gotest with libflux tag and cgo ldflags 2019-12-16 10:13:40 -05:00
Yiqun Zhang 4ea8d01a23 fix: test baseline to use rust parser! 2019-12-13 11:51:49 -05:00
Yiqun Zhang 549e3c9eb3 build: using libflux in OSS 2019-12-13 10:43:15 -05:00
karel-rehor 7f964b833d
test: add selenium acceptance tests to nightly build - Bonitoo/selenium nightly (#15795)
* add selenium acceptance tests to circleci

* remove selenium workflow

* rename artefacts to artifacts

* rename artefacts to artifacts in pipeline too

* remove sleep and add endpoint check
2019-11-12 13:55:17 +01:00
Julius Volz e4558257e3 test(query): add PromQL end-to-end tests in go submodule
Signed-off-by: Lorenzo Affetti <lorenzo.affetti@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>

move to internal

update flux to v0.50

Revert "move to internal"

This reverts commit bcd4caffbd44135f1dbeac4163cb2a22a751f45a.

promtests/internal --> internal/promtests
2019-10-28 18:59:50 +01:00
docmerlin (j. Emrys Landivar) 19fe098888 chore(ci): update go-tools 2019-08-22 10:55:05 -05:00
Russ Savage 4172dfd09e
fix(circleci): add protoc to release build (#14658) 2019-08-14 12:24:27 -07:00
Andrew Watkins 7d9ec64eec
build(client): generate client on each build (#14591)
* chore: add new types for NotiicationRules

* build(client): remove client and build each build

* chore: update gitignore to exclude generated client

* fix: allow client dir to be empty

* docs: add README to client dir

* fix(build): add autogen client to eslintignore

* build: gen client for ci js tests
2019-08-07 13:42:35 -07:00
Chris Goller d3821e12dd
ci(nightly): install protoc (#14486) 2019-07-26 16:21:14 -05:00
Russ Savage b28fb15598
add bzr to release build (#14474) 2019-07-25 16:46:15 -07:00
Christopher Wolff 42db95f359 test(circleci): install bzr before building and running e2e tests 2019-07-24 14:49:57 -07:00
Christopher Wolff 035739b5b7 test(circleci): install bzr before running go tests 2019-07-24 14:33:34 -07:00