Skip to content

Commit

Permalink
storage: introduce requesterPays (#2392)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored Jun 29, 2017
1 parent ca0d96c commit 90b41d2
Show file tree
Hide file tree
Showing 12 changed files with 1,945 additions and 557 deletions.
6 changes: 6 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ environment:
GCLOUD_TESTS_KEY_SECRET:
secure: usGkvXjqCzDNIQHx8oEncrZOmez7GBocB1EXM+g/9rw=

GCLOUD_TESTS_KEY_NON_WHITELIST: key.appveyor.non-whitelist.json
GCLOUD_TESTS_KEY_NON_WHITELIST_SECRET:
secure: IRvjqNWclDExf6ngyYKWjqfArffGNtvawuRqqDOLTaT8frozr9BOkxdxHCDYapR1

install:
- ps: Install-Product node $env:nodejs_version
- ps: >-
if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) {
nuget install secure-file -ExcludeVersion
secure-file\tools\secure-file -decrypt key.appveyor.json.enc -secret $env:GCLOUD_TESTS_KEY_SECRET
$env:GCLOUD_TESTS_KEY=$env:APPVEYOR_BUILD_FOLDER + '\' + $env:GCLOUD_TESTS_KEY
secure-file\tools\secure-file -decrypt key.appveyor.non-whitelist.json.enc -secret $env:GCLOUD_TESTS_KEY_NON_WHITELIST_SECRET
$env:GCLOUD_TESTS_KEY_NON_WHITELIST=$env:APPVEYOR_BUILD_FOLDER + '\' + $env:GCLOUD_TESTS_KEY_NON_WHITELIST
}
- npm install -g npm # Force using the latest npm to get dedupe during install
- set PATH=%APPDATA%\npm;%PATH%
Expand Down
Binary file added key.appveyor.non-whitelist.json.enc
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"create-error-class": "^3.0.2",
"duplexify": "^3.5.0",
"extend": "^3.0.0",
"gcs-resumable-upload": "^0.7.1",
"gcs-resumable-upload": "^0.8.0",
"hash-stream-validation": "^0.2.1",
"is": "^3.0.1",
"mime-types": "^2.0.8",
Expand Down
Loading

0 comments on commit 90b41d2

Please sign in to comment.