unzip Library cache to correct project path
parent
fcab2e5dcb
commit
69ee3053d6
|
|
@ -277,6 +277,11 @@ Resources:
|
|||
Action:
|
||||
- "cloudformation:DeleteStack"
|
||||
- "kinesis:DeleteStream"
|
||||
- "secretsmanager:DeleteSecret"
|
||||
- "kinesis:DescribeStreamSummary"
|
||||
- "logs:DeleteLogGroup"
|
||||
- "logs:DeleteSubscriptionFilter"
|
||||
- "ecs:DeregisterTaskDefinition"
|
||||
Resource: "*"
|
||||
|
||||
### cloud watch to kinesis role
|
||||
|
|
|
|||
|
|
@ -256,13 +256,13 @@ class AWS {
|
|||
|
||||
latest=$(ls -t | head -1)
|
||||
echo $latest
|
||||
cd ../../
|
||||
if [ ! -z $latest ]; then
|
||||
echo "Library cache exists from build $latest from $branchName"
|
||||
unzip -q $latest -d ./${buildUid}/repo/${buildParameters.projectPath}/Library/.
|
||||
unzip -q $latest -d /data/${buildUid}/repo/${buildParameters.projectPath}/Library/.
|
||||
else
|
||||
echo "Cache does not exist"
|
||||
fi
|
||||
cd ../../
|
||||
|
||||
cd ${buildUid}/repo;
|
||||
git checkout $GITHUB_SHA;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -44,13 +44,13 @@ class AWS {
|
|||
|
||||
latest=$(ls -t | head -1)
|
||||
echo $latest
|
||||
cd ../../
|
||||
if [ ! -z $latest ]; then
|
||||
echo "Library cache exists from build $latest from $branchName"
|
||||
unzip -q $latest -d ./${buildUid}/repo/${buildParameters.projectPath}/Library/.
|
||||
unzip -q $latest -d /data/${buildUid}/repo/${buildParameters.projectPath}/Library/.
|
||||
else
|
||||
echo "Cache does not exist"
|
||||
fi
|
||||
cd ../../
|
||||
|
||||
cd ${buildUid}/repo;
|
||||
git checkout $GITHUB_SHA;
|
||||
|
|
|
|||
Loading…
Reference in New Issue