cleanup
parent
57ff6350c4
commit
6233ac41fa
|
|
@ -4444,12 +4444,12 @@ class CloudRunnerCustomSteps {
|
|||
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY --profile default
|
||||
aws configure set region $AWS_DEFAULT_REGION --profile default
|
||||
BUCKET1="game-ci-test-storage/cloud-runner-cache/$CACHE_KEY/Library"
|
||||
aws s3 ls $BUCKET1/
|
||||
OBJECT1="$(aws s3 ls $BUCKET1/ | sort | tail -n 1 | awk '{print $4}' || '')"
|
||||
aws s3 ls $BUCKET1 || true
|
||||
OBJECT1="$(aws s3 ls $BUCKET1 | sort | tail -n 1 | awk '{print $4}' || '')"
|
||||
aws s3 cp s3://$BUCKET1/$OBJECT1 /data/cache/$CACHE_KEY/Library/ || true
|
||||
BUCKET2="game-ci-test-storage/cloud-runner-cache/$CACHE_KEY/lfs"
|
||||
aws s3 ls $BUCKET2/
|
||||
OBJECT2="$(aws s3 ls $BUCKET2/ | sort | tail -n 1 | awk '{print $4}' || '')"
|
||||
aws s3 ls $BUCKET2 || true
|
||||
OBJECT2="$(aws s3 ls $BUCKET2 | sort | tail -n 1 | awk '{print $4}' || '')"
|
||||
aws s3 cp s3://$BUCKET2/$OBJECT2 /data/cache/$CACHE_KEY/lfs/ || true
|
||||
secrets:
|
||||
- name: awsAccessKeyId
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -73,12 +73,12 @@ export class CloudRunnerCustomSteps {
|
|||
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY --profile default
|
||||
aws configure set region $AWS_DEFAULT_REGION --profile default
|
||||
BUCKET1="game-ci-test-storage/cloud-runner-cache/$CACHE_KEY/Library"
|
||||
aws s3 ls $BUCKET1/
|
||||
OBJECT1="$(aws s3 ls $BUCKET1/ | sort | tail -n 1 | awk '{print $4}' || '')"
|
||||
aws s3 ls $BUCKET1 || true
|
||||
OBJECT1="$(aws s3 ls $BUCKET1 | sort | tail -n 1 | awk '{print $4}' || '')"
|
||||
aws s3 cp s3://$BUCKET1/$OBJECT1 /data/cache/$CACHE_KEY/Library/ || true
|
||||
BUCKET2="game-ci-test-storage/cloud-runner-cache/$CACHE_KEY/lfs"
|
||||
aws s3 ls $BUCKET2/
|
||||
OBJECT2="$(aws s3 ls $BUCKET2/ | sort | tail -n 1 | awk '{print $4}' || '')"
|
||||
aws s3 ls $BUCKET2 || true
|
||||
OBJECT2="$(aws s3 ls $BUCKET2 | sort | tail -n 1 | awk '{print $4}' || '')"
|
||||
aws s3 cp s3://$BUCKET2/$OBJECT2 /data/cache/$CACHE_KEY/lfs/ || true
|
||||
secrets:
|
||||
- name: awsAccessKeyId
|
||||
|
|
|
|||
Loading…
Reference in New Issue