-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Restructure content to better present three orb options, URL, inline and registry #9940
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
Closed
+2,447
−1,173
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
5c098da
updates to better incorporate url orbs
rosieyohannan 20bc297
add a guide to writing a URL orb
rosieyohannan b3fff87
fix up filenames and organization of content
rosieyohannan 0592000
fix xrefs
rosieyohannan 160357e
fix links to archived page
rosieyohannan 18a3483
move orb concepts and start to incorporate URL orb in the page
rosieyohannan 4ad0685
work in inline orbs as 3rd type
rosieyohannan 95cf13e
trim down the create orbs guides
rosieyohannan 8493f65
remove excessive FAQs
rosieyohannan d2aa7dc
revert changes to testing guide and keep that just for registry orbs
rosieyohannan d57c52b
fix typo
rosieyohannan 191127f
tidy up style and formatting
rosieyohannan 60a24d9
archive the publishing guide for registry orbs and incorporate into m…
rosieyohannan b1098d4
tidy up navigation
rosieyohannan df40716
fix some linter errors
rosieyohannan c72f3c7
style and formatting
rosieyohannan c765ae6
Merge branch 'main' into DOCSS-1799-url-orbs-updates
rosieyohannan 38d9718
fix linter errors
rosieyohannan 0760044
Merge branch 'main' into DOCSS-1799-url-orbs-updates
rosieyohannan 3d38fbe
fix more linter things
rosieyohannan 735e590
a few more linter error fixes
rosieyohannan 0b5a7e0
add how to sections for url orb authentication and allow list creation
rosieyohannan b331144
format using tabs
rosieyohannan c547ea2
fix xref
rosieyohannan 632582e
formatting for url orb allow list new content
rosieyohannan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
10 changes: 6 additions & 4 deletions
10
...s/modules/author/pages/creating-orbs.adoc → archive/publishing-orbs-to-the-registry.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,66 @@ | ||
| [#what-types-of-orbs-are-available] | ||
| === What types of orbs are available? | ||
|
|
||
| CircleCI supports three types of orbs: | ||
|
|
||
| * **Inline orbs**: Defined directly in your project's `.circleci/config.yml` file. They are project-specific and ideal for reusable configuration within a single project. | ||
| * **URL orbs**: Stored at an accessible URL (like GitHub or S3) and shared across your organization using an allow-list. | ||
| * **Registry orbs**: Published to the CircleCI Orb Registry with semantic versioning, available publicly or privately. | ||
|
|
||
| For a detailed comparison, see the xref:orbs:use:orb-concepts.adoc#orb-types-comparison[Orb Types Comparison] section. | ||
|
|
||
| [#which-orb-type-should-i-use] | ||
| === Which orb type should I use? | ||
|
|
||
| Choose **inline orbs** when: | ||
|
|
||
| * Configuration is specific to one project. | ||
| * You want zero publishing overhead. | ||
| * You're learning about orbs. | ||
|
|
||
| Choose **URL orbs** when: | ||
|
|
||
| * You need to share configuration across your organization. | ||
| * You need direct control over updates. | ||
| * Configuration contains proprietary logic. | ||
|
|
||
| Choose **registry orbs** when: | ||
|
|
||
| * You want to share with the community. | ||
| * You need semantic versioning. | ||
| * You want discoverability in the Orb Registry. | ||
|
|
||
| See the xref:orbs:use:orb-intro.adoc#choosing-an-orb-type[Choosing an Orb Type] section for more guidance. | ||
|
|
||
| [#can-orbs-be-private] | ||
| === Can orbs be made private? | ||
| === Can registry orbs be made private? | ||
|
|
||
| xref:orbs:use:orb-intro.adoc#public-or-private[Private orbs] are available on any of our link:https://circleci.com/pricing[current plans]. | ||
| xref:orbs:use:orb-intro.adoc#public-or-private[Private Registry Orbs] are available on any of our link:https://circleci.com/pricing[Current Plans]. Inline orbs are inherently private to the project. URL orbs are controlled by your organization's allow-list and hosting access. | ||
|
|
||
| [#difference-between-commands-and-jobs] | ||
| === What is the difference between commands and jobs? | ||
|
|
||
| Both xref:reference:ROOT:reusing-config.adoc#the-commands-key[commands] and xref:reference:ROOT:reusing-config.adoc#authoring-parameterized-jobs[jobs] are elements that can be used within orbs. | ||
| Both xref:reference:ROOT:reusing-config.adoc#the-commands-key[Commands] and xref:reference:ROOT:reusing-config.adoc#authoring-parameterized-jobs[Jobs] are elements that can be used within orbs. | ||
|
|
||
| _Commands_ contain one or many xref:reference:ROOT:configuration-reference.adoc#steps[steps], which contain the logic of the orb. Commands generally execute some shell code (bash). | ||
| _Commands_ contain one or many xref:reference:ROOT:configuration-reference.adoc#steps[Steps], which contain the logic of the orb. Commands generally execute some shell code (Bash). | ||
|
|
||
| _Jobs_ are a definition of what steps/commands to run and the xref:reference:ROOT:reusing-config.adoc#the-executors-key[executor] to run them in. _Jobs_ invoke commands, and are orchestrated using xref:guides:orchestrate:workflows.adoc#workflows-configuration-examples[workflows]. | ||
| _Jobs_ are a definition of what steps/commands to run and the xref:reference:ROOT:reusing-config.adoc#the-executors-key[Executor] to run them in. _Jobs_ invoke commands, and are orchestrated using xref:guides:orchestrate:workflows.adoc#workflows-configuration-examples[Workflows]. | ||
|
|
||
| [#orbs-on-private-installation-server] | ||
| === Can orbs be used on a private installation of CircleCI server? | ||
| === Can orbs be used on a private installation of CircleCI Server? | ||
|
|
||
| Orbs can be used with installations of CircleCI server. For information on importing and using orbs for server, see the xref:server-admin:operator:managing-orbs.adoc[CircleCI server managing orbs] page. | ||
| Orbs can be used with installations of CircleCI Server. For information on importing and using orbs for server, see the xref:server-admin:operator:managing-orbs.adoc[CircleCI Server Managing Orbs] page. | ||
|
|
||
| [#report-an-issue-with-a-public-orb] | ||
| === How can I report a bug or issue with a public orb? | ||
|
|
||
| All public orbs are open source projects. Issues, bug reports, or even pull requests can be made against the orb's git repository. Public orb authors may opt to include a link to the git repo on the orb registry. If the git repo link is unavailable, contact support and we will attempt to contact the author. Alternatively, consider forking the orb and publishing your own version. | ||
|
|
||
| [#how-to-use-the-latest-version-of-an-orb] | ||
| === How do I use the latest version of an orb? | ||
| === How do I use the latest version of a registry orb? | ||
|
|
||
| Registry orbs use semantic versioning. If you set the _major_ version (example: `3`), you will receive all _minor_ and _patch_ updates. If you statically set the version (example: `3.0.0`), no updates will apply. Using a static version is the most deterministic and recommended method. | ||
|
|
||
| Orbs use semantic versioning, meaning if you set the _major_ version (example: `3`), you will receive all _minor_ and _patch_ updates, where if you statically set the version (example: `3.0.0`), no updates will apply, this is the most deterministic and recommended method. | ||
| NOTE: Inline orbs do not have versions (updated by editing the config file), and URL orbs use Git-based versioning (branches, tags, or commits) rather than semantic versioning. | ||
|
|
||
| WARNING: NOT RECOMMENDED - It is possible to use `@volatile` to receive the last published version of an orb. This is not recommended as breaking changes are expected. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
here we change to use lower case...