Overwrite files when unzipping + correction to secret names
commit
320a33fa5c
|
|
@ -1239,7 +1239,7 @@ class AWSBuildEnvironment {
|
|||
const insertionStringContainerSecrets = 'p3 - container def';
|
||||
const indexp1 = taskDefCloudFormation.search(insertionStringParameters) + insertionStringParameters.length + '\n'.length;
|
||||
const parameterTemplate = `
|
||||
${secret.ParameterKey}:
|
||||
${secret.ParameterKey.replace(/[^\dA-Za-z]/g, '')}:
|
||||
Type: String
|
||||
Default: ''
|
||||
`;
|
||||
|
|
@ -1883,7 +1883,7 @@ class RemoteBuilder {
|
|||
echo "Library cache exists from build $latest from ${branchName}"
|
||||
echo 'Creating empty Library folder for cache'
|
||||
mkdir "$libDir"
|
||||
unzip -q $latest -d '/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.'
|
||||
unzip -q $latest -o -d '/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.'
|
||||
else
|
||||
echo 'Cache does not exist'
|
||||
fi
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -69,7 +69,7 @@ class AWSBuildEnvironment {
|
|||
const indexp1 =
|
||||
taskDefCloudFormation.search(insertionStringParameters) + insertionStringParameters.length + '\n'.length;
|
||||
const parameterTemplate = `
|
||||
${secret.ParameterKey}:
|
||||
${secret.ParameterKey.replace(/[^\dA-Za-z]/g, '')}:
|
||||
Type: String
|
||||
Default: ''
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ class RemoteBuilder {
|
|||
echo "Library cache exists from build $latest from ${branchName}"
|
||||
echo 'Creating empty Library folder for cache'
|
||||
mkdir "$libDir"
|
||||
unzip -q $latest -d '/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.'
|
||||
unzip -q $latest -o -d '/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.'
|
||||
else
|
||||
echo 'Cache does not exist'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue