Commit Graph

39 Commits (ac350884d72e943a585100fb81c588c2c1a228a3)

Author SHA1 Message Date
Brandon Pfeifer e484c4d871
chore: upgrade Go to v1.19.3 (1.x) (#23941)
* chore: upgrade Go to 1.19.3

This re-runs ./generate.sh and ./checkfmt.sh to format and update
source code (this is primarily responsible for the huge diff.)

* fix: update tests to reflect sorting algorithm change
2022-11-28 12:15:47 -05:00
Brandon Pfeifer 5976e41d54
feat: upgrade flux to v0.188.0 (#23911)
* feat: upgrade flux to 0.171.0

Tests failing, safety commit

First step in https://github.com/influxdata/influxdb/issues/23815

* fix: remove "org" parameter" from writeOptSource

I attempted to implement the "orgOpt" argument in a similar fashion
to f6669f7512. However, it looks like Flux doesn't accept "org" as
a parameter to "load". It responds with:

Error calling function \"load\" @113:16-113:30: error calling function \"to\" @6:19-6:47: unused arguments [org]

This brings us from 194 passing to 570 passing.

* fix: temporarily disable broken flux tests

These tests expect rows to be stored in a certain order. However,
nothing is specifying the sort order. This has been fixed in a
later update to flux: (see 3d6f47ded).

Temporarily disable these tests until we include a fixed
version of the flux tests.

* chore: add tests from a492993012

This fixes "test-flux.sh" so it runs tests within the "flux/"
directory. This uncovered some other issues with the tests
located within "flux/". These also needed to be updated
to match the newer flux API.

* feat: upgrade flux to 0.172.0

This includes changes made in "cbbf4b27da". Since "test.go" in 2.x
diverged from 1.x, some modifications were required to make this
compatible.

* feat: upgrade flux to 0.173.0

* feat: upgrade flux to v0.174.0

* fix: Update the condition when reseting cursor (#23522)

Filters that contain `or` may change between cursor resets so we must remember to update the condition in the read cursor.

```flux
|> filter(fn: (r) => ((r["_field"] == "field1" and r["_value"]==true) or (r["_field"] == "field2" and r["_value"] == false)))
```

Closes https://github.com/influxdata/flux/issues/4804

* feat: upgrade flux to 0.174.1

* feat: upgrade flux to 0.175.0

* chore: remove end-to-end tests

These were removed in a492993 for 2.x. These tests prevent "go test ./..."
from completing. As stated in the original commit, these tests should now be
handled by the "fluxtest" harness.

* feat: upgrade flux to 0.176.0

Some tests needed to be disabled within the flux harness. This is a
result of enabling "Optimize Aggregate Window" in flux@05a1065f.
These tests are not present in 2.x. Therefore, I am unsure if
the breakage is resolved in a later commit.

* feat: upgrade flux to 0.177.0

* feat: upgrade flux to 0.178.0

* feat: upgrade flux to v0.179.0

This removes all invocations of "flux.RegisterOpSpec". According
to flux@e39096d5, "flux.RegisterOpSpec" does nothing in the
current version of flux and was removed.

* chore: update fluxtest skip list (#23633)

* chore: manually backport 785a465e9a

This removes the reference to "flux.Spec".

* build(flux): update flux to v0.181.0 (#23682)

* build(flux): update flux to v0.184.2

* chore: skip more Flux acceptance tests

There are issues for each skip detailed in test-flux.sh.

* feat: upgrade flux to v0.185.0

This adds "FluxTesting" to the "HTTPD" configuration. This option is
hidden and disabled by default. When "FluxTesting" is set, it
enables the default testing flags for "Flux".

These flags allow the "vectorized float tests" and tests requiring
the "removeRedundantSortNodes" and "labelPolymorphism" flag
enabled to work. These changes are based off of d8553c002e.

flux@3d6f47ded is included within this version of Flux. Therefore
we can now include the "group_*" tests.

* feat: upgrade flux to 0.186.0

* feat: upgrade flux to 0.187.0

* feat: upgrade flux to 0.188.0

* fix: re-run ./generate.sh with updated protoc

* fix: restrict cores to match CircleCI documentation

Co-authored-by: davidby-influx <dbyrne@influxdata.com>
Co-authored-by: Markus Westerlind <marwes91@gmail.com>
Co-authored-by: Sean Brickley <sean@wabr.io>
Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com>
Co-authored-by: Christopher M. Wolff <chris.wolff@influxdata.com>
2022-11-15 15:20:27 -05:00
Jamie Strandboge d31e74c07c
chore: upgrade to Go 1.18.7 (#23821) 2022-10-18 14:30:47 -05:00
Brandon Pfeifer 1253ff8fea
chore: update to use scheduled pipeline (1.x) (#23808)
* chore: update to use scheduled pipeline

* chore: add documentation to scheduled pipelines
2022-10-18 12:21:09 -04:00
Brandon Pfeifer 03ad3443ab
chore: upgrade to Go 1.18.6 (#23745) 2022-09-26 10:10:27 -04:00
Brandon Pfeifer a52893479e
feat: enable static-pie builds (1.x) (#23642)
* feat: enable static pie builds

* fix: update cross-builder to fix 'rdynamic'
2022-08-19 12:34:59 -04:00
Brandon Pfeifer 787a168f32
chore: use 1.x signing key (#23611) 2022-08-10 13:10:52 -04:00
Brandon Pfeifer 1ed48ae699
feat: upgrade musl to 1.2.3 (#23603) 2022-08-02 12:32:03 -04:00
Brandon Pfeifer 771e3647ee
build: upgrade to Go 1.18.4 (#23568) 2022-07-20 12:18:36 -04:00
Brandon Pfeifer b4908528a8
chore: Publish Packages and CHANGELOG.md to S3 (1.x) (#23549)
* chore: split workflow into "release" and "snapshot"

* feat: sign release packages

* feat: publish changelog to S3

* feat: publish packages to S3
2022-07-14 15:17:26 -04:00
Brandon Pfeifer a33493531e
feat: use new changelogger (#23511)
This also regenerates CHANGELOG_frozen.md (from version 1.8.0 - 1.9.7)
so that it is compatible with the new changelogger.
2022-07-01 12:24:54 -04:00
Dane Strandboge c44ec5974d
build: upgrade to Go 1.18.3 (#23408) 2022-06-07 13:09:04 -05:00
Brandon Pfeifer 522c32754c
build: update changelogger to ignore case when parsing verbs (#23368) 2022-05-24 16:07:57 -04:00
Dane Strandboge 753f503424
build: upgrade to latest crossbuilder (#23273)
- Upgrades Go 1.18 -> 1.18.1
- Upgrades Rust 1.53 -> 1.58.1
- Fixes an issue with OSXCross and Darwin builds. This results in the new minimum OSX version being `MacOSX10.14`/`darwin18`
2022-04-13 14:48:07 -05:00
Dane Strandboge 1d268cf9c3
build: bump xbuilder for parity with enterprise (#23254) 2022-04-04 16:04:10 -05:00
Dane Strandboge 0574163566
build: upgrade to go1.18 (#23250) 2022-03-31 16:17:57 -05:00
Brandon Pfeifer e9f44a401a
build: allow circleci to build 1.x packages (#23104)
* build: enable version 1.x builds in circleci (#23087)

* wip: oss build first try

* build: remove unused release-engineering files

* build: update alpine and fpm versions

* build: remove static package builds

* fix: allow for ubuntu and centos package builds

* fix(build): supply INFLUXDB_VERSION to go and package buildsystems

rebaseme

* build: test debian and rpm packages

Co-authored-by: Sam Arnold <sarnold@influxdata.com>

* fix: resolve quoting issues in go build

* fix: rework version detection for circleci builds

Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2022-02-07 12:15:05 -05:00
Sam Arnold d2da5c5088
build: use latest build container (#23057) 2022-01-13 10:05:53 -05:00
J. Emrys Landivar 004438e91f
build: bigger stack for musl builds (#23043) 2022-01-07 12:33:12 -06:00
davidby-influx 08a4a710eb
chore: upgrade Go to 1.17 (#22921)
* chore: upgrade Go to 1.17

* fix: update circleci container to go1.17

* fix: correct unsafe conversion of []byte to string

Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-11-24 12:47:26 -05:00
Sam Arnold d4fd1cb4ca
chore: update changelog container (#22834) 2021-11-10 11:12:58 -05:00
Sam Arnold 1b03f7ec35
chore: don't load approximate cache before saving new version (#22827) 2021-11-05 11:51:12 -04:00
Sam Arnold 312a3a7a69
chore: finalize changelog automation (#22770) 2021-10-27 08:35:32 -04:00
Sam Arnold d9bf99d493
chore: usage newer container for changelogger (#22761) 2021-10-26 11:49:11 -04:00
Sam Arnold 5f07c101ba
chore: fix frozen changelog path (#22760) 2021-10-26 11:01:15 -04:00
Sam Arnold 19f7fccebe
chore: temporarily enable changelog on merge to master-1.x (#22759)
* chore: temporarily enable changelog on merge to master-1.x

* fix: changelog generation improvement
2021-10-26 10:46:10 -04:00
Sam Arnold 0c0c8de001
chore: changelog automation (#22758) 2021-10-26 09:52:11 -04:00
Sam Arnold 3a739948a6
fix: test runner uses gotestsum for better junit test capture (#22698) 2021-10-20 08:59:31 -04:00
Dane Strandboge 8b38d0e2bf
build: upgrade protobuf library (#22606) 2021-10-15 11:42:47 -05:00
Sam Arnold 6b80ab1f77
build: update cross build container (#22333) 2021-09-22 07:26:37 -04:00
Cody Shepherd 380dade9b3
build: automate changelog (#22522) 2021-09-21 08:30:50 -07:00
Sam Arnold 38de69cc1c
fix: flux error properly read by cloud (#22348) 2021-08-31 17:43:12 -04:00
Sam Arnold 27e5f9709e
build: update circle jobs to use cross build container (#22286)
* build: update circle jobs to use cross build container

* build: fixes for review comments
2021-08-24 12:53:31 -04:00
Cody Shepherd bc09757284
chore: remove changelog job in circle config (#21162) 2021-04-09 07:09:33 -07:00
Cody Shepherd 56e91faf31
chore: Improve circle automation structure in prep for moving out of Jenkins (#21132)
* chore: Add workflow structure and pre-release actions to circle config

* chore: Update dockerfiles to use latest ubuntu LTS and python3 packages
2021-04-05 14:02:50 -07:00
Daniel Moran fbfd4b4651
test: add fluxtest harness (#21074)
* test: add script to run flux tests
* feat(flux): enable test capabilities in Flux controller
* feat(flux): add MergeFiltersRule
* build: bump existing Dockerfiles to go 1.15
* build: add flux tests to CI
* refactor: allow for overriding tcp.Mux logger
* build: upgrade to Flux v0.111.0
2021-03-30 11:18:18 -04:00
Sam Arnold d1a5c06596
chore: Upgrade to go1.15.10 and flux 0.108.1 (#21015) 2021-03-22 14:11:53 -04:00
Sam Arnold 7210fa6355
chore: Upgrade 1.x to the latest flux (#20767)
* chore: Update flux to 0.67

* chore: Builds against 0.68 flux

* chore: Builds against 0.80.0

* chore: Builds against 0.90.0

* chore: Everything builds on latest flux

* chore: goimports fixed

* chore: fix tests locally

* chore: fix CI dockerfiles

* chore: clean up some unused code

* chore: remove flux repl and Spec in flux query json

* chore: port flux end to end tests from 2.x

* chore: fix up goimports

* chore: remove 32 bit build support
2021-03-03 16:24:49 -05:00
Jacob Marble 321ae4ff04
update CircleCI config to 2.0 syntax (#9711)
* enable flaky test, see if CircleCI fails

* Use CircleCI 2.0 with docker layer caching

* update CONTRIBUTING
2018-04-16 12:00:44 -07:00