You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Customer is publishing single orb to many organizations and using matrix to call publish job.
They thought about using pre-steps to run some envsubt on the yaml before publishing, but since pre-steps run before workspace from prior job is attached, there is nothing to work on. Pre-step does not support special copmmands like attach_workspace so I am suggesting a parameter to publish job that is of steps type to run after checkout (#211 )/attach worksapce but before publish step.
- existing checkout or attach steps run
- custom steps parameter steps are executed
- existing publish is executed
https://circleci.com/developer/orbs/orb/circleci/orb-tools?version=12.0.0#jobs-publish onwards support a attach_workspace boolean parameter which would allow someone to set it false and then put their logic into a pre-steps block.
e.g. have a pre-steps block that does everything that the publish job normally does when attach_workspace is true and then carry out the customer-specific logic.
(Weirdly, the job also supports a checkout boolean that's declared and never used ... but that's already been reported in #211)
Describe Request:
Customer is publishing single orb to many organizations and using
matrix
to call publish job.They thought about using
pre-steps
to run someenvsubt
on the yaml before publishing, but since pre-steps run before workspace from prior job is attached, there is nothing to work on. Pre-step does not support special copmmands likeattach_workspace
so I am suggesting a parameter topublish
job that is ofsteps
type to run after checkout (#211 )/attach worksapce but before publish step.Examples:
Supporting Documentation Links:
The text was updated successfully, but these errors were encountered: