WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Unable to publish a Orb if it depends on an internal private orb #228

@christopherbox

Description

@christopherbox

Orb version:

12.0.4

What happened:

When trying to publish an orb that relies on another private orb, the publish job (as well as the CLI) will not allow the orb to be published as it will error on not being able to locate the orb in the orb registry.
image

Orb declaration (start)

version: 2.1
description: |
  Example orb that depends on another internal orb
orbs:
  orb1: private_namespace/[email protected]

Trying to publish the orb after its been packed results in an error. (Note: I have replaced the private info here. The new orb is just an update to an already private orb that has already been published).

Once an orb is created it cannot be deleted. Orbs are semver compliant, and each published version is immutable. Publicly released orbs are potential dependencies for other projects.
Therefore, allowing orb deletion would make users susceptible to unexpected loss of functionality.
Error: Cannot find private_namespace/[email protected] in the orb registry. Check that the namespace, orb name and version are correct

Expected behavior:

It should utilize the token that is being passed to find the referenced orb and publish it successfully.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions