Commit Graph

8 Commits (clustered/scaling)

Author SHA1 Message Date
Jason Stirnaman 838d615692 chore(ci): Update migrate guide for testing. Monitor for URLs that the container tries to open in a browser and then open them in the host. 2024-07-03 17:09:49 -05:00
Jason Stirnaman 4e601710b1 chore(ci): Adjusts Unix timestamps (line protocol) and query time bounds for testing
- Adjusts times for writing and querying data within a recent retention period.
- Adjusts Unix timestamps (in line protocol samples) to yesterday's date.
- Adjusts UTC time bounds (in queries) to today and yesterday.
- Reverts mistakenly changed timestamps in clustered.
2024-07-03 17:09:49 -05:00
Jason Stirnaman bb64ca32bb fix(v3): duplicate word, test updates 2024-07-03 17:09:49 -05:00
Jason Stirnaman 8f0e583cdc fix(clustered): Clustered Telegraf config and example:
- Mount a volume to store test project files generated in tests.
- Allow URL and `url` in the linter
- Set timestamp precision for Telegraf example
- Fix Telegraf test, use Python to edit the TOML config file
2024-07-03 17:09:49 -05:00
Jason Stirnaman 75f3e996b3 chore(v3): Improve linting, test influxctl:
- Remove date format linting in table cells. Copies Google's DateFormat style config to InfluxDataDocs style with modified scope.
- Update styles (vale sync)
- Skip database create in tests.
- Add example test for table create.
- Fix linting errors.
- Add TEST_RUN placeholder replacement in prepare-content.sh.
2024-07-03 17:09:49 -05:00
Jason Stirnaman 9c035fbd4d fix(ci): Simplify Vale terms list, support OAuth browser flow in tests
- For influxctl OAuth flow, add support for writing auth URLs to a container-shared file monitored by the host during the pre-commit hook.
- In prepare-content.sh, add Management API-associated placeholder substitutions.
- Update CONTRIBUTING.md with env.test requirements.
2024-07-03 17:09:49 -05:00
Jason Stirnaman ea9b786b83 fix(ci): test content:
- Add python replacement for get-started database/bucket name
- Fixes race condition when deleting previous content:
  - Assign each product it's own test content volume instead of sharing a volume.
  - Delete existing content in the volume before copying test files.
  - Pros and cons, but I suspect a similar approach will be better when ported to Circle CI.
2024-06-26 10:26:52 -05:00
Jason Stirnaman 5c74f013a1 chore(ci): Improve CI lint and test runners
- Reconfigures prettier linting.
- Adds .editorconfig to help with consistent editor settings
- Refactors test runs:
  - Removes test configuration from compose.yaml (not suited for this use case).
  - Splits test runner into test content setup and pytest that can be run separately or together (and with other test runners in the future).
  - Configuration is in Dockerfiles and command line (`.lintstagedrc.mjs`)
- Updates CONTRIBUTING.md
- Updates client library write examples in cloud-dedicated and clustered.
2024-06-21 18:41:07 -05:00