Commit Graph

221 Commits (8ed55e72b85b0807c97d3d1d7d12e9f07c9737e9)

Author SHA1 Message Date
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
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
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
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
Daniel Moran 5d84c602c8
build: upgrade staticcheck, fix new linter warnings (#21957) 2021-07-27 20:37:23 -04: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
Daniel Moran 06b403ca57
build: delete `influx` CLI code, remove it from build (#21797) 2021-07-07 09:29:20 -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
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
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
William Baker 1550008d09
feat: build docker image for e2e testing (#21344) 2021-04-30 15:54:50 -04:00
Bucky Schwarz a3ddc655b7
chore: remove unused feature flags: communityTemplates, backendExample, frontendExample (#21200) 2021-04-13 14:41:53 -07: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
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
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
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
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
Gershon Shif 89773ba30b
chore: make 2.0 RC builds optional (#19900) 2020-11-04 14:31:37 -08: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
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
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
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
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
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
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
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
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