Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit 296b16c

Browse files
authored
Update creating-orbs.md
Incorporated feedback received into page. No figure in this build....will be next build. Also removed Tutorial section from page.
1 parent 5c4d944 commit 296b16c

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

jekyll/_cci2/creating-orbs.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -518,26 +518,3 @@ workflows:
518518
```
519519

520520
In this example, the `btd` workflow runs the `orb-tools/validate` job first. If the orb is indeed valid, the next step will execute, and `orb-tools/publish` will execute. When `orb-tools/publish` succeeds, the job input will contain a success message that the new orb has been published.
521-
522-
#### Tutorial
523-
524-
The following animation shows the basics of creating and publishing an orb using an example:
525-
526-
![Orb creating animation]( {{ site.baseurl }}/assets/img/docs/GIFMaker.org_P4Gg6g.gif)
527-
528-
The animation shows snippets to give you an overview of the following steps for creating an orb:
529-
530-
1. Defining a reusable job named `orb-doc-generation` and checking the 2.1 config is well-formed with `circleci-config-validate .circleci/config.yml`.
531-
2. Running `circleci config process .circleci/config.yml` to process the config.
532-
3. Committing the change and checking that the build succeeds in the CircleCI app.
533-
4. Enabling orbs use under Settings > Security in the CircleCI app.
534-
5. Running `circleci namespace create ndintenfass github ndintenfass_org` to create
535-
a namespace in which to publish to the [CircleCI Orb
536-
Registry](https://circleci.com/orbs/registry/), using Github as a VCS with
537-
`ndintenfass` as the namespace and `ndintenfass_org` as the org-name. The org-name must exist already as an organization on CircleCI.
538-
6. Creating and committing an `orb.yml` file in a `.circleci/orbs/orb-utils` directory of the project repo with the content of a reusable executor and the `orb-doc-generation` job.
539-
7. Running `circleci orb create ndintenfass orb-utils` to create the orb in the namespace.
540-
8. Running `circleci orb publish dev .circleci/orbs/orb-utils/@orb.yml ndintenfass orb-utils test` to publish the dev:test orb.
541-
9. Replacing the inline executor and job definitions in the `.circleci/config.yml` with the reference to the published `ndintenfass/orb-utils@dev:test` orb.
542-
10. Running `circleci-config-validate .circleci/config.yml` to validate it is well-formed.
543-
11. Committing the change and checking that the build succeeds when using the imported orb. The processed config appears on the Configuration tab of the CircleCI Jobs page.

0 commit comments

Comments
 (0)