-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
As an OPS, I expect that concourse terraform jobs do not fail on missing directories in secrets repositories (below an example of a Concourse failure when trying to cp files in missing terraform-config folder in secrets repo):
+ pwd
+ CURRENT_DIR=/tmp/build/6d6ccb0c
+ [ -z coab-depls/terraform-config/spec ]
+ [ -z coab-depls/terraform-config/spec-openstack-hws ]
+ [ -z coab-depls/terraform-config ]
+ find secret-state-resource/coab-depls/terraform-config -type f -exec cp {} generated-files/ ;
find: secret-state-resource/coab-depls/terraform-config: No such file or directory
Possible solution
Before the command find secret-state-resource/coab-depls/terraform-config -type f -exec cp {} generated-files/; man should check and create, if needed, missing directories.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
P3