-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update to v11-1
- Loading branch information
Showing
2 changed files
with
55 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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,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: /.*/ |
This file contains 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,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]+$/ |