Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .kokoro-windows/Import-Secrets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (-not $kokorodir) {
new-item -type directory -path $tempfile
$kokorodir = $tempfile
@($secrets, $credentials, $privatekeyfile, $certfile) | ForEach-Object {
gsutil cp gs://cloud-devrel-kokoro-resources/dotnet-docs-samples/$_ (Join-Path $kokorodir $_)
gcloud storage cp gs://cloud-devrel-kokoro-resources/dotnet-docs-samples/$_ (Join-Path $kokorodir $_)
}
}
& (Join-Path $kokorodir $secrets)
Expand Down
2 changes: 1 addition & 1 deletion .kokoro-windows/New-BuildEnv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if (-not $SkipDownloadKokoroDir) {
$env:KOKORO_GFILE_DIR = Join-Path $Dir 'kokoro'
(New-Item -Path $env:KOKORO_GFILE_DIR -ItemType Directory -Force).FullName
# Copy all the files from our kokoro secrets bucket.
gsutil -m cp gs://cloud-devrel-kokoro-resources/dotnet-docs-samples/* $env:KOKORO_GFILE_DIR
gcloud storage -m cp gs://cloud-devrel-kokoro-resources/dotnet-docs-samples/* $env:KOKORO_GFILE_DIR
Comment thread
gurusai-voleti marked this conversation as resolved.
Outdated
}

# Prepare to unzip the files.
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/build-local-docker.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Push-Location
try {
# Copy secrets from google cloud storage to a local directory
Set-Location ./local-docker
gsutil cp -r gs://cloud-devrel-kokoro-resources/dotnet-docs-samples/ .
gcloud storage cp --recursive gs://cloud-devrel-kokoro-resources/dotnet-docs-samples/ .

# Build the local docker image.
docker build --no-cache --build-arg KOKORO_GFILE_DIR=dotnet-docs-samples -t dotnet-docs-samples/kokoro .
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/upload-secrets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
gsutil cp secrets.ps1 gs://cloud-devrel-kokoro-resources/dotnet-docs-samples/secrets.ps1
gcloud storage cp secrets.ps1 gs://cloud-devrel-kokoro-resources/dotnet-docs-samples/secrets.ps1