docs-v2/.github
Jason Stirnaman a32b566887
test(influxdb3): Improve InfluxDB 3 Core and Enterprise Docker services (#6750)
* test(influxdb3): Improve InfluxDB 3 Core and Enterprise Docker services

Improve Docker Compose services and initialization script for testing InfluxDB 3 Core and Enterprise endpoints.

compose.yaml changes:
- Add influxdb3-core service with per-worktree data isolation
- Add influxdb3-core-noauth service for endpoint testing without auth
- Add influxdb3-enterprise service with trial license configuration
- Fix env_file handling (use optional path, remove variable override)
- Add detailed usage comments for each service

New files:
- test/scripts/init-influxdb3.sh: Helper script to initialize services,
  create directories, and validate configuration

- Enterprise configuration uses shared data at ~/influxdata-docs/.influxdb3/
to persist license and data across worktrees.

- .claude/skills/influxdb3-test-setup/SKILL.md. It covers:

  1. Architecture overview - Shows the directory structure for shared vs per-worktree data
  2. Quick reference - Common commands table
  3. Setup workflows - Core only, Enterprise only, or both
  4. Worktree-specific databases - How to create isolated databases named after the worktree
  5. Test environment configuration - Setting up .env.test files for code block tests
  6. Troubleshooting - Common issues (license, auth, ports)
  7. Service comparison - Core vs Enterprise differences

  The skill references the init script but keeps database creation as a separate workflow step, allowing flexibility for different testing scenarios.

* docs(copilot): Document influxdb3-test-setup skill in Copilot instructions (#6751)

* Initial plan

* docs(copilot): Add influxdb3-test-setup skill documentation to instructions

- Add InfluxDB 3 Test Setup subsection under Testing section with quick reference commands
- Add Skills section under Specialized Instructions with all available skills
- Document influxdb3-test-setup skill alongside existing skills (cypress-e2e-testing, docs-cli-workflow, hugo-template-dev)
- Include links to skill files and brief descriptions for discoverability

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* chore(ci): Refactor InfluxDB 3 token handling to use JSON secrets

- Store Core and Enterprise tokens as JSON files with metadata
- Update SKILL.md instructions for jq-based token extraction
- Use Docker secrets for secure token mounting in compose.yaml
- Update init-influxdb3.sh to generate JSON token files
- Refactor compose.yaml to mount token files as secrets, not binds
- Standardize API examples and environment setup for new token format

* docs(influxdb3): Update token documentation for Docker Compose and CI/CD (#6756)

- Add 'description' field to offline admin token schema alongside 'expiry_millis'
- Add new section for Docker Compose with preconfigured admin tokens
- Document Docker secrets for secure token management
- Add CI/CD setup instructions using environment variables
- Standardize on INFLUXDB3_AUTH_TOKEN environment variable

Both 'description' and 'expiry_millis' are optional fields supported
by the InfluxDB 3 server when reading preconfigured token files.

* Revert "docs(influxdb3): Update token documentation for Docker Compose and CI…" (#6757)

This reverts commit 5c786ac2fd.

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-01-20 17:17:36 -06:00
..
ISSUE_TEMPLATE Automate plugin documentation sync workflow between influxdb3_plugins and docs-v2 (#6329) 2025-10-20 17:18:34 -05:00
actions/setup-docs-env chore(ci): Add config for new link validation tool (docs-tooling/link-checker) 2025-08-16 22:14:27 -05:00
agents feat(influxdb): Version detector shortcode triggers a modal 2025-09-30 19:01:21 -05:00
instructions fix(cli): Make docs edit non-blocking and reorganize CLI code (#6721) 2026-01-13 21:47:09 -06:00
pull_request_template docs(enterprise): add v1.12.2 release notes 2025-09-12 16:54:45 -05:00
scripts dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
workflows fix(shortcodes): latest-patch CLI version for cloud-serverless (#6655) 2026-01-02 12:47:12 -06:00
CODEOWNERS chore(repo): add CODEOWNERS file for automated review assignments (#6752) 2026-01-20 12:22:22 -06:00
INSTRUCTIONS.md Configure GitHub Copilot instructions and navigation system (#6628) 2025-12-15 12:43:34 -06:00
ISSUE_TEMPLATE.md updated note in issue template 2019-10-07 12:59:09 -06:00
PREVIEW_SETUP.md feat(ci): add PR preview system for GitHub Pages (#6636) 2025-12-18 13:44:14 -06:00
PULL_REQUEST_TEMPLATE.md chore(instructions): restructure contributing instructions for humans and assistants 2025-10-08 15:48:44 -05:00
SECURITY.md added license and issue template, moved security.md 2019-10-07 10:27:36 -06:00
copilot-instructions.md test(influxdb3): Improve InfluxDB 3 Core and Enterprise Docker services (#6750) 2026-01-20 17:17:36 -06:00