Skip to content

Commit 612278f

Browse files
authored
upload csv in the end of the bucket upload (demisto#23384)
1 parent fab9b42 commit 612278f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.gitlab/ci/bucket-upload.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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
298306
upload-packs-to-marketplace-v2:
299307
tags:

.gitlab/ci/on-push.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)