Skip to content

Commit a13e160

Browse files
[Backport 7.71.x] omnibus: secret-gen-connector: ensure the output dir exists (#41972)
Backport 73e7543 from #41864. ___ ### What does this PR do? Ensure the `secret-generic-connector` destination folder exists ### Motivation When leveraging omnibus build cache for earlier dependencies, there is no guaranty that the folder exists, which caused a handful of build failures ### Describe how you validated your changes ### Additional Notes Co-authored-by: Hugo Beauzée-Luyssen <[email protected]>
1 parent 377e9b6 commit a13e160

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

omnibus/config/software/secret-generic-connector.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
license_file "https://raw.githubusercontent.com/DataDog/datadog-secret-backend/master/LICENSE"
7575

7676
if windows?
77+
mkdir "#{install_dir}/bin/agent"
7778
# Extract the zip file
7879
copy "#{project_dir}/datadog-secret-backend.exe", "#{install_dir}/bin/agent/secret-generic-connector.exe"
7980
else

0 commit comments

Comments
 (0)