Skip to content

Commit

Permalink
fix(orb/job/test): dont require pre_setup_script (#541)
Browse files Browse the repository at this point in the history
Fixes the 'pre_setup_script' argument not to be required. As per the
CircleCI documentation[1] an argument is required if there is not
'default' key set.

[1]: https://circleci.com/docs/reusing-config/#parameter-syntax:~:text=N/A-,default,-The%20default%20value

---------

Co-authored-by: Antony Mbugua <[email protected]>
  • Loading branch information
jaredallard and RhymePurging authored May 23, 2023
1 parent e1e672d commit 7e8b233
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orbs/shared/jobs/save_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ parameters:
default: _json_key
description: Username to use when fetching images from a registry
type: string
pre_test_script:
pre_setup_script:
default: ""
description: Environment variable that contains a shell path to run before running tests in CircleCI
type: string
docker_password:
Expand Down
1 change: 1 addition & 0 deletions orbs/shared/jobs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ parameters:
description: Username to use when fetching images from a registry
type: string
pre_setup_script:
default: ""
description: If set, the executable to run before running tests in CircleCI. This may not include arguments.
type: string
docker_password:
Expand Down

0 comments on commit 7e8b233

Please sign in to comment.