Skip to content

Commit

Permalink
Merge pull request #4751 from psibi/test-pr
Browse files Browse the repository at this point in the history
Change S3 Bucket names & cache policy for PR's
  • Loading branch information
snoyberg authored Apr 17, 2019
2 parents ddca714 + 193421b commit 310d97e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .azure/azure-linux-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
cache-s3 --prefix="${CACHE_S3_PREFIX}" --git-branch="$(Build.SourceBranchName)" --suffix="${OS_NAME}" save stack;
fi;
cache-s3 --prefix="${CACHE_S3_PREFIX}" --git-branch="$(Build.SourceBranchName)" --suffix="${OS_NAME}" save stack work
condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'))
env:
OS_NAME: ${{ parameters.os }}
displayName: 'Cache data'
1 change: 1 addition & 0 deletions .azure/azure-osx-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
cache-s3 --prefix="${CACHE_S3_PREFIX}" --git-branch="$(Build.SourceBranchName)" --suffix="${OS_NAME}" save stack;
fi;
cache-s3 --prefix="${CACHE_S3_PREFIX}" --git-branch="$(Build.SourceBranchName)" --suffix="${OS_NAME}" save stack work
condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'))
env:
OS_NAME: ${{ parameters.os }}
displayName: 'Cache data'
1 change: 1 addition & 0 deletions .azure/azure-windows-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
/tmp/cache-s3 --prefix="${CACHE_S3_PREFIX}" --git-branch="$(Build.SourceBranchName)" --suffix="${OS_NAME}" save stack;
fi;
/tmp/cache-s3 --prefix="${CACHE_S3_PREFIX}" --git-branch="$(Build.SourceBranchName)" --suffix="${OS_NAME}" save stack work
condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'))
env:
OS_NAME: ${{ parameters.os }}
displayName: 'Cache data'
2 changes: 1 addition & 1 deletion azure-nightly-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ variables:
BASE_BRANCH: "master"
CACHE_S3_PREFIX: "stack"
CACHE_S3_VERSION: "v0.1.4"
S3_BUCKET: "fpco-gitlab-runner-pipeline-cache"
S3_BUCKET: "fpco-public-cache"
AWS_REGION: "us-east-1"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ variables:
BASE_BRANCH: "master"
CACHE_S3_PREFIX: "stack"
CACHE_S3_VERSION: "v0.1.4"
S3_BUCKET: "fpco-gitlab-runner-pipeline-cache"
S3_BUCKET: "fpco-public-cache"
AWS_REGION: "us-east-1"

jobs:
Expand Down

0 comments on commit 310d97e

Please sign in to comment.