Skip to content

update(no-ticket): Update CircleCi docs to reflect new v2.0.0 release#381

Open
BartoszBlizniak wants to merge 1 commit intomainfrom
no-ticket-update-circleci-orb-docs
Open

update(no-ticket): Update CircleCi docs to reflect new v2.0.0 release#381
BartoszBlizniak wants to merge 1 commit intomainfrom
no-ticket-update-circleci-orb-docs

Conversation

@BartoszBlizniak
Copy link
Copy Markdown
Member

This PR updates our documentation to reflect the new release of v2.0.0 of Cloudsmith Orb which brings OIDC to life and some quality of life improvements.

Copilot AI review requested due to automatic review settings April 2, 2026 15:02
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cloudsmith-docs Ready Ready Preview, Comment Apr 2, 2026 3:02pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates documentation to reflect Cloudsmith CircleCI Orb v2.0.0, including new OIDC-focused guidance and updated configuration examples.

Changes:

  • Bumps orb version references to cloudsmith/cloudsmith@2.0.0 and updates CircleCI examples accordingly.
  • Adds guidance recommending OIDC + cloudsmith/install-cli + direct CLI invocation instead of cloudsmith/publish.
  • Updates the OpenID Connect docs with an orb-based CircleCI example using authenticate-with-oidc.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
src/content/integrations/integrating-with-circleci.mdx Updates orb version and expands CircleCI examples for OIDC + CLI workflows (but currently contains invalid CircleCI job syntax in examples).
src/content/authentication/openid-connect.mdx Updates CircleCI OIDC example to orb v2.0.0 and shows CLI-based publish flow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jobs:
publish:
executor: circleci/python:3.7
executor: cimg/python:3.10
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CircleCI job examples use executor: cimg/python:3.10, but cimg/python:3.10 is a Docker image name, not an executor. As written, this config won’t run unless an executor with that name is defined. Use a docker: stanza with image: cimg/python:3.10 (or define a named executor) instead.

Suggested change
executor: cimg/python:3.10
docker:
- image: cimg/python:3.10

Copilot uses AI. Check for mistakes.
Comment on lines 74 to 77
jobs:
publish:
executor: circleci/python:3.7
executor: cimg/python:3.10
steps:
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue here: executor: cimg/python:3.10 is not valid unless an executor is defined with that name. Switch to a docker: image stanza (or define a named executor) so the example is copy/paste runnable.

Copilot uses AI. Check for mistakes.
Comment on lines +69 to +71
<Note variant="note">
The `cloudsmith/publish` command is deprecated and will be removed in a future major version. The recommended approach is to use `cloudsmith/install-cli` and `cloudsmith/authenticate-with-oidc` (or `cloudsmith/ensure-api-key`), then invoke the Cloudsmith CLI directly in your `run` steps. See the [Manual integration](#manual-integration) section below.
</Note>
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation note says cloudsmith/publish is deprecated, but the very next example still uses cloudsmith/publish without labeling it as a legacy approach. This is likely to confuse readers—either update the example to the recommended CLI approach or clearly mark the snippet as legacy/deprecated usage.

Copilot uses AI. Check for mistakes.
```

Putting this all together, we end up with a `.circleci/config.yaml` file which looks like so:
The recommended approach is to combine OIDC authentication with the CLI and invoke it directly in your `run` steps. Putting this all together, we end up with a `.circleci/config.yaml` file which looks like so:
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence switches the config filename to .circleci/config.yaml, but earlier the page uses .circleci/config.yml. Pick one and keep it consistent (CircleCI docs typically use config.yml).

Suggested change
The recommended approach is to combine OIDC authentication with the CLI and invoke it directly in your `run` steps. Putting this all together, we end up with a `.circleci/config.yaml` file which looks like so:
The recommended approach is to combine OIDC authentication with the CLI and invoke it directly in your `run` steps. Putting this all together, we end up with a `.circleci/config.yml` file which looks like so:

Copilot uses AI. Check for mistakes.
jobs:
publish:
executor: circleci/python:3.7
executor: cimg/python:3.10
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same CircleCI config issue in the manual integration example: executor: cimg/python:3.10 refers to an image, not an executor. Use a docker: image stanza (or define an executor) so the example is valid.

Suggested change
executor: cimg/python:3.10
docker:
- image: cimg/python:3.10

Copilot uses AI. Check for mistakes.
Comment on lines +136 to 141
name: Build and publish Python package
command: |
pip install build
python -m build --wheel
cloudsmith push python my-org/my-repo dist/*.whl
```
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Within this page the repository slug examples vary between myorg/myrepo and my-org/my-repo. Using a single consistent placeholder format will reduce copy/paste errors for readers.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants