File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,14 @@ upload-packs-to-marketplace:
294294 fi
295295 - section_end "Validate Premium Packs"
296296
297+ - |
298+ if [[ $TEST_UPLOAD == "false" ]]; then
299+ section_start "Upload content graph CSVs to GCP" --collapsed
300+ gsutil -m cp -r $ARTIFACTS_FOLDER/content_graph/import/* "gs://$GCS_MARKET_BUCKET_DEV/content_graph/$MARKETPLACE_VERSION/*"
301+ section_end "Upload content graph CSVs to GCP"
302+ fi
303+
304+
297305
298306upload-packs-to-marketplace-v2 :
299307 tags :
Original file line number Diff line number Diff line change @@ -172,15 +172,7 @@ validate-content-conf:
172172 python3 ./Tests/scripts/awsinstancetool/aws_instance_tool.py -envType "$IFRA_ENV_TYPE" -timetolive $TTL -outfile "$ARTIFACTS_FOLDER/env_results.json"
173173 fi
174174 - section_end "Create Instances for XSOAR"
175-
176- - |
177- if [[ $BUCKET_UPLOAD == "true" && $TEST_UPLOAD == "false" ]]; then
178- section_start "Upload CSV to bucket" --collapsed
179- # delete command after decide how to upload in prod
180- gsutil -m cp -r /var/lib/neo4j/import/* "gs://$GCS_MARKET_BUCKET_DEV/content_graph/$MARKETPLACE_VERSION/*"
181- section_end "Upload Artifacts to GCP"
182- fi
183-
175+
184176 - section_start "Upload Artifacts to GCP" --collapsed
185177 - ./Tests/scripts/upload_artifacts.sh
186178 - section_end "Upload Artifacts to GCP"
You can’t perform that action at this time.
0 commit comments