Skip to content

Upstream pull + Handle no categories #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 202 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
41dfbc7
Content additional fix validations (#7445)
roysagi Jun 8, 2020
cb1cf92
fix lintings (#7454)
jochman Jun 9, 2020
7301211
Improved empty response handling (#7296)
hod-alpert Jun 9, 2020
33a6d98
[Enhancement] Search Search Endpoints By Hash - Carbon Black Response…
altmannyarden Jun 9, 2020
addd165
out of skipped tests (#7456)
guyfreund Jun 9, 2020
9078198
Auto detect api modules (#7257)
orhovy Jun 9, 2020
4ba778c
small fix in content (#7462)
roysagi Jun 9, 2020
6310edb
unskipping phishlabs (#7455)
roysagi Jun 9, 2020
17bdd88
RTIR: fix ID header bug (#7453)
jochman Jun 9, 2020
9df8ad4
fortisiem bug fix (#7469)
guyfreund Jun 9, 2020
a54d552
remove old regexes from content (#7398)
anara123 Jun 9, 2020
3493acf
changing playbook name (#7474)
roysagi Jun 9, 2020
80d8916
fix rastarize name in core packs list (#7471)
yuvalbenshalom Jun 9, 2020
8c5354d
Nightly Marketplace (#7467)
dantavori Jun 9, 2020
a4cba0c
bump content and sha1 versions (#7470)
jochman Jun 9, 2020
9c62506
reverted instance tests to run on server 5.5 (#7465)
yaakovi Jun 10, 2020
32a8e49
Return of cofense feed (#7481)
jochman Jun 10, 2020
2c6c1fc
Updated Cortex XDR IOCs pack names - 20.6.0 (#7437) (#7457)
Jun 10, 2020
fea875b
deleted Legacy pack (#7463)
IkaDemisto Jun 10, 2020
0230fd2
Delete Exchange pack (#7433)
liorblob Jun 10, 2020
2ee8e6d
Add the GetShiftsPerUser automation (#7213)
Jun 10, 2020
52371f9
ignore missing CHANGELOG failures (#7482)
yaakovi Jun 10, 2020
453d71a
demistomock.py formatting (#7483)
jochman Jun 10, 2020
f6c79ee
Fixed print when GCS_MARKET_KEY is not set (#7486)
hod-alpert Jun 10, 2020
900b38a
fixed build images paths (#7450)
IkaDemisto Jun 10, 2020
f6599b0
Packs changelog - added build number to display name (#7279)
IkaDemisto Jun 10, 2020
97698ab
Nightly failures (#7317)
ShahafBenYakir Jun 10, 2020
8c85884
Update XDR_iocs.yml (#7494)
yaakovi Jun 10, 2020
af2259c
Uploader - changed upload corepacks.json logic (#7487)
IkaDemisto Jun 10, 2020
246f7d2
Updated video link for Crisus Management (#7496)
idovandijk Jun 10, 2020
4f0782f
[New Integration] EWS O365 (OAuth 2) (#7145)
DeanArbel Jun 10, 2020
1e56e66
Removed legacy from special handling in dependencies calculation (#7…
IkaDemisto Jun 10, 2020
37f8778
test_collect_tests_and_content_packs - Improve packs collecting (#7477)
reutshal Jun 10, 2020
042db02
Move default types to content (#7426)
anara123 Jun 10, 2020
6353aac
Docs: remove possible errors section (#7381)
glicht Jun 10, 2020
d1058c4
Securonix already fetched (#7025)
bakatzir Jun 11, 2020
d6d2780
add HelloWorld, ExportIndicators, Malware, DefaultPlaybook to core pa…
yuvalbenshalom Jun 11, 2020
ad732c8
Fix collect tests and content packs (#7468)
dantavori Jun 11, 2020
804293d
Fix common server python test: (#7311)
GalRabin Jun 11, 2020
93bc55c
unskip wildfire-test (#7498)
teizenman Jun 11, 2020
fb9b4d3
Add safe get dict to common server python (#7451)
GalRabin Jun 11, 2020
3c14a74
removed test pbs (#7524)
guyfreund Jun 11, 2020
805ce70
increase sshd MaxStartups and restart sshd (#7434)
avidan-H Jun 12, 2020
360918b
Create Troubleshooting Section for Packets and Logs README (#7429)
avidan-H Jun 12, 2020
2e7add5
moved deprecated ews integration (#7532)
IkaDemisto Jun 13, 2020
ad7cd81
added eula link support (#7525)
IkaDemisto Jun 13, 2020
986cab3
demisto-sdk find-dependencies (#7502)
David-BMS Jun 14, 2020
d648efb
SetGridField - sort columns alphabetically (#7533)
Itay4 Jun 14, 2020
8266a2b
Elasticsearch Feed - fix bug in feed type handling (#7490)
Itay4 Jun 14, 2020
859f7af
added default to url arg in url command (#7514)
guyfreund Jun 14, 2020
218784b
fix bug in threat-grid-get-analysis-by-id (#7377)
moishce-zz Jun 14, 2020
6a4af2e
Joe security bug (#7362)
moishce-zz Jun 14, 2020
79556f1
BigFix - add get_endpoint_details arg to get-endpoints cmd (#7515)
Itay4 Jun 14, 2020
edb5e38
Recorded Future Feed - handle sparse response in fetch indicators com…
Itay4 Jun 14, 2020
3bfa10c
fix a bug that test module failed on a delegated mailbox (#7435)
moishce-zz Jun 14, 2020
b93f864
fix for IsMaliciousIndicatorFound tpb (#7497)
teizenman Jun 14, 2020
b58a88a
unskip duo admin tpb (#7499)
teizenman Jun 14, 2020
1dc0e4e
Proofpoint Protection Server - use html.parser instead of lxml parser…
Itay4 Jun 14, 2020
36d17a0
fix akamai instance (#7549)
GalRabin Jun 14, 2020
bff7699
Labeled partner packs + cleared packs metadata (#7531)
IkaDemisto Jun 14, 2020
959a867
Nightly failures (#7547)
ShahafBenYakir Jun 14, 2020
31fcf28
Fix collect packs (#7519)
dantavori Jun 14, 2020
c58bf3c
DefaultPlaybook dependency fixes (#7528)
idovandijk Jun 14, 2020
d1c37e4
Flake8 phase3 (#7522)
jochman Jun 14, 2020
ca91f9b
Malware dependency fixes (#7527)
idovandijk Jun 14, 2020
d55a6a5
Skip all detonation subplaybooks if unavailable (#7530)
idovandijk Jun 14, 2020
9ceaefa
Base installation issue fix (marketplace) (#7544)
dantavori Jun 14, 2020
9e67ac1
change get entities timeframe from 1 hour to 1 day (#7557)
Itay4 Jun 14, 2020
6e23b08
Phishing dependency fixes (#7526)
idovandijk Jun 14, 2020
dc36e21
Move Redlock integration into PrismaCloud pack (#7464)
mayagoldb Jun 14, 2020
9c6376b
Common pb pack dependencies (#7568)
yuvalbenshalom Jun 14, 2020
dec89b8
fix in collect_tests (#7565)
dantavori Jun 14, 2020
ff0ba7a
migrate videos to content-assets (#7562)
glicht Jun 14, 2020
f039b48
Add packs dependencies to all core packs (#7555)
ronykoz Jun 14, 2020
8f8f9a9
Common fixes (#7556)
David-BMS Jun 14, 2020
62cd844
Add RP104 to ignore errors for reputations.json file (#7550)
barchen1 Jun 15, 2020
d240965
New playbook for "Malware Playbook - Manual". (#7506)
altmannyarden Jun 15, 2020
786043d
Association of fields to all (#7492)
idovandijk Jun 15, 2020
b631025
removed ews o365 from skipped (#7577)
DeanArbel Jun 15, 2020
6b06eda
unskipd msg dvc mngmnt (#7574)
guyfreund Jun 15, 2020
9ee08e2
Code42 fix spellings (#7536) (#7538)
content-bot Jun 15, 2020
f5c94d5
Added to pack ignore (#7579)
reutshal Jun 15, 2020
21f58b1
Powershell improvements (#7479)
glicht Jun 15, 2020
3cc8762
Skipping subplaybooks for packs if unavailable (#7558)
idovandijk Jun 15, 2020
b435fb1
sdk release 1-1-3 (#7543)
reutshal Jun 15, 2020
dd168b4
IsEnabled additions to playbooks for packs (CommonPlaybooks + Phishin…
idovandijk Jun 15, 2020
8dc4aa4
fix Microsoft-ATP test playbook and update readme file (#7575)
barchen1 Jun 15, 2020
fc4faa6
New pack documentation suggestion (#7255)
idovandijk Jun 15, 2020
8357187
Skip dedup - generic test (#7590)
dantavori Jun 15, 2020
24b90c8
removed packs override (#7585)
IkaDemisto Jun 15, 2020
951f004
Revert "Update XDR_iocs.yml (#7494)" (#7495)
yaakovi Jun 16, 2020
1a10bdd
unskip zerofox (#7584)
guyfreund Jun 16, 2020
7b29694
Get file sample TF fix (#7594)
guyfreund Jun 16, 2020
e123163
Nightly failures (#7589)
ShahafBenYakir Jun 16, 2020
8f50971
Flake8 phase6 (#7546)
jochman Jun 16, 2020
628023c
Flake8 phase4 (#7542)
jochman Jun 16, 2020
ab51e79
unskip from nightly (#7596)
guyfreund Jun 16, 2020
ee129ff
TimeStampCompare empty tag fixed (#7598)
guyfreund Jun 16, 2020
c9a8584
added all level packs dependencies (#7563)
IkaDemisto Jun 16, 2020
60e2186
ThreatX - increase test timeout (#7599)
Itay4 Jun 16, 2020
1fbfad5
Flake8 phase12 (#7605)
jochman Jun 16, 2020
244e4dd
Flake8 phase5 (#7545)
jochman Jun 16, 2020
89766d9
Office365 feed - Updated integration description. (#7606)
bakatzir Jun 16, 2020
a5fd6ae
added Full Incident Enrichment (#7034)
DeanArbel Jun 16, 2020
d913730
Add PA113 ignore error (#7611)
barchen1 Jun 16, 2020
81b8f77
Improved bad response handling (#7443)
hod-alpert Jun 16, 2020
abd7332
Uploader - summary fix (#7610)
IkaDemisto Jun 16, 2020
80dda85
Hod/rtir attachment parsing (#7424)
hod-alpert Jun 16, 2020
f459965
EWS v2 - handle exceptions in fetch incidents (#7559)
Itay4 Jun 16, 2020
52b7226
reverting unrelated changes (#7591)
roysagi Jun 16, 2020
10226f8
Deprecated old Dedup test playbook (#7586)
dantavori Jun 16, 2020
41663b2
Move RegPathReputationBasicLists test to D2 pack (#7619)
dantavori Jun 16, 2020
57a4e4c
skip validate files on nightly run (#7617)
yuvalbenshalom Jun 16, 2020
f95979f
Run zipping packs only on master (#7616)
IkaDemisto Jun 16, 2020
e36d657
cleaning mock debug prints (#7439)
ShahafBenYakir Jun 16, 2020
12b5381
Changed integrations key to integration (#7566)
ShahafBenYakir Jun 16, 2020
ff6d199
Flake8 phase9 (#7602)
jochman Jun 17, 2020
ee7b8d9
Flake8 phase11 (#7603)
jochman Jun 17, 2020
ce0d747
Flake8 phase 7 (#7551)
jochman Jun 17, 2020
88c4440
Flake8 phase2 (#7521)
jochman Jun 17, 2020
c2eac42
Powershall howto cleanup (#7286)
ShahafBenYakir Jun 17, 2020
4b4a7a5
Hello world fetch incidents addition (#7214)
reutshal Jun 17, 2020
1778e62
Integration instance config (#7422)
teizenman Jun 17, 2020
194f789
Make conf json redundant (#7124)
ronykoz Jun 17, 2020
ce5dfbe
Mongodb: nested dicts fix (#7625)
jochman Jun 17, 2020
18e57f3
ServiceNow - added retry mechanism for status code 401 (#7614)
Itay4 Jun 17, 2020
0632a0f
Adding documentaion
Jun 4, 2020
dab95c7
Support AWS Security Groups with only one ingress rule (#7592) (#7626)
content-bot Jun 17, 2020
aa59c57
Documentation fixes (#7507)
glicht Jun 17, 2020
41834ed
Fix cfw extra arg (#7628)
jochman Jun 17, 2020
3f31c2c
Flake8 phase10 (#7604)
jochman Jun 17, 2020
13024e5
csp bugfix (#7472)
guyfreund Jun 17, 2020
8c23dc7
Merge branch 'hod/carbon_black_doc'
Jun 17, 2020
b499b23
[HelloWorld] Minor yml update (#7448) (#7630)
content-bot Jun 17, 2020
ee6de56
Okta zones - playbook and enhancement (#7620)
content-bot Jun 17, 2020
f4dac5b
SentinelOne v2 - improve date string handling (#7612)
Itay4 Jun 18, 2020
e5f8c16
Add ML collect data script (#7621)
Jun 18, 2020
51f565f
Update configure_and_test_integration_instances.py (#7645)
yaakovi Jun 18, 2020
3c0e9eb
RedCanary - improve endpoint context standard handling (#7636)
Itay4 Jun 18, 2020
25c4a33
removed resource class (#7642)
yaakovi Jun 18, 2020
e0c6dec
set entities timeframe to 1 hour and skip in case no entities found (…
Itay4 Jun 18, 2020
0bc1202
SecureWorks - enhance README with incident fetch details (#7595)
Itay4 Jun 18, 2020
aa487f5
Fixed recently created release notes files to new standard (#7644)
yaakovi Jun 18, 2020
b9edbf9
Pcapminer v2 post fix (#7150)
orlichter1 Jun 18, 2020
7d52d14
Added client re-creation to prevent api-key expiration (#7648)
ShahafBenYakir Jun 18, 2020
26df22d
Added https connection and SSL verification (#7631)
ShahafBenYakir Jun 18, 2020
b0a0253
timestamp_to_datestring uses `utcfromtimestamp` (#7488)
content-bot Jun 18, 2020
d9b2e12
Remove deprecated CloseInvestigation task from playbooks (#7653)
dantavori Jun 18, 2020
e5cc538
Add a new pack for HIPAA (#7382)
altmannyarden Jun 18, 2020
24ed740
Adding pagination mechanism for url logs request (#7277)
hod-alpert Jun 19, 2020
9a4b73b
symantec dlp: permissions section (#7581)
glicht Jun 19, 2020
c3fdfb0
Microsoft Defender ATP - set scope to default (#7647)
Itay4 Jun 21, 2020
4edb4d8
Added logs for uncommited items (#7607)
hod-alpert Jun 21, 2020
2449503
Added support for exclude passed checks (#7501)
teizenman Jun 21, 2020
d8831d0
CDL - set temp creds dbfile (#7659)
Itay4 Jun 21, 2020
46557c8
add packs tags (#7651)
David-BMS Jun 21, 2020
03dc3d5
remove test playbook from skipped tests (#7548)
gal-berger Jun 21, 2020
c83d753
[infocyte-604] Infocyte Pack (#7480) (#7666)
content-bot Jun 21, 2020
0e80358
Cortex xdr enhancement (#7262)
gal-berger Jun 21, 2020
164877f
Instance test enhancments (#7624)
ShahafBenYakir Jun 21, 2020
e961038
Microsoft Teams - handle notifications from server (#7661)
Itay4 Jun 21, 2020
6548035
Slack skip setting loop in long running container (#7664)
liorblob Jun 21, 2020
e517d6a
Added playbook image to playbook read me (#7668)
altmannyarden Jun 21, 2020
adabdb7
fixed the dag configuration test playbooks (#7473)
Jun 21, 2020
462d0fc
New playbooks for XDR incident handling & XDR Malware (#7635)
mayagoldb Jun 21, 2020
02bc984
[group-ib-942] Polygon Integration (#7665)
content-bot Jun 21, 2020
c53cc85
Multiple changes to Process Email - Generic + Core (headers, HTML fix…
idovandijk Jun 21, 2020
6590bc7
Add 'multiple' Command Argument to Zscaler's 'url' command (#7618)
avidan-H Jun 21, 2020
b2f3416
Contrib/crestdatasys chronicle enhancement (#7534) (#7672)
content-bot Jun 21, 2020
ac0c8eb
To ISO Format Transformer (#7535)
avidan-H Jun 21, 2020
c7e94d2
Eli/xdr iocs fix (#7518)
Jun 21, 2020
28755b4
fixed pack ignore format (#7671)
reutshal Jun 21, 2020
85d09c4
Fixed pack usescases (#7623)
idovandijk Jun 21, 2020
59995f0
Updating deprecated scripts in McAfee & CrowdStrike playbooks (#7609)
EliorKedar Jun 21, 2020
a439107
added zoomfeed (#7676)
teizenman Jun 21, 2020
3e0f43b
Lost or Stolen Device - Technical writer review over the playbook tas…
EliorKedar Jun 21, 2020
85b1386
Added a change that allows phishing incidents to display email header…
idovandijk Jun 21, 2020
194dfcb
removed caching in all blob objects (#7677)
IkaDemisto Jun 21, 2020
92315de
Add port association (#7680)
David-BMS Jun 21, 2020
11987a1
google k8s engine integration (#6907)
GalRabin Jun 22, 2020
b977ecc
move mitre indicatortype and field from mitre pack to common pack (#7…
bakatzir Jun 22, 2020
2bedc33
added QuestKace - Beta (#7085)
orhovy Jun 22, 2020
29a6b68
Fixed list handling in add category and url (#7588)
ShahafBenYakir Jun 22, 2020
ab23bf0
Detonate File Lastline v2 bugfix (#7580)
guyfreund Jun 22, 2020
02baf24
Sane doc reports (#7641)
Jun 22, 2020
49a67b2
Update sane-pdf-reports docker tag - bug fixes (#7660)
Jun 22, 2020
4961e21
Cofense Inteligence - Unskip test (#7649)
orlichter1 Jun 22, 2020
d8cfe68
Fix microsoft test playbook (#7656)
barchen1 Jun 22, 2020
45498d5
EWS O365 expanded changelog (#7686)
DeanArbel Jun 22, 2020
0373428
Release notes for cortex XDR new playbooks (#7690)
mayagoldb Jun 22, 2020
a2a8c66
snow v2 - Fixed the test button to work with debug mode (#7694)
bakatzir Jun 22, 2020
99b1094
fixed f string (#7699)
jochman Jun 22, 2020
ddaf597
Fix configure instances fromversion compare (#7282)
ronykoz Jun 22, 2020
02f1f59
NozomiGuardian Integration Same As Closed PR #7112 (#7701)
content-bot Jun 22, 2020
2a4d34e
New RN summary (#7133)
dantavori Jun 23, 2020
e38741e
Microsoft azure feed (#7715)
content-bot Jun 23, 2020
c1f3a27
Workday (#7478)
Bargenish Jun 23, 2020
945f777
pan-os-edl-docs1 (#7510)
bakatzir Jun 23, 2020
c9cd88c
Revert base fix (#7717)
amshamah419 Jun 23, 2020
0f628b5
skiping XDR iocs test (#7719)
Jun 23, 2020
e67c091
Test
Jun 23, 2020
78d8d30
Conflicts resolve
Jun 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
78 changes: 50 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ jobs:
build:
docker:
- image: devdemisto/content-build:3.0.0.7332 # disable-secrets-detection
resource_class: medium+
parallelism: 2
environment:
CONTENT_VERSION: "20.5.3"
CONTENT_VERSION: "20.6.0"
SERVER_VERSION: "5.5.0"
GIT_SHA1: "bb4ac8b7943a6cba0c22935ebad6b6e17939840d" # guardrails-disable-line disable-secrets-detection
GIT_SHA1: "63646dff0fba977f91d6d9fc2d7fd233bfb5561b" # guardrails-disable-line disable-secrets-detection
steps:
- checkout
- setup_remote_docker
Expand Down Expand Up @@ -88,6 +87,17 @@ jobs:
else
echo ".circleci/config.yml is up to date!"
fi
- run:
name: Update Tests step
when: always
command: |
if [ $CIRCLE_NODE_INDEX -ne 0 ] ;
then
echo "Skipping - running only in container number 0"
exit 0
fi
python3 ./Tests/scripts/update_conf_json.py
cp "./Tests/conf.json" "$CIRCLE_ARTIFACTS/conf.json"
- run:
name: Create ID Set
when: always
Expand Down Expand Up @@ -116,9 +126,9 @@ jobs:
name: Validate Files and Yaml
when: always
command: |
if [ -n "${INSTANCE_TESTS}" ] || [ $CIRCLE_NODE_INDEX -ne 0 ] ;
if [ -n "${INSTANCE_TESTS}" ] || [ $CIRCLE_NODE_INDEX -ne 0 ] || [ -n "${NIGHTLY}" ];
then
echo "Skipping - not running in INSTANCE_TESTS build or unit-tests container"
echo "Skipping - not running in INSTANCE_TESTS build or unit-tests container or Nightly run"
exit 0
fi

Expand Down Expand Up @@ -171,10 +181,14 @@ jobs:
fi
if [ -n "${GITHUB_TOKEN}" ] ;
then
python3 release_notes.py $CONTENT_VERSION $GIT_SHA1 $CIRCLE_BUILD_NUM $SERVER_VERSION --github-token $GITHUB_TOKEN
# python3 release_notes.py $CONTENT_VERSION $GIT_SHA1 $CIRCLE_BUILD_NUM $SERVER_VERSION --github-token $GITHUB_TOKEN || echo "ignore errors"
# new release notes summary generator in packs format
python3 Utils/release_notes_generator.py $CONTENT_VERSION $GIT_SHA1 $CIRCLE_BUILD_NUM --output $CIRCLE_ARTIFACTS/packs-release-notes.md --github-token $GITHUB_TOKEN

else
python3 release_notes.py $CONTENT_VERSION $GIT_SHA1 $CIRCLE_BUILD_NUM $SERVER_VERSION
# python3 release_notes.py $CONTENT_VERSION $GIT_SHA1 $CIRCLE_BUILD_NUM $SERVER_VERSION || echo "ignore errors"
# new release notes summary generator in packs format
python3 Utils/release_notes_generator.py $CONTENT_VERSION $GIT_SHA1 $CIRCLE_BUILD_NUM --output $CIRCLE_ARTIFACTS/packs-release-notes.md
fi
- run:
name: Common Server Documentation
Expand Down Expand Up @@ -309,25 +323,11 @@ jobs:
echo 'Skipping - running only in container number 0.'
exit 0;
fi
./Tests/scripts/prepare_content_packs_for_testing.sh
- run:
name: Zip Content Packs From GCS
command: |
if [[ $CIRCLE_BRANCH =~ pull/[0-9]+ ]]; then
echo "Skipping, Should not run on contributor's branch."
exit 0
fi
if [ $CIRCLE_NODE_INDEX -ne 0 ] ;
then
echo 'Skipping - running only in container number 0.'
exit 0;
fi
GCS_PATH=$(mktemp)
ZIP_FOLDER=$(mktemp -d)
echo $GCS_MARKET_KEY > $GCS_PATH
python3 ./Tests/Marketplace/zip_packs.py -b 'marketplace-ci-build' -z $ZIP_FOLDER -a $CIRCLE_ARTIFACTS -s $GCS_PATH -n $CIRCLE_BUILD_NUM -br $CIRCLE_BRANCH
rm $GCS_PATH
when: always
./Tests/scripts/prepare_content_packs_for_testing.sh
- store_artifacts:
path: artifacts
destination: artifacts
Expand All @@ -352,7 +352,7 @@ jobs:
export IFRA_ENV_TYPE=Nightly # disable-secrets-detection
elif [ -n "${INSTANCE_TESTS}" ] ;
then
export IFRA_ENV_TYPE="Demisto Marketplace" # disable-secrets-detection
export IFRA_ENV_TYPE="Demisto PreGA" # disable-secrets-detection

else
export IFRA_ENV_TYPE=Content-Env # disable-secrets-detection
Expand Down Expand Up @@ -476,9 +476,9 @@ jobs:
echo "Skipping instance tests for forked PRs"
exit 0
fi
if [ -n "${INSTANCE_TESTS}" ] || [ $CIRCLE_NODE_INDEX -ne 0 ] ;
if [ -n "${INSTANCE_TESTS}" ] || [ $CIRCLE_NODE_INDEX -ne 0 ] || [ -n "${NIGHTLY}" ];
then
echo "Skipping - not running in INSTANCE_TESTS build or unit-tests container"
echo "Skipping - not running in INSTANCE_TESTS build, unit-tests container or Nightly run"
exit 0
fi
export TEMP=$(cat ./Tests/filter_envs.json | jq '."Demisto PreGA"')
Expand Down Expand Up @@ -508,9 +508,9 @@ jobs:
echo "Skipping instance tests for forked PRs"
exit 0
fi
if [ -n "${INSTANCE_TESTS}" ] || [ $CIRCLE_NODE_INDEX -ne 0 ] || [ -n "${NIGHTLY}" ];
if [ -n "${INSTANCE_TESTS}" ] || [ $CIRCLE_NODE_INDEX -ne 0 ] ;
then
echo "Skipping - not running in INSTANCE_TESTS build, unit-tests container or Nightly run"
echo "Skipping - not running in INSTANCE_TESTS build or unit-tests container"
exit 0
fi
export TEMP=$(cat ./Tests/filter_envs.json | jq '."Demisto Marketplace"')
Expand Down Expand Up @@ -556,6 +556,9 @@ jobs:
if [ -n "${INSTANCE_TESTS}" ] && [ $CIRCLE_NODE_INDEX -ne 1 ] ;
then
./Tests/scripts/instance_test.sh
export RETVAL=$?
cp ./Tests/failed_instances.txt $CIRCLE_ARTIFACTS/failed_instances.txt
exit $RETVAL
else
echo "Skipping instance tests"
exit 0
Expand Down Expand Up @@ -599,9 +602,28 @@ jobs:
ID_SET=$CIRCLE_ARTIFACTS/id_set.json
GCS_PATH=$(mktemp)
echo $GCS_MARKET_KEY > $GCS_PATH
python3 ./Tests/Marketplace/upload_packs.py -a $PACK_ARTIFACTS -e $EXTRACT_FOLDER -b 'marketplace-dist' -d $PACKS_DEPENDENCIES -i $ID_SET -s $GCS_PATH -n $CIRCLE_BUILD_NUM -k $PACK_SIGNING_KEY -pb 'marketplace-dist-private' -o
python3 ./Tests/Marketplace/upload_packs.py -a $PACK_ARTIFACTS -e $EXTRACT_FOLDER -b 'marketplace-dist' -d $PACKS_DEPENDENCIES -i $ID_SET -s $GCS_PATH -n $CIRCLE_BUILD_NUM -k $PACK_SIGNING_KEY -pb 'marketplace-dist-private'
rm $GCS_PATH
when: on_success
- run:
name: Zip Content Packs From GCS
command: |
if [[ $CIRCLE_BRANCH != master ]]; then
echo "Skipping packs zipping on non master branch"
exit 0
fi

if [ $CIRCLE_NODE_INDEX -ne 0 ] ;
then
echo 'Skipping - running only in container number 0.'
exit 0;
fi
GCS_PATH=$(mktemp)
ZIP_FOLDER=$(mktemp -d)
echo $GCS_MARKET_KEY > $GCS_PATH
python3 ./Tests/Marketplace/zip_packs.py -b 'marketplace-dist' -z $ZIP_FOLDER -a $CIRCLE_ARTIFACTS -s $GCS_PATH -gp content/packs -rt False
rm $GCS_PATH
when: always
- store_artifacts:
path: artifacts
destination: artifacts
Expand Down
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

Loading