Skip to content
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

initial fuzzit orb version #1

Merged
merged 5 commits into from Nov 10, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Setup complete

  • Loading branch information
yevgenypats committed Nov 10, 2019
commit 7a8dc5707ca6223b056c8a00338e585321ba7bab
@@ -1,24 +1,123 @@
version: 2.1

# add your orb below, to be used in integration tests (note: a @dev:alpha
# release must exist; you'll need to publish manually at least once)
# you can use scripts/publish-alpha.sh to publish a @dev:alpha release
orbs:
fuzzit: fuzzitdev/fuzzit@dev:alpha
orb-tools: circleci/orb-tools@8.27.3
shellcheck: circleci/shellcheck@1.3.14

jobs:
getting-started:
docker:
- image: circleci/node
steps:
- run:
name: Getting Started
command: |
echo "Your orb is now building on CircleCI"
echo "This is a temporary configuration file. Continue with the orb-init.sh script and follow the README.md to publish your orb."

workflows:
setup:
# this `lint-pack_validate_publish-dev` workflow will run on any commit
lint-pack_validate_publish-dev:
jobs:
- getting-started
# lint your destructured orb YAML files
- orb-tools/lint
- shellcheck/check:
ignore: 'SC1090,SC2034,SC2059,SC2001,SC2143,SC2046'

# pack your orb YAML files to a single orb.yml
# validate the orb.yml file to ensure it is well-formed
- orb-tools/pack:
requires:
- orb-tools/lint

# release dev version of orb, for testing & possible publishing
# requires a CircleCI API token to be stored as CIRCLE_TOKEN (default)
# https://circleci.com/docs/2.0/managing-api-tokens
# store CIRCLE_TOKEN as a project env var or Contexts resource
# if using Contexts, add your context below
- orb-tools/publish-dev:
orb-name: fuzzitdev/fuzzit
requires:
- orb-tools/pack

# trigger an integration workflow to test the dev version of your orb
# an SSH key must be stored in your orb's repository and in CircleCI
# (add the public key as a read/write key on GitHub; add the private
# key in CircleCI via SSH Permissions, with github.com as Hostname)
- orb-tools/trigger-integration-workflow:
name: trigger-integration-dev
ssh-fingerprints: 28:e3:ab:d2:77:42:9e:c5:12:76:a6:8c:46:af:5e:c7
requires:
- orb-tools/publish-dev
filters:
branches:
ignore: master

# by default, the 1st job (above) will trigger only integration tests;
# the 2nd job (below) may also publish a production orb version
- orb-tools/trigger-integration-workflow:
name: trigger-integration-master
cleanup-tags: true
ssh-fingerprints: 28:e3:ab:d2:77:42:9e:c5:12:76:a6:8c:46:af:5e:c7
tag: master
requires:
- orb-tools/publish-dev
filters:
branches:
only: master

# this `integration-tests_prod-release` workflow will ignore commits
# it is only triggered by git tags, which are created in the job above
# integration-tests_prod-release:
# jobs:
# # - your integration test jobs go here
# # - you will want to call each integration testing job twice,
# # - each under a different name:
# # - once, for integration tests triggered by non-master-branch commits
# # - and again, for tests triggered by commits to master
# # - only commits to master should potentially trigger a prod release

# # patch, minor, or major publishing
# - orb-tools/dev-promote-prod:
# name: dev-promote-patch
# orb-name: circleci/orb-tools
# ssh-fingerprints: # your SSH key fingerprint
# cleanup-tags: true
# requires:
# # - your integration testing jobs go here
# filters:
# branches:
# ignore: /.*/
# tags:
# only: /master-patch.*/

# - orb-tools/dev-promote-prod:
# name: dev-promote-minor
# release: minor
# orb-name: circleci/orb-tools
# ssh-fingerprints: # your SSH key fingerprint
# cleanup-tags: true
# requires:
# # - your integration testing jobs go here
# filters:
# branches:
# ignore: /.*/
# tags:
# only: /master-minor.*/

# - orb-tools/dev-promote-prod:
# name: dev-promote-major
# release: major
# orb-name: circleci/orb-tools
# ssh-fingerprints: # your SSH key fingerprint
# cleanup-tags: true
# requires:
# # - your integration testing jobs go here
# filters:
# branches:
# ignore: /.*/
# tags:
# only: /master-major.*/

# yaml anchor filters
integration-dev_filters: &integration-dev_filters
branches:
ignore: /.*/
tags:
only: /integration-.*/

integration-master_filters: &integration-master_filters
branches:
ignore: /.*/
tags:
only: /master-.*/
@@ -4,7 +4,7 @@ version: 2.1
# release must exist; you'll need to publish manually at least once)
# you can use scripts/publish-alpha.sh to publish a @dev:alpha release
orbs:
<orb-name>: <orb-namespace>/<orb-name>@dev:alpha
fuzzit: fuzzitdev/fuzzit@dev:alpha
orb-tools: circleci/orb-tools@8.27.3

workflows:
@@ -26,7 +26,7 @@ workflows:
# store CIRCLE_TOKEN as a project env var or Contexts resource
# if using Contexts, add your context below
- orb-tools/publish-dev:
orb-name: <orb-namespace>/<orb-name>
orb-name: fuzzitdev/fuzzit
requires:
- orb-tools/pack

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.