From 6555e93a1496fb6a5ce6cc36102d16a91d6d02d4 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 21:30:59 +0000 Subject: [PATCH 1/2] fix: remove all references to Ctrlplane Cloud Ctrlplane is self-hosted only; the managed cloud offering at app.ctrlplane.dev is not available. Remove all references to Ctrlplane Cloud from docs, README, GitHub Action defaults, and API client defaults. Closes #909 Co-authored-by: Aditya Choudhari --- README.md | 4 +-- apps/api/src/client.ts | 2 +- docs/cli/overview.mdx | 4 +-- docs/concepts/resources.mdx | 4 +-- docs/docs.json | 7 +--- docs/installation.mdx | 34 +++++-------------- docs/integrations/cicd.mdx | 2 +- docs/integrations/job-agents/ansible.mdx | 4 +-- docs/integrations/job-agents/github.mdx | 4 +-- docs/integrations/resource-providers.mdx | 6 ++-- .../resource-providers/custom.mdx | 10 +++--- docs/inventory/relationships.mdx | 6 ++-- docs/policies/verification/overview.mdx | 4 +-- docs/quickstart.mdx | 3 +- docs/reference/cel.mdx | 2 +- docs/rfc/0007-manual-action-job-agent.mdx | 2 +- github/get-job-inputs/action.yml | 3 +- github/get-job-inputs/index.js | 6 ++-- .../github-get-job-inputs/src/index.ts | 2 +- integrations/github-get-job-inputs/src/sdk.ts | 2 +- 20 files changed, 42 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index 2749279ecc..3269c10371 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,7 @@ Your CI/CD ──► Ctrlplane ──► Your Infrastructure ## :zap: Quick Start -The fastest way to get started is with [Ctrlplane Cloud](https://app.ctrlplane.dev). - -For self-hosted options, see our [installation guide](https://docs.ctrlplane.dev/installation). +See our [installation guide](https://docs.ctrlplane.dev/installation) to get started. | Method | Link | | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/apps/api/src/client.ts b/apps/api/src/client.ts index 582a048ee4..eac82f7408 100644 --- a/apps/api/src/client.ts +++ b/apps/api/src/client.ts @@ -10,7 +10,7 @@ export default function createClient( options: ClientOptions & { apiKey?: string }, ) { return createOClient({ - baseUrl: options.baseUrl ?? "https://app.ctrlplane.dev", + baseUrl: options.baseUrl, ...options, headers: { ...(options.apiKey ? { "x-api-key": options.apiKey } : {}), diff --git a/docs/cli/overview.mdx b/docs/cli/overview.mdx index 890317415e..2bea227830 100644 --- a/docs/cli/overview.mdx +++ b/docs/cli/overview.mdx @@ -34,7 +34,7 @@ Set your API key and workspace as environment variables or pass them as flags: # Environment variables (recommended) export CTRLPLANE_API_KEY="your-api-key" export CTRLPLANE_WORKSPACE="your-workspace-id" -export CTRLPLANE_URL="https://app.ctrlplane.dev" +export CTRLPLANE_URL="https://your-ctrlplane-instance.com" # Or pass as flags ctrlc --api-key "your-api-key" --workspace "your-workspace-id" @@ -83,7 +83,7 @@ ctrlc apply -f resource.yaml | ------------- | --------------------- | -------------------------------------------------------- | | `--api-key` | `CTRLPLANE_API_KEY` | API key for authentication | | `--workspace` | `CTRLPLANE_WORKSPACE` | Workspace name or ID | -| `--url` | `CTRLPLANE_URL` | Ctrlplane API URL (default: `https://app.ctrlplane.dev`) | +| `--url` | `CTRLPLANE_URL` | Ctrlplane API URL | ## Next Steps diff --git a/docs/concepts/resources.mdx b/docs/concepts/resources.mdx index 59282eaa2d..eafe88a8fd 100644 --- a/docs/concepts/resources.mdx +++ b/docs/concepts/resources.mdx @@ -185,7 +185,7 @@ Resource Providers continuously sync resources from external sources: import { createClient } from "@ctrlplane/node-sdk"; const client = createClient({ - baseUrl: "https://app.ctrlplane.dev", + baseUrl: "https://your-ctrlplane-instance.com", apiKey: process.env.CTRLPLANE_API_KEY, }); @@ -366,7 +366,7 @@ ctrlc api get resource {resourceId} import { createClient } from "@ctrlplane/node-sdk"; const client = createClient({ - baseUrl: "https://app.ctrlplane.dev", + baseUrl: "https://your-ctrlplane-instance.com", apiKey: process.env.CTRLPLANE_API_KEY, }); diff --git a/docs/docs.json b/docs/docs.json index 54c74f1709..9684913cca 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -182,12 +182,7 @@ "dark": "/logo/dark.svg" }, "navbar": { - "links": [], - "primary": { - "type": "button", - "label": "Dashboard", - "href": "https://app.ctrlplane.dev" - } + "links": [] }, "contextual": { "options": [ diff --git a/docs/installation.mdx b/docs/installation.mdx index 56c31917b5..6cd4bab906 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -1,40 +1,22 @@ --- title: "Installation" description: - "Deploy Ctrlplane to your infrastructure or use the managed cloud offering." + "Deploy Ctrlplane to your infrastructure." --- -Ctrlplane can be deployed as a managed service or self-hosted in your -infrastructure. This guide covers production-ready deployment options for -platform teams. +Ctrlplane is self-hosted and can be deployed in your infrastructure. This guide +covers production-ready deployment options for platform teams. ## Deployment Options -| Option | Best For | Maintenance | -| --------------- | ---------------------------------- | ------------ | -| Ctrlplane Cloud | Teams wanting zero ops overhead | Managed | -| Kubernetes | Production self-hosted deployments | Self-managed | -| Docker Compose | Development and evaluation | Self-managed | - -## Ctrlplane Cloud (Recommended) - -The easiest way to get started is with Ctrlplane Cloud: - -1. Go to [app.ctrlplane.dev](https://app.ctrlplane.dev) -2. Sign up for a free account -3. Create a workspace -4. Start deploying! - -**Benefits**: - -- No infrastructure to manage -- Automatic updates -- Built-in high availability -- Free tier available +| Option | Best For | Maintenance | +| -------------- | ---------------------------------- | ------------ | +| Kubernetes | Production self-hosted deployments | Self-managed | +| Docker Compose | Development and evaluation | Self-managed | ## Self-Hosted Options -If you prefer to self-host Ctrlplane, you have several options: +Choose the deployment method that best fits your infrastructure: ### Docker Compose (Development & Testing) diff --git a/docs/integrations/cicd.mdx b/docs/integrations/cicd.mdx index 2dd75862b8..7b675d9929 100644 --- a/docs/integrations/cicd.mdx +++ b/docs/integrations/cicd.mdx @@ -230,7 +230,7 @@ For environments where the CLI isn't available, use the REST API: POST /api/v1/deployments/{deploymentId}/versions curl -X POST \ - "https://app.ctrlplane.dev/api/v1/deployments/{deploymentId}/versions" \ + "https://your-ctrlplane-instance.com/api/v1/deployments/{deploymentId}/versions" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ diff --git a/docs/integrations/job-agents/ansible.mdx b/docs/integrations/job-agents/ansible.mdx index 567d1f4e95..b79a80bebd 100644 --- a/docs/integrations/job-agents/ansible.mdx +++ b/docs/integrations/job-agents/ansible.mdx @@ -159,7 +159,7 @@ The workflow should update job status. You can use the Ctrlplane API: - name: Mark job successful if: success() run: | - curl -X PATCH "https://app.ctrlplane.dev/api/v1/jobs/${{ inputs.job_id }}" \ + curl -X PATCH "https://your-ctrlplane-instance.com/api/v1/jobs/${{ inputs.job_id }}" \ -H "Authorization: Bearer ${{ secrets.CTRLPLANE_API_KEY }}" \ -H "Content-Type: application/json" \ -d '{"status": "successful"}' @@ -167,7 +167,7 @@ The workflow should update job status. You can use the Ctrlplane API: - name: Mark job failed if: failure() run: | - curl -X PATCH "https://app.ctrlplane.dev/api/v1/jobs/${{ inputs.job_id }}" \ + curl -X PATCH "https://your-ctrlplane-instance.com/api/v1/jobs/${{ inputs.job_id }}" \ -H "Authorization: Bearer ${{ secrets.CTRLPLANE_API_KEY }}" \ -H "Content-Type: application/json" \ -d '{"status": "failure"}' diff --git a/docs/integrations/job-agents/github.mdx b/docs/integrations/job-agents/github.mdx index 94fd164bcc..e7962c4fb8 100644 --- a/docs/integrations/job-agents/github.mdx +++ b/docs/integrations/job-agents/github.mdx @@ -350,7 +350,7 @@ using the Ctrlplane API: - name: Mark job successful if: success() run: | - curl -X PATCH "https://app.ctrlplane.dev/api/v1/jobs/${{ inputs.job_id }}" \ + curl -X PATCH "https://your-ctrlplane-instance.com/api/v1/jobs/${{ inputs.job_id }}" \ -H "Authorization: Bearer ${{ secrets.CTRLPLANE_API_KEY }}" \ -H "Content-Type: application/json" \ -d '{"status": "successful"}' @@ -358,7 +358,7 @@ using the Ctrlplane API: - name: Mark job failed if: failure() run: | - curl -X PATCH "https://app.ctrlplane.dev/api/v1/jobs/${{ inputs.job_id }}" \ + curl -X PATCH "https://your-ctrlplane-instance.com/api/v1/jobs/${{ inputs.job_id }}" \ -H "Authorization: Bearer ${{ secrets.CTRLPLANE_API_KEY }}" \ -H "Content-Type: application/json" \ -d '{"status": "failure"}' diff --git a/docs/integrations/resource-providers.mdx b/docs/integrations/resource-providers.mdx index 7801443e71..e4bda94a36 100644 --- a/docs/integrations/resource-providers.mdx +++ b/docs/integrations/resource-providers.mdx @@ -81,7 +81,7 @@ Create custom providers using the Ctrlplane API or SDK. ```bash # Create or update a resource -curl -X PUT "https://app.ctrlplane.dev/api/v1/workspaces/{workspaceId}/resources" \ +curl -X PUT "https://your-ctrlplane-instance.com/api/v1/workspaces/{workspaceId}/resources" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ @@ -151,7 +151,7 @@ echo "$INSTANCES" | jq -c '.[]' | while read instance; do ENV=$(echo "$instance" | jq -r '.Tags[] | select(.Key=="Environment") | .Value') REGION=$(echo "$instance" | jq -r '.Placement.AvailabilityZone' | sed 's/.$//') - curl -X PUT "https://app.ctrlplane.dev/api/v1/workspaces/${WORKSPACE_ID}/resources" \ + curl -X PUT "https://your-ctrlplane-instance.com/api/v1/workspaces/${WORKSPACE_ID}/resources" \ -H "Authorization: Bearer ${CTRLPLANE_API_KEY}" \ -H "Content-Type: application/json" \ -d "{ @@ -231,7 +231,7 @@ When resource metadata or config changes, Ctrlplane: ```bash curl -X DELETE \ - "https://app.ctrlplane.dev/api/v1/resources/{resourceId}" \ + "https://your-ctrlplane-instance.com/api/v1/resources/{resourceId}" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" ``` diff --git a/docs/integrations/resource-providers/custom.mdx b/docs/integrations/resource-providers/custom.mdx index c56beab2c9..561c7c542d 100644 --- a/docs/integrations/resource-providers/custom.mdx +++ b/docs/integrations/resource-providers/custom.mdx @@ -21,7 +21,7 @@ Use custom providers when you need to sync: ### Create or Update a Resource ```bash -curl -X PUT "https://app.ctrlplane.dev/api/v1/workspaces/{workspaceId}/resources" \ +curl -X PUT "https://your-ctrlplane-instance.com/api/v1/workspaces/{workspaceId}/resources" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ @@ -45,14 +45,14 @@ curl -X PUT "https://app.ctrlplane.dev/api/v1/workspaces/{workspaceId}/resources ```bash curl -X DELETE \ - "https://app.ctrlplane.dev/api/v1/resources/{resourceId}" \ + "https://your-ctrlplane-instance.com/api/v1/resources/{resourceId}" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" ``` ### List Resources ```bash -curl "https://app.ctrlplane.dev/api/v1/workspaces/{workspaceId}/resources" \ +curl "https://your-ctrlplane-instance.com/api/v1/workspaces/{workspaceId}/resources" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" ``` @@ -98,7 +98,7 @@ setInterval(syncResources, 5 * 60 * 1000); // Every 5 minutes # sync-resources.sh WORKSPACE_ID="your-workspace-id" -API_URL="https://app.ctrlplane.dev/api/v1" +API_URL="https://your-ctrlplane-instance.com/api/v1" # Discover resources (example: from cloud provider) INSTANCES=$(aws ec2 describe-instances --query 'Reservations[].Instances[]') @@ -135,7 +135,7 @@ import time API_KEY = os.environ["CTRLPLANE_API_KEY"] WORKSPACE_ID = os.environ["CTRLPLANE_WORKSPACE"] -API_URL = "https://app.ctrlplane.dev/api/v1" +API_URL = "https://your-ctrlplane-instance.com/api/v1" def sync_resource(resource): """Upsert a resource to Ctrlplane.""" diff --git a/docs/inventory/relationships.mdx b/docs/inventory/relationships.mdx index 59a3161603..13259e6e46 100644 --- a/docs/inventory/relationships.mdx +++ b/docs/inventory/relationships.mdx @@ -260,7 +260,7 @@ fromSelector: ### Create a Rule ```bash -curl -X POST "https://app.ctrlplane.dev/api/v1/workspaces/{workspaceId}/relationship-rules" \ +curl -X POST "https://your-ctrlplane-instance.com/api/v1/workspaces/{workspaceId}/relationship-rules" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ @@ -290,7 +290,7 @@ curl -X POST "https://app.ctrlplane.dev/api/v1/workspaces/{workspaceId}/relation ### Update a Rule ```bash -curl -X PUT "https://app.ctrlplane.dev/api/v1/relationship-rules/{ruleId}" \ +curl -X PUT "https://your-ctrlplane-instance.com/api/v1/relationship-rules/{ruleId}" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ @@ -302,7 +302,7 @@ curl -X PUT "https://app.ctrlplane.dev/api/v1/relationship-rules/{ruleId}" \ ### Delete a Rule ```bash -curl -X DELETE "https://app.ctrlplane.dev/api/v1/relationship-rules/{ruleId}" \ +curl -X DELETE "https://your-ctrlplane-instance.com/api/v1/relationship-rules/{ruleId}" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" ``` diff --git a/docs/policies/verification/overview.mdx b/docs/policies/verification/overview.mdx index 06c6b0c2b3..d6a8d8fc9b 100644 --- a/docs/policies/verification/overview.mdx +++ b/docs/policies/verification/overview.mdx @@ -330,7 +330,7 @@ For sensitive values like API keys, use deployment variables: 1. **Create a deployment variable**: ```bash -curl -X POST https://app.ctrlplane.dev/api/v1/deployments/{deploymentId}/variables \ +curl -X POST https://your-ctrlplane-instance.com/api/v1/deployments/{deploymentId}/variables \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" \ -d '{"key": "dd_api_key", "description": "Datadog API key"}' ``` @@ -338,7 +338,7 @@ curl -X POST https://app.ctrlplane.dev/api/v1/deployments/{deploymentId}/variabl 2. **Set the value**: ```bash -curl -X POST https://app.ctrlplane.dev/api/v1/deployments/{deploymentId}/variables/{variableId}/values \ +curl -X POST https://your-ctrlplane-instance.com/api/v1/deployments/{deploymentId}/variables/{variableId}/values \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" \ -d '{"value": "your-actual-api-key"}' ``` diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx index b6782eba8f..c3f2bff451 100644 --- a/docs/quickstart.mdx +++ b/docs/quickstart.mdx @@ -35,8 +35,7 @@ flowchart LR ## Prerequisites -- Ctrlplane account ([app.ctrlplane.dev](https://app.ctrlplane.dev) or - [self-hosted](./installation)) +- Ctrlplane account ([self-hosted](./installation)) - API key (Settings → API Keys) - GitHub repository with CI workflow diff --git a/docs/reference/cel.mdx b/docs/reference/cel.mdx index 0cab918b1b..ca2ecc3b2e 100644 --- a/docs/reference/cel.mdx +++ b/docs/reference/cel.mdx @@ -457,7 +457,7 @@ resource.kind == "KubernetesCluster" Use the API to test your CEL expressions: ```bash -curl -X POST "https://app.ctrlplane.dev/api/v1/workspaces/{workspaceId}/resources/query" \ +curl -X POST "https://your-ctrlplane-instance.com/api/v1/workspaces/{workspaceId}/resources/query" \ -H "Authorization: Bearer $CTRLPLANE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ diff --git a/docs/rfc/0007-manual-action-job-agent.mdx b/docs/rfc/0007-manual-action-job-agent.mdx index 52b59d2909..dd2f01cff6 100644 --- a/docs/rfc/0007-manual-action-job-agent.mdx +++ b/docs/rfc/0007-manual-action-job-agent.mdx @@ -574,7 +574,7 @@ configured channel with an interactive Block Kit layout: "type": "plain_text", "text": "View in Ctrlplane" }, - "url": "https://app.ctrlplane.dev/workspaces/.../jobs/" + "url": "https://your-ctrlplane-instance.com/workspaces/.../jobs/" } ] } diff --git a/github/get-job-inputs/action.yml b/github/get-job-inputs/action.yml index 70c0e094f2..3b6afa7a17 100644 --- a/github/get-job-inputs/action.yml +++ b/github/get-job-inputs/action.yml @@ -4,8 +4,7 @@ author: "Ctrlplane" inputs: base_url: description: "The ctrlplane base url to get job inputs from" - required: false - default: "https://app.ctrlplane.dev" + required: true api_key: description: "API key for authentication" required: true diff --git a/github/get-job-inputs/index.js b/github/get-job-inputs/index.js index b050e75f46..61dc207875 100644 --- a/github/get-job-inputs/index.js +++ b/github/get-job-inputs/index.js @@ -28083,7 +28083,7 @@ function removeTrailingSlash(url) { function client_createClient(options) { return createClient({ - baseUrl: options.baseUrl ?? "https://app.ctrlplane.dev", + baseUrl: options.baseUrl, ...options, headers: { ...(options.apiKey ? { "x-api-key": options.apiKey } : {}), @@ -28105,7 +28105,7 @@ const maybeAppendApiToBaseUrl = (baseUrl) => { return baseUrl + "/api"; }; const api = client_createClient({ - baseUrl: maybeAppendApiToBaseUrl(core.getInput("base_url") || "https://app.ctrlplane.dev"), + baseUrl: maybeAppendApiToBaseUrl(core.getInput("base_url", { required: true })), headers: { "X-API-Key": core.getInput("api_key", { required: true }) }, }); @@ -28157,7 +28157,7 @@ const getJob = async (jobId) => { }; async function run() { const jobId = core.getInput("job_id", { required: true }); - const baseUrl = core.getInput("base_url") || "https://app.ctrlplane.dev"; + const baseUrl = core.getInput("base_url", { required: true }); const job = await getJob(jobId); if (job == null) { core.setFailed(`Job not found: ${jobId}`); diff --git a/integrations/github-get-job-inputs/src/index.ts b/integrations/github-get-job-inputs/src/index.ts index e5412331c0..287ccdb9bb 100644 --- a/integrations/github-get-job-inputs/src/index.ts +++ b/integrations/github-get-job-inputs/src/index.ts @@ -64,7 +64,7 @@ const getJob = async (jobId: string): Promise => { async function run() { const jobId: string = core.getInput("job_id", { required: true }); - const baseUrl = core.getInput("base_url") || "https://app.ctrlplane.dev"; + const baseUrl = core.getInput("base_url", { required: true }); const job = await getJob(jobId); if (job == null) { diff --git a/integrations/github-get-job-inputs/src/sdk.ts b/integrations/github-get-job-inputs/src/sdk.ts index b59b7cf838..ca7d8191bb 100644 --- a/integrations/github-get-job-inputs/src/sdk.ts +++ b/integrations/github-get-job-inputs/src/sdk.ts @@ -14,7 +14,7 @@ const maybeAppendApiToBaseUrl = (baseUrl: string) => { export const api = createClient({ baseUrl: maybeAppendApiToBaseUrl( - core.getInput("base_url") || "https://app.ctrlplane.dev", + core.getInput("base_url", { required: true }), ), headers: { "X-API-Key": core.getInput("api_key", { required: true }) }, }); From 6905b1928da1950f4df48f7ffa64a740c6147860 Mon Sep 17 00:00:00 2001 From: Aditya Choudhari Date: Thu, 9 Apr 2026 14:46:58 -0700 Subject: [PATCH 2/2] cleanup --- apps/api/src/client.ts | 10 ++++++---- docs/installation.mdx | 2 +- docs/integrations/job-agents/ansible.mdx | 1 + docs/integrations/job-agents/github.mdx | 2 ++ github/get-job-inputs/index.js | 1 - 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/apps/api/src/client.ts b/apps/api/src/client.ts index eac82f7408..306245f21c 100644 --- a/apps/api/src/client.ts +++ b/apps/api/src/client.ts @@ -6,11 +6,13 @@ import type { paths } from "./types/openapi.js"; export type { operations as Operations } from "./types/openapi.js"; export type { paths } from "./types/openapi.js"; -export default function createClient( - options: ClientOptions & { apiKey?: string }, -) { +export interface CreateClientOptions extends ClientOptions { + baseUrl: string; + apiKey?: string; +} + +export default function createClient(options: CreateClientOptions) { return createOClient({ - baseUrl: options.baseUrl, ...options, headers: { ...(options.apiKey ? { "x-api-key": options.apiKey } : {}), diff --git a/docs/installation.mdx b/docs/installation.mdx index 6cd4bab906..ef57a0e52f 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -4,7 +4,7 @@ description: "Deploy Ctrlplane to your infrastructure." --- -Ctrlplane is self-hosted and can be deployed in your infrastructure. This guide +Ctrlplane is self-hosted and can be deployed on your infrastructure. This guide covers production-ready deployment options for platform teams. ## Deployment Options diff --git a/docs/integrations/job-agents/ansible.mdx b/docs/integrations/job-agents/ansible.mdx index b79a80bebd..3fe1a7a699 100644 --- a/docs/integrations/job-agents/ansible.mdx +++ b/docs/integrations/job-agents/ansible.mdx @@ -105,6 +105,7 @@ jobs: uses: ctrlplanedev/get-job-inputs@v1 id: job with: + base_url: ${{ secrets.CTRLPLANE_BASE_URL }} job_id: ${{ inputs.job_id }} api_key: ${{ secrets.CTRLPLANE_API_KEY }} diff --git a/docs/integrations/job-agents/github.mdx b/docs/integrations/job-agents/github.mdx index e7962c4fb8..b1124bb048 100644 --- a/docs/integrations/job-agents/github.mdx +++ b/docs/integrations/job-agents/github.mdx @@ -265,6 +265,7 @@ jobs: uses: ctrlplanedev/get-job-inputs@v1 id: job with: + base_url: ${{ secrets.CTRLPLANE_BASE_URL }} job_id: ${{ inputs.job_id }} api_key: ${{ secrets.CTRLPLANE_API_KEY }} @@ -385,6 +386,7 @@ jobs: uses: ctrlplanedev/get-job-inputs@v1 id: job with: + base_url: ${{ secrets.CTRLPLANE_BASE_URL }} job_id: ${{ inputs.job_id }} api_key: ${{ secrets.CTRLPLANE_API_KEY }} diff --git a/github/get-job-inputs/index.js b/github/get-job-inputs/index.js index 61dc207875..183967bb91 100644 --- a/github/get-job-inputs/index.js +++ b/github/get-job-inputs/index.js @@ -28083,7 +28083,6 @@ function removeTrailingSlash(url) { function client_createClient(options) { return createClient({ - baseUrl: options.baseUrl, ...options, headers: { ...(options.apiKey ? { "x-api-key": options.apiKey } : {}),