generated from emmeowzing/circleci-orb-template
-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI lib support; general updates (#141)
* ci-library-support: fr * Fix * Sync * ci-library-support: sync * ci-library-support: test * ci-library-support: test alpha * ci-library-support: fix path * ci-library-support: publish alpha * ci-library-support: switch to alpha * ci-library-support: drop an info message in reduce
- Loading branch information
1 parent
3ec3cc7
commit 8cf004b
Showing
9 changed files
with
108 additions
and
50 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 |
---|---|---|
|
@@ -6,8 +6,8 @@ setup: true | |
orbs: | ||
orb-tools: circleci/[email protected] | ||
circleci-cli: circleci/[email protected] | ||
# dynamic: bjd2385/dynamic-continuation@dev:alpha | ||
dynamic: bjd2385/[email protected] | ||
dynamic: bjd2385/dynamic-continuation@dev:alpha | ||
# dynamic: bjd2385/[email protected] | ||
general: premiscale/[email protected] | ||
slack: circleci/[email protected] | ||
|
||
|
@@ -18,6 +18,7 @@ workflows: | |
# Development branches | ||
|
||
- dynamic/continue: | ||
library-config: library-config | ||
context: orb-publishing | ||
|
||
# On tag | ||
|
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
jobs: | ||
bats-tests: | ||
parameters: | ||
yq-version: | ||
description: |+ | ||
Version of yq to install. | ||
https://github.com/mikefarah/yq/releases | ||
type: string | ||
default: 4.40.5 | ||
tests-directory: | ||
description: Directory in which bats tests reside. | ||
type: string | ||
default: tests/ | ||
formatter: | ||
description: Bats formatter. | ||
type: string | ||
default: tap | ||
resource-class: | ||
description: Resource class to execute as. | ||
type: enum | ||
default: small | ||
enum: | ||
- small | ||
- medium | ||
- large | ||
- 2xlarge | ||
executor: default | ||
resource_class: << parameters.resource-class >> | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install bats | ||
command: |+ | ||
sudo apt update | ||
sudo apt install -y bats | ||
- run: | ||
name: Install yq | ||
command: |+ | ||
wget https://github.com/mikefarah/yq/releases/download/v<< parameters.yq-version >>/yq_linux_amd64 -o yq | ||
sudo install yq /usr/bin/yq | ||
rm yq | ||
- run: | ||
name: Bats tests | ||
command: |+ | ||
bats --formatter << parameters.formatter >> --timing --recursive << parameters.tests-directory >> |
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
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
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
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
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
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
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