28
Allow CircleCI CLI commands to work with private Orbs
complete
Activity
Newest
Oldest
This post was marked as
complete
This post was marked as
planned
JaminenB
Just to confirm, the latest version seen in the orb registry is 0.1.9, which we are using but is failing to view private orbs with "orb info". Will the latest version be published to the orb registry or does 0.1.9 include the changes?
This post was marked as
complete
All CLI commands for public orbs now work for private orbs as well. Update the CLI to version 0.1.17183 to get the upgrades.
Oran Bartell
in progress
Incremental update regarding validation. Config containing private orbs can now be validated using the method here: https://circleci.com/docs/2.0/orb-concepts/#private-orbs-vs-public-orbs
Config validation in the web app has also been updated to recognize private orbs correctly.
Up next: orb source in CLI. Don't forget that you can see orb source for private orbs today by running
orb info
and using the url contained at the bottom of the response. This is also the last time our automation will accidentally mark this "complete". That's on me - apologies for any confusion there.
Cheers!
Oran Bartell
in progress
Orb info has been finished and now works for private orbs. Orb source is still upcoming. Stay tuned for that final release before this is truly complete. Apologies for the confusion!
D
David Raistrick
Oran Bartell: thanks! confirmed that orb info works!
Now for source, and even more importantly config validate! (which I suppose is tied to source, since the yaml has to be built)
%% circleci orb info ../..
Latest: ../..@0.2.2
Last-updated: 2021-10-26T18:05:17.080Z
Created: 2021-08-06T14:01:09.320Z
Total-revisions: 33
Total-commands: 15
Total-executors: 4
Total-jobs: 8
## Statistics (30 days):
Builds: 2251
Projects: 6
Orgs: 1
Learn more about this orb online in the CircleCI Orb Registry:
Oran Bartell
David Raistrick: You know it! Slowly but surely we'll be achieving parity between private and public orb functionality.
D
David Raistrick
this was marked as complete - when will this be released?
I see the same behavior as before trying to get info on a private orb:
%% circleci update
You are running 0.1.15338
A new release is available (0.1.16122)
Updated to 0.1.16122
%% circleci orb info myprivate/orb@0.2.0
Error: Failed to get info for 'myprivate/orb@0.2.0': Something unexpected happened.
This post was marked as
complete
Oran Bartell
Hi David - are you still getting errors when attempting to get orb info? If so, let us know and we can get our support folks to help out.
K
Kieran Osgood
Oran Bartell: I've just had this issue today, running circleci cli 0.1.16277

Oran Bartell
Kieran Osgood: Orb info will only work for published orbs. The example you shared appears to be an unpublished orb, in which case we expect orb info to fail. If you continue to get that error with a published orb, let our support team know so they can help further https://support.circleci.com/hc/en-us/.
Oran Bartell
in progress
Anton
Oran Bartell thanks for the update
Does it mean that the CLI support will be done much later?
So far if the config has a private orb the
circleci config validate
just stops working which is quite inconvenient:circleci config validate
Error: Cannot find sendoso/oso-ci@0.0 in the orb registry. Check that the namespace, orb name and version are correct.
Is it possible at least fix this in parallel with the UI work?
thanks
Oran Bartell
Anton: For now I can tell you the CLI support is top of mind for us, even without an exact time frame. As soon as we're able to get to that work, more updates will be posted here.
Load More
→