Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ steps:
secretEnv:
- DC_API_KEY

- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', 'tool/target/datacommons-import-tool-0.1-SNAPSHOT-jar-with-dependencies.jar', 'gs://${_GCS_BUCKET}/import_tools/import-tool.jar']
- name: 'gcr.io/cloud-builders/gcloud'
args: ['storage', 'cp', 'tool/target/datacommons-import-tool-0.1-SNAPSHOT-jar-with-dependencies.jar', 'gs://${_GCS_BUCKET}/import_tools/import-tool.jar']

- name: 'gcr.io/cloud-builders/gcloud'
args: ['builds', 'triggers', 'run', 'dc-import-executor', '--branch=master', '--substitutions', '_DOCKER_IMAGE=${_DOCKER_IMAGE}']
Expand Down
4 changes: 2 additions & 2 deletions simple/run_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ function copy_to_gcs {

[[ -z "$gcs_dir" ]] && return

cmd="gsutil -m cp -r $dir $gcs_dir"
cmd="gcloud storage cp --recursive $dir $gcs_dir"
run_cmd $cmd
echo_log "Copied output files to $gcs_dir"
run_cmd gsutil ls -l -r "$gcs_dir"
run_cmd gcloud storage ls --long --recursive "$gcs_dir"
Comment thread
bhandarivijay-png marked this conversation as resolved.
}

# Return if being sourced
Expand Down