Skip to content

Commit

Permalink
Added the sync from the saas bucket and modified the verify script to…
Browse files Browse the repository at this point in the history
… take the revision from the correct bucket. (#31254)
  • Loading branch information
omerKarkKatz committed Dec 3, 2023
1 parent c185530 commit fd3e92b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitlab/ci/.gitlab-ci.bucket-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ sync-buckets-between-projects:
gcloud auth activate-service-account --key-file="$GCS_XSOAR_CONTENT_PROD_KEY" >> "${ARTIFACTS_FOLDER}/logs/gcloud_auth.log" 2>&1
echo "Syncing gs://marketplace-xsoar-prod-us"
gsutil -m rsync -r gs://marketplace-dist gs://marketplace-xsoar-prod-us
gsutil -m rsync -r gs://marketplace-saas-dist gs://marketplace-xsoar-prod-us
echo "Syncing gs://marketplace-xsiam-prod-us"
gsutil -m rsync -r gs://marketplace-v2-dist gs://marketplace-xsiam-prod-us
echo "Syncing gs://marketplace-xpanse-prod-us"
Expand Down
6 changes: 1 addition & 5 deletions Tests/scripts/validate_synced_buckets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@


function compare_revision() {
if [ "$1" == "dev" ]; then
bucket_list_origin=($GCS_MARKET_XSOAR_SAAS_BUCKET $GCS_MARKET_V2_BUCKET $GCS_MARKET_XPANSE_BUCKET)
else
bucket_list_origin=($GCS_MARKET_BUCKET $GCS_MARKET_V2_BUCKET $GCS_MARKET_XPANSE_BUCKET)
fi
bucket_list_origin=($GCS_MARKET_XSOAR_SAAS_BUCKET $GCS_MARKET_V2_BUCKET $GCS_MARKET_XPANSE_BUCKET)
bucket_list_prod=($MARKETPLACE_XSOAR_PROD $MARKETPLACE_V2_PROD $MARKETPLACE_XPANSE_PROD)
json_file_path="/content/packs/index.json"

Expand Down

0 comments on commit fd3e92b

Please sign in to comment.