Verifying Imported Orb Version on CircleCI Server

Overview

To verify if a specific version of an orb is imported on CircleCI Server, you can use the circleci orb source command with the --host and --token options. Follow these steps to complete the verification process:

Prerequisites

Before proceeding, make sure you have the following:

  • Access to the CircleCI CLI tool.
  • The specific version of the orb you want to verify, in the format <namespace>/<orb_name>@x.y.z.
  • The hostname or IP address of your CircleCI Server instance.
  • An API token authorized to make requests to your CircleCI Server instance.

Steps to Verify Imported Orb Version

  1. Open your terminal or command line interface.
  2. Run the following command, replacing '<namespace>/<orb_name>@x.y.z' with the specific version tag of the orb you want to verify. Replace '<circleci_server_host>' with the hostname or IP address of your CircleCI Server, and '<api_token>' with your authorized API token:
    circleci orb source <namespace>/<orb_name>@x.y.z --host <circleci_server_host> --token <api_token>
    

    This command will query your CircleCI Server instance for the imported orb and its corresponding version.

  3. Review the output to verify if the orb version matches your expectations. If the command displays the desired version and the source URL, it confirms that the specific version of the orb has been successfully imported.

Conclusion

Verifying the imported version of an orb on CircleCI Server is a simple process using the circleci orb source command with the --host and --token options. By following the steps outlined in this support article, you can quickly and accurately confirm if the desired orb version is available for use in your CircleCI workflows.

If you face any difficulties during the verification process or have further questions, please reach out to our support team for assistance. We are here to help you troubleshoot and resolve any issues you may encounter.

 

Additional Resources

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.