-
Notifications
You must be signed in to change notification settings - Fork 18
fix: remove all references to Ctrlplane Cloud #961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 }} | ||
|
|
||
|
|
@@ -350,15 +351,15 @@ 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 }}" \ | ||
|
Comment on lines
351
to
355
|
||
| -H "Content-Type: application/json" \ | ||
| -d '{"status": "successful"}' | ||
|
|
||
| - 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"}' | ||
|
|
@@ -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 }} | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow example in this guide uses
ctrlplanedev/get-job-inputs@v1withoutbase_url, but the action now requires it. Please update the example to includebase_urlso the documented workflow works as-is.