Skip to content

Commit

Permalink
fix: update to v11-1 (#1)
Browse files Browse the repository at this point in the history
fix: update to v11-1
  • Loading branch information
KyleTryon authored Mar 11, 2022
2 parents f33e6e4 + 5624840 commit 9e8f4cd
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 25 deletions.
42 changes: 28 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,44 @@
version: 2.1
setup: true
orbs:
orb-tools: circleci/orb-tools@11.0
shellcheck: circleci/shellcheck@3.0
orb-tools: circleci/orb-tools@11.1
shellcheck: circleci/shellcheck@3.1

workflows:
lint-pack:
jobs:
- orb-tools/lint
- orb-tools/pack
- orb-tools/review
- orb-tools/lint:
filters:
tags:
only: /.*/
- orb-tools/pack:
filters:
tags:
only: /.*/
- orb-tools/review:
filters:
tags:
only: /.*/
- shellcheck/check:
exclude: SC2148,SC2038,SC2086,SC2002,SC2016
- orb-tools-/publish-dev:
filters:
tags:
only: /.*/
- orb-tools/publish:
orb-name: <namespace>/<orb-name>
vcs-type: << pipeline.project.type >>
requires:
[
orb-tools/lint,
orb-tools/review,
orb-tools/pack,
shellcheck/check,
]
[orb-tools/lint, orb-tools/review, orb-tools/pack, shellcheck/check]
# Use a context to hold your publishing token.
context: <publishing-context>
filters:
tags:
only: /.*/
# Triggers the next workflow in the Orb Development Kit.
- orb-tools-/continue:
- orb-tools/continue:
pipeline-number: << pipeline.number >>
vcs-type: << pipeline.project.type >>
requires: [orb-tools-/publish-dev]
requires: [orb-tools/publish]
filters:
tags:
only: /.*/
38 changes: 27 additions & 11 deletions .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,48 @@
version: 2.1
orbs:
<orb-name>: <namespace>/<orb-name>@dev:<<pipeline.git.revision>>
orb-tools: circleci/[email protected]

orb-tools: circleci/[email protected]
jobs:
# Create a job to test the commands of your orbs.
# You may want to add additional validation steps to ensure the commands are working as expected.
command-tests:
docker:
- image: cimg/base:current
steps:
- checkout
# Run your orb's commands to validate them.
- <orb-name>/greet
workflows:
test-deploy:
jobs:
- orb-tools-alpha/lint:
- command-tests:
filters:
tags:
only: /.*/
- orb-tools-alpha/pack:
- orb-tools/lint:
filters:
tags:
only: /.*/
- orb-tools-alpha/review:
- orb-tools/pack:
filters:
tags:
only: /.*/
- orb-tools-alpha/publish-release:
- orb-tools/review:
filters:
tags:
only: /.*/
- orb-tools/publish:
orb-name: <namespace>/<orb-name>
vcs-type: << pipeline.project.type >>
pub-type: production
requires:
- orb-tools-alpha/lint
- orb-tools-alpha/review
- orb-tools-alpha/pack
- orb-tools/lint
- orb-tools/review
- orb-tools/pack
- command-tests
context: <publishing-context>
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
tags:
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/

0 comments on commit 9e8f4cd

Please sign in to comment.