Prove the command locally first
Before moving the workflow into CI, start one adapter interactively and verify its target effect. The bounded example uses S3 backed by Google Cloud Storage:1
Install or update the Tensor9 CLI
Install the customer CLI with Homebrew, then confirm the binary is available:If
tensor9 is already installed, run brew upgrade tensor9 instead of the install command.2
Authenticate with Tensor9
A Tensor9 API key is required. Use the key issued during onboarding, or email [email protected] to request one for your organization. Do not share your account or key with another customer or organization.If your secret manager has already supplied Check that the variable is set without printing it, then verify your Tensor9 identity:Confirm that the reported identity belongs to the intended customer account. Do not continue if authentication fails or the account is wrong. Keep shell tracing disabled while using the key. Do not paste the key into commands, shell profiles, source files, screenshots or support messages.See Install and Authenticate for the planned license lifecycle, entitlements and credential boundaries.
T9_API_KEY, skip the prompt. Otherwise, enter your key at a hidden prompt in the terminal where you will run tensor9:- Bash
- Zsh
3
Inspect the S3 to Google Cloud Storage mapping
Ask Tensor9 to describe the exact directed service mapping used by this guide:Read the supported S3 operations and Google Cloud Storage limitations before starting the process. The mapping is directional: this command describes S3 requests adapted to Google Cloud Storage, not the reverse direction.
4
Prepare Google Cloud access
Authenticate with Google Cloud using its standard Application Default Credentials chain. The adapter uses that identity when it calls Google Cloud Storage.Use a dedicated test project and narrowly scoped credentials. Do not put credentials in the command line, source code, or screenshots.
5
Start the S3 service adapter
Run the S3 to Google Cloud Storage adapter as a foreground process:Leave this terminal open. This is the current foreground launcher, not the pending Docker launcher for local development mode. It calls your actual target-cloud services; it is separate from the in-memory emulator. Acquisition and license renewal require Tensor9 authentication. Keep the endpoint local to your test.
6
Copy the listening endpoint
When the command reports its listening endpoint, copy that exact value into a second terminal:Keep the endpoint local to the test unless you have deliberately configured network access and authentication for another machine.
7
Run one bounded S3 request
Continue with this page’s client or tool instructions. Point only S3 at
T9_CLOUD_ADAPTER_ENDPOINT, then perform one operation whose Google Cloud Storage effect you can verify independently.Check both sides: read the S3-shaped response and inspect the native object or bucket in Google Cloud Storage. A successful client response alone does not prove that the target state is correct.8
Stop the local adapter
Return to the first terminal and press Control-C. Confirm the process exits before deleting the test object or bucket with Google Cloud’s native client.If the request failed, preserve the request ID, adapter endpoint, S3 operation name, Google Cloud request ID, and any
x-t9-explain-* receipt headers before stopping the process.Pipeline contract
Define these inputs before writing YAML:
Target runtime credentials belong to Cloud Adapter. Do not copy them into the build system.
Store
T9_API_KEY in the CI provider’s encrypted secret store and inject it only into jobs that run authenticated tensor9 commands. Do not put its value in workflow YAML, print it, or pass it as a command-line option. A request-only smoke test against an already running adapter does not need the key unless the job also invokes Tensor9 tooling.
Recommended stages
- Validate: pin and print non-secret tool versions; validate configuration offline.
- Read-only smoke test: prove DNS, TLS, authentication, adapter routing, and one covered read.
- Preview: produce a plan or preview artifact for review.
- Approval: require a human or policy gate before mutation in shared environments.
- Apply: create one uniquely named resource with bounded timeouts and concurrency.
- Verify: check both the origin-shaped response and native target state.
- Expected failure: exercise one not-found or validation path and retain request identifiers.
- Cleanup: remove only resources carrying the run’s unique namespace.
- Publish evidence: versions, redacted configuration, request IDs, verification result, and cleanup result.
Example authenticated entitlement-check job
Before running a
tensor9 command, install the CLI, set T9_API_KEY, and verify your customer account. Online commands are authenticated and their adapter detail is limited to mappings your account is entitled to use.Example request-only smoke-test job
AWS_ENDPOINT_URL_S3 routes only S3 clients in the job to Cloud Adapter; it does not redirect other AWS services. Add a target-native, read-only verification step from the matching route quickstart before cleanup when the pipeline has a target verification identity. Use the CI system’s workload identity or secret store for origin credentials. Never echo environment variables or enable shell tracing around credential and signed-request setup.
Retry and concurrency rules
- Bound automatic retries. A timed-out mutation may already have reached the target.
- Serialize tests that share a fixed resource name.
- Prefer a unique prefix per run and exact cleanup over broad bucket deletion.
- Make cleanup idempotent and run it after partial failure.
- Keep verification read-only and independent from the origin client when possible.