.drone.yml 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298
  1. kind: pipeline
  2. name: jsunit
  3. steps:
  4. - name: jsunit
  5. image: nextcloudci/jsunit:jsunit-5
  6. commands:
  7. - ./autotest-js.sh
  8. - curl -o codecov.sh https://codecov.io/bash
  9. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
  10. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
  11. trigger:
  12. branch:
  13. - master
  14. - stable*
  15. event:
  16. - pull_request
  17. - push
  18. ---
  19. kind: pipeline
  20. name: webpack-build
  21. steps:
  22. - name: build
  23. image: nextcloudci/node:node-4
  24. commands:
  25. - npm ci
  26. - npm run build
  27. - name: changes
  28. image: nextcloudci/node:node-4
  29. commands:
  30. - git status
  31. - bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )"
  32. trigger:
  33. branch:
  34. - master
  35. - stable*
  36. event:
  37. - pull_request
  38. - push
  39. ---
  40. kind: pipeline
  41. name: checkers
  42. steps:
  43. - name: submodules
  44. image: docker:git
  45. commands:
  46. - git submodule update --init
  47. - name: checkers
  48. image: nextcloudci/php7.2:php7.2-13
  49. commands:
  50. - ./autotest-checkers.sh
  51. secrets: [ github_token ]
  52. trigger:
  53. branch:
  54. - master
  55. - stable*
  56. event:
  57. - pull_request
  58. - push
  59. ---
  60. kind: pipeline
  61. name: handlebars
  62. steps:
  63. - name: handlebars
  64. image: node
  65. commands:
  66. - npm i
  67. - ./build/compile-handlebars-templates.sh
  68. trigger:
  69. branch:
  70. - master
  71. - stable*
  72. event:
  73. - pull_request
  74. - push
  75. ---
  76. kind: pipeline
  77. name: syntax-and-phan
  78. steps:
  79. - name: submodules
  80. image: docker:git
  81. commands:
  82. - git submodule update --init
  83. - name: syntax-php7.2
  84. image: nextcloudci/php7.2:php7.2-13
  85. commands:
  86. - composer install
  87. - ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php --exclude 3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php .
  88. - name: syntax-php7.3
  89. image: nextcloudci/php7.3:php7.3-4
  90. commands:
  91. - composer install
  92. - ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php --exclude 3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php .
  93. - name: syntax-php7.4
  94. image: nextcloudci/php7.4:2
  95. commands:
  96. - composer install
  97. - ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php --exclude 3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php .
  98. #- name: phan
  99. # image: nextcloudci/php7.2:php7.2-13
  100. # commands:
  101. # - composer install
  102. # - composer require --dev "phan/phan:0.11.1"
  103. # - ./lib/composer/phan/phan/phan -k build/.phan/config.php
  104. # - php ./build/.phan/plugin-checker.php
  105. trigger:
  106. branch:
  107. - master
  108. - stable*
  109. event:
  110. - pull_request
  111. - push
  112. ---
  113. kind: pipeline
  114. name: litmus
  115. steps:
  116. - name: submodules
  117. image: docker:git
  118. commands:
  119. - git submodule update --init
  120. - name: litmus-v1
  121. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  122. commands:
  123. - bash tests/travis/install.sh sqlite
  124. - bash apps/dav/tests/travis/litmus-v1/script.sh
  125. - name: litmus-v2
  126. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  127. commands:
  128. - bash tests/travis/install.sh sqlite
  129. - bash apps/dav/tests/travis/litmus-v2/script.sh
  130. trigger:
  131. branch:
  132. - master
  133. - stable*
  134. event:
  135. - pull_request
  136. - push
  137. ---
  138. kind: pipeline
  139. name: caldavtester-new-endpoint
  140. steps:
  141. - name: submodules
  142. image: docker:git
  143. commands:
  144. - git submodule update --init
  145. - name: caldavtester-new-endpoint
  146. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  147. commands:
  148. - bash tests/travis/install.sh sqlite
  149. - bash apps/dav/tests/travis/caldav/install.sh
  150. - bash apps/dav/tests/travis/caldav/script-new-endpoint.sh
  151. trigger:
  152. branch:
  153. - master
  154. - stable*
  155. event:
  156. - pull_request
  157. - push
  158. ---
  159. kind: pipeline
  160. name: caldavtester-old-endpoint
  161. steps:
  162. - name: submodules
  163. image: docker:git
  164. commands:
  165. - git submodule update --init
  166. - name: caldavtester-old-endpoint
  167. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  168. commands:
  169. - bash tests/travis/install.sh sqlite
  170. - bash apps/dav/tests/travis/caldav/install.sh
  171. - bash apps/dav/tests/travis/caldav/script-old-endpoint.sh
  172. trigger:
  173. branch:
  174. - master
  175. - stable*
  176. event:
  177. - pull_request
  178. - push
  179. ---
  180. kind: pipeline
  181. name: carddavtester-new-endpoint
  182. steps:
  183. - name: submodules
  184. image: docker:git
  185. commands:
  186. - git submodule update --init
  187. - name: carddavtester-new-endpoint
  188. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  189. commands:
  190. - bash tests/travis/install.sh sqlite
  191. - bash apps/dav/tests/travis/carddav/install.sh
  192. - bash apps/dav/tests/travis/carddav/script-new-endpoint.sh
  193. trigger:
  194. branch:
  195. - master
  196. - stable*
  197. event:
  198. - pull_request
  199. - push
  200. ---
  201. kind: pipeline
  202. name: carddavtester-old-endpoint
  203. steps:
  204. - name: submodules
  205. image: docker:git
  206. commands:
  207. - git submodule update --init
  208. - name: carddavtester-old-endpoint
  209. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  210. commands:
  211. - bash tests/travis/install.sh sqlite
  212. - bash apps/dav/tests/travis/carddav/install.sh
  213. - bash apps/dav/tests/travis/carddav/script-old-endpoint.sh
  214. trigger:
  215. branch:
  216. - master
  217. - stable*
  218. event:
  219. - pull_request
  220. - push
  221. ---
  222. kind: pipeline
  223. name: samba
  224. steps:
  225. - name: submodules
  226. image: docker:git
  227. commands:
  228. - git submodule update --init
  229. - name: sqlite-php7.3-samba-native
  230. image: nextcloudci/samba-native-php7.3:samba-native-php7.3-1
  231. commands:
  232. - smbd -D -FS &
  233. - ./autotest-external.sh sqlite smb-linux
  234. - wget https://codecov.io/bash -O codecov.sh
  235. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  236. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  237. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  238. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  239. - name: sqlite-php7.3-samba-non-native
  240. image: nextcloudci/samba-non-native-php7.3:samba-non-native-php7.3-1
  241. commands:
  242. - smbd -D -FS &
  243. - ./autotest-external.sh sqlite smb-linux
  244. - wget https://codecov.io/bash -O codecov.sh
  245. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  246. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  247. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  248. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  249. trigger:
  250. branch:
  251. - master
  252. - stable*
  253. event:
  254. - pull_request
  255. - push
  256. ---
  257. kind: pipeline
  258. name: sqlite-php7.3-webdav-apache
  259. steps:
  260. - name: submodules
  261. image: docker:git
  262. commands:
  263. - git submodule update --init
  264. - name: sqlite-php7.3-webdav-apache
  265. image: nextcloudci/webdav-apache-php7.3:webdav-apache-php7.3-3
  266. commands:
  267. - apache2
  268. - ./autotest-external.sh sqlite webdav-apachedrone
  269. - wget https://codecov.io/bash -O codecov.sh
  270. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  271. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  272. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-webdav-apachedrone.xml; fi"
  273. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-webdav-apachedrone.xml; fi"
  274. services:
  275. - name: cache
  276. image: redis
  277. trigger:
  278. branch:
  279. - master
  280. - stable*
  281. event:
  282. - pull_request
  283. - push
  284. ---
  285. kind: pipeline
  286. name: nodb
  287. steps:
  288. - name: submodules
  289. image: docker:git
  290. commands:
  291. - git submodule update --init
  292. - name: nodb-php7.2
  293. image: nextcloudci/php7.2:php7.2-13
  294. commands:
  295. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  296. - name: nodb-php7.3
  297. image: nextcloudci/php7.3:php7.3-4
  298. commands:
  299. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  300. - name: nodb-php7.4
  301. image: nextcloudci/php7.4:2
  302. commands:
  303. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  304. services:
  305. - name: cache
  306. image: redis
  307. trigger:
  308. branch:
  309. - master
  310. - stable*
  311. event:
  312. - pull_request
  313. - push
  314. ---
  315. kind: pipeline
  316. name: sqlite
  317. steps:
  318. - name: submodules
  319. image: docker:git
  320. commands:
  321. - git submodule update --init
  322. - name: sqlite-php7.2
  323. image: nextcloudci/php7.2:php7.2-13
  324. commands:
  325. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  326. - name: sqlite-php7.3
  327. image: nextcloudci/php7.3:php7.3-4
  328. commands:
  329. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  330. - name: sqlite-php7.4
  331. image: nextcloudci/php7.4:2
  332. commands:
  333. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  334. services:
  335. - name: cache
  336. image: redis
  337. trigger:
  338. branch:
  339. - master
  340. - stable*
  341. event:
  342. - pull_request
  343. - push
  344. ---
  345. kind: pipeline
  346. name: mariadb10.1-php7.2
  347. steps:
  348. - name: submodules
  349. image: docker:git
  350. commands:
  351. - git submodule update --init
  352. - name: mariadb10.1-php7.2
  353. image: nextcloudci/php7.2:php7.2-13
  354. commands:
  355. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  356. services:
  357. - name: cache
  358. image: redis
  359. - name: mariadb
  360. image: mariadb:10.1
  361. environment:
  362. MYSQL_ROOT_PASSWORD: owncloud
  363. MYSQL_USER: oc_autotest
  364. MYSQL_PASSWORD: owncloud
  365. MYSQL_DATABASE: oc_autotest
  366. tmpfs:
  367. - /var/lib/mysql
  368. trigger:
  369. branch:
  370. - master
  371. - stable*
  372. event:
  373. - pull_request
  374. - push
  375. ---
  376. kind: pipeline
  377. name: mariadb10.2-php7.2
  378. steps:
  379. - name: submodules
  380. image: docker:git
  381. commands:
  382. - git submodule update --init
  383. - name: mariadb10.2-php7.2
  384. image: nextcloudci/php7.2:php7.2-13
  385. commands:
  386. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  387. services:
  388. - name: cache
  389. image: redis
  390. - name: mariadb
  391. image: mariadb:10.2
  392. environment:
  393. MYSQL_ROOT_PASSWORD: owncloud
  394. MYSQL_USER: oc_autotest
  395. MYSQL_PASSWORD: owncloud
  396. MYSQL_DATABASE: oc_autotest
  397. tmpfs:
  398. - /var/lib/mysql
  399. trigger:
  400. branch:
  401. - master
  402. - stable*
  403. event:
  404. - push
  405. ---
  406. kind: pipeline
  407. name: mariadb10.3-php7.2
  408. steps:
  409. - name: submodules
  410. image: docker:git
  411. commands:
  412. - git submodule update --init
  413. - name: mariadb10.3-php7.2
  414. image: nextcloudci/php7.2:php7.2-13
  415. commands:
  416. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  417. services:
  418. - name: cache
  419. image: redis
  420. - name: mariadb
  421. image: mariadb:10.3
  422. environment:
  423. MYSQL_ROOT_PASSWORD: owncloud
  424. MYSQL_USER: oc_autotest
  425. MYSQL_PASSWORD: owncloud
  426. MYSQL_DATABASE: oc_autotest
  427. tmpfs:
  428. - /var/lib/mysql
  429. trigger:
  430. branch:
  431. - master
  432. - stable*
  433. event:
  434. - push
  435. ---
  436. kind: pipeline
  437. name: mariadb10.4-php7.3
  438. steps:
  439. - name: submodules
  440. image: docker:git
  441. commands:
  442. - git submodule update --init
  443. - name: mariadb10.4-php7.3
  444. image: nextcloudci/php7.3:php7.3-4
  445. commands:
  446. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  447. services:
  448. - name: cache
  449. image: redis
  450. - name: mariadb
  451. image: mariadb:10.4
  452. environment:
  453. MYSQL_ROOT_PASSWORD: owncloud
  454. MYSQL_USER: oc_autotest
  455. MYSQL_PASSWORD: owncloud
  456. MYSQL_DATABASE: oc_autotest
  457. tmpfs:
  458. - /var/lib/mysql
  459. trigger:
  460. branch:
  461. - master
  462. - stable*
  463. event:
  464. - pull_request
  465. - push
  466. ---
  467. kind: pipeline
  468. name: mysql8.0-php7.2
  469. steps:
  470. - name: submodules
  471. image: docker:git
  472. commands:
  473. - git submodule update --init
  474. - name: mysql-php7.2
  475. image: nextcloudci/php7.2:php7.2-13
  476. commands:
  477. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  478. services:
  479. - name: cache
  480. image: redis
  481. - name: mysql
  482. image: mysql:8.0
  483. command: [ "--default-authentication-plugin=mysql_native_password" ]
  484. environment:
  485. MYSQL_ROOT_PASSWORD: owncloud
  486. MYSQL_USER: oc_autotest
  487. MYSQL_PASSWORD: owncloud
  488. MYSQL_DATABASE: oc_autotest
  489. tmpfs:
  490. - /var/lib/mysql
  491. trigger:
  492. branch:
  493. - master
  494. - stable*
  495. event:
  496. - pull_request
  497. - push
  498. ---
  499. kind: pipeline
  500. name: mysql5.7-php7.2
  501. steps:
  502. - name: submodules
  503. image: docker:git
  504. commands:
  505. - git submodule update --init
  506. - name: mysql-php7.2
  507. image: nextcloudci/php7.2:php7.2-13
  508. commands:
  509. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  510. services:
  511. - name: mysql
  512. image: mysql:5.7
  513. environment:
  514. MYSQL_ROOT_PASSWORD: owncloud
  515. MYSQL_USER: oc_autotest
  516. MYSQL_PASSWORD: owncloud
  517. MYSQL_DATABASE: oc_autotest
  518. tmpfs:
  519. - /var/lib/mysql
  520. trigger:
  521. branch:
  522. - master
  523. - stable*
  524. event:
  525. - push
  526. ---
  527. kind: pipeline
  528. name: mysql5.7-php7.3
  529. steps:
  530. - name: submodules
  531. image: docker:git
  532. commands:
  533. - git submodule update --init
  534. - name: mysql-php7.3
  535. image: nextcloudci/php7.3:php7.3-4
  536. commands:
  537. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  538. services:
  539. - name: mysql
  540. image: mysql:5.7
  541. environment:
  542. MYSQL_ROOT_PASSWORD: owncloud
  543. MYSQL_USER: oc_autotest
  544. MYSQL_PASSWORD: owncloud
  545. MYSQL_DATABASE: oc_autotest
  546. tmpfs:
  547. - /var/lib/mysql
  548. trigger:
  549. branch:
  550. - master
  551. - stable*
  552. event:
  553. - push
  554. ---
  555. kind: pipeline
  556. name: mysql5.6-php7.2
  557. steps:
  558. - name: submodules
  559. image: docker:git
  560. commands:
  561. - git submodule update --init
  562. - name: mysql5.6-php7.2
  563. image: nextcloudci/php7.2:php7.2-13
  564. commands:
  565. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  566. services:
  567. - name: cache
  568. image: redis
  569. - name: mysql
  570. image: mysql:5.6
  571. environment:
  572. MYSQL_ROOT_PASSWORD: owncloud
  573. MYSQL_USER: oc_autotest
  574. MYSQL_PASSWORD: owncloud
  575. MYSQL_DATABASE: oc_autotest
  576. tmpfs:
  577. - /var/lib/mysql
  578. trigger:
  579. branch:
  580. - master
  581. - stable*
  582. event:
  583. - pull_request
  584. - push
  585. ---
  586. kind: pipeline
  587. name: postgres9-php7.3
  588. steps:
  589. - name: submodules
  590. image: docker:git
  591. commands:
  592. - git submodule update --init
  593. - name: postgres-php7.3
  594. image: nextcloudci/php7.3:php7.3-4
  595. commands:
  596. - sleep 10 # gives the database enough time to initialize
  597. - POSTGRES=9 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  598. services:
  599. - name: cache
  600. image: redis
  601. - name: postgres-9
  602. image: postgres:9
  603. environment:
  604. POSTGRES_USER: oc_autotest
  605. POSTGRES_DB: oc_autotest_dummy
  606. POSTGRES_PASSWORD: owncloud
  607. tmpfs:
  608. - /var/lib/postgresql/data
  609. trigger:
  610. branch:
  611. - master
  612. - stable*
  613. event:
  614. - pull_request
  615. - push
  616. ---
  617. kind: pipeline
  618. name: postgres10-php7.2
  619. steps:
  620. - name: submodules
  621. image: docker:git
  622. commands:
  623. - git submodule update --init
  624. - name: postgres-php7.2
  625. image: nextcloudci/php7.2:php7.2-13
  626. commands:
  627. - sleep 10 # gives the database enough time to initialize
  628. - POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  629. services:
  630. - name: cache
  631. image: redis
  632. - name: postgres-10
  633. image: postgres:10
  634. environment:
  635. POSTGRES_USER: oc_autotest
  636. POSTGRES_DB: oc_autotest_dummy
  637. POSTGRES_PASSWORD: owncloud
  638. tmpfs:
  639. - /var/lib/postgresql/data
  640. trigger:
  641. branch:
  642. - master
  643. - stable*
  644. event:
  645. - push
  646. ---
  647. kind: pipeline
  648. name: postgres11-php7.2
  649. steps:
  650. - name: submodules
  651. image: docker:git
  652. commands:
  653. - git submodule update --init
  654. - name: postgres-php7.2
  655. image: nextcloudci/php7.2:php7.2-13
  656. commands:
  657. - sleep 10 # gives the database enough time to initialize
  658. - POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  659. services:
  660. - name: cache
  661. image: redis
  662. - name: postgres-11
  663. image: postgres:11
  664. environment:
  665. POSTGRES_USER: oc_autotest
  666. POSTGRES_DB: oc_autotest_dummy
  667. POSTGRES_PASSWORD: owncloud
  668. tmpfs:
  669. - /var/lib/postgresql/data
  670. trigger:
  671. branch:
  672. - master
  673. - stable*
  674. event:
  675. - pull_request
  676. - push
  677. ---
  678. kind: pipeline
  679. name: mysqlmb4-php7.2
  680. steps:
  681. - name: submodules
  682. image: docker:git
  683. commands:
  684. - git submodule update --init
  685. - name: mysqlmb4-php7.2
  686. image: nextcloudci/php7.2:php7.2-13
  687. commands:
  688. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
  689. services:
  690. - name: cache
  691. image: redis
  692. - name: mysqlmb4
  693. image: mysql:5.7.22
  694. environment:
  695. MYSQL_ROOT_PASSWORD: owncloud
  696. MYSQL_USER: oc_autotest
  697. MYSQL_PASSWORD: owncloud
  698. MYSQL_DATABASE: oc_autotest
  699. command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
  700. tmpfs:
  701. - /var/lib/mysql
  702. trigger:
  703. branch:
  704. - master
  705. - stable*
  706. event:
  707. - push
  708. ---
  709. kind: pipeline
  710. name: mysqlmb4-php7.3
  711. steps:
  712. - name: submodules
  713. image: docker:git
  714. commands:
  715. - git submodule update --init
  716. - name: mysqlmb4-php7.3
  717. image: nextcloudci/php7.3:php7.3-4
  718. commands:
  719. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
  720. services:
  721. - name: cache
  722. image: redis
  723. - name: mysqlmb4
  724. image: mysql:5.7.22
  725. environment:
  726. MYSQL_ROOT_PASSWORD: owncloud
  727. MYSQL_USER: oc_autotest
  728. MYSQL_PASSWORD: owncloud
  729. MYSQL_DATABASE: oc_autotest
  730. command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
  731. tmpfs:
  732. - /var/lib/mysql
  733. trigger:
  734. branch:
  735. - master
  736. - stable*
  737. event:
  738. - push
  739. ---
  740. kind: pipeline
  741. name: integration-capabilities_features
  742. steps:
  743. - name: submodules
  744. image: docker:git
  745. commands:
  746. - git submodule update --init
  747. - name: integration-capabilities_features
  748. image: nextcloudci/integration-php7.3:integration-php7.3-2
  749. commands:
  750. - bash tests/drone-run-integration-tests.sh || exit 0
  751. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  752. - cd build/integration
  753. - ./run.sh capabilities_features/capabilities.feature
  754. trigger:
  755. branch:
  756. - master
  757. - stable*
  758. event:
  759. - pull_request
  760. - push
  761. ---
  762. kind: pipeline
  763. name: integration-federation_features
  764. steps:
  765. - name: submodules
  766. image: docker:git
  767. commands:
  768. - git submodule update --init
  769. - name: integration-federation_features
  770. image: nextcloudci/integration-php7.3:integration-php7.3-2
  771. commands:
  772. - bash tests/drone-run-integration-tests.sh || exit 0
  773. - ./occ maintenance:install --admin-pass=admin
  774. - cd build/integration
  775. - ./run.sh federation_features/federated.feature
  776. trigger:
  777. branch:
  778. - master
  779. - stable*
  780. event:
  781. - pull_request
  782. - push
  783. ---
  784. kind: pipeline
  785. name: integration-auth
  786. steps:
  787. - name: submodules
  788. image: docker:git
  789. commands:
  790. - git submodule update --init
  791. - name: integration-auth
  792. image: nextcloudci/integration-php7.3:integration-php7.3-2
  793. commands:
  794. - bash tests/drone-run-integration-tests.sh || exit 0
  795. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  796. - cd build/integration
  797. - ./run.sh features/auth.feature
  798. trigger:
  799. branch:
  800. - master
  801. - stable*
  802. event:
  803. - pull_request
  804. - push
  805. ---
  806. kind: pipeline
  807. name: integration-maintenance-mode
  808. steps:
  809. - name: submodules
  810. image: docker:git
  811. commands:
  812. - git submodule update --init
  813. - name: integration-maintenance-mode
  814. image: nextcloudci/integration-php7.3:integration-php7.3-2
  815. commands:
  816. - bash tests/drone-run-integration-tests.sh || exit 0
  817. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  818. - cd build/integration
  819. - ./run.sh features/maintenance-mode.feature
  820. trigger:
  821. branch:
  822. - master
  823. - stable*
  824. event:
  825. - pull_request
  826. - push
  827. ---
  828. kind: pipeline
  829. name: integration-ratelimiting
  830. steps:
  831. - name: submodules
  832. image: docker:git
  833. commands:
  834. - git submodule update --init
  835. - name: integration-ratelimiting
  836. image: nextcloudci/integration-php7.3:integration-php7.3-2
  837. commands:
  838. - bash tests/drone-run-integration-tests.sh || exit 0
  839. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  840. - ./occ config:system:set redis host --value=cache
  841. - ./occ config:system:set redis port --value=6379 --type=integer
  842. - ./occ config:system:set redis timeout --value=0 --type=integer
  843. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  844. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  845. - ./occ app:enable testing
  846. - cd build/integration
  847. - ./run.sh features/ratelimiting.feature
  848. services:
  849. - name: cache
  850. image: redis
  851. trigger:
  852. branch:
  853. - master
  854. - stable*
  855. event:
  856. - pull_request
  857. - push
  858. ---
  859. kind: pipeline
  860. name: integration-carddav
  861. steps:
  862. - name: submodules
  863. image: docker:git
  864. commands:
  865. - git submodule update --init
  866. - name: integration-carddav
  867. image: nextcloudci/integration-php7.3:integration-php7.3-2
  868. commands:
  869. - bash tests/drone-run-integration-tests.sh || exit 0
  870. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  871. - cd build/integration
  872. - ./run.sh features/carddav.feature
  873. trigger:
  874. branch:
  875. - master
  876. - stable*
  877. event:
  878. - pull_request
  879. - push
  880. ---
  881. kind: pipeline
  882. name: integration-dav-v2
  883. steps:
  884. - name: submodules
  885. image: docker:git
  886. commands:
  887. - git submodule update --init
  888. - name: integration-dav-v2
  889. image: nextcloudci/integration-php7.3:integration-php7.3-2
  890. commands:
  891. - bash tests/drone-run-integration-tests.sh || exit 0
  892. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  893. - cd build/integration
  894. - ./run.sh features/dav-v2.feature
  895. trigger:
  896. branch:
  897. - master
  898. - stable*
  899. event:
  900. - pull_request
  901. - push
  902. ---
  903. kind: pipeline
  904. name: integration-ocs-v1
  905. steps:
  906. - name: submodules
  907. image: docker:git
  908. commands:
  909. - git submodule update --init
  910. - name: integration-ocs-v1
  911. image: nextcloudci/integration-php7.3:integration-php7.3-2
  912. commands:
  913. - bash tests/drone-run-integration-tests.sh || exit 0
  914. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  915. - cd build/integration
  916. - ./run.sh features/ocs-v1.feature
  917. trigger:
  918. branch:
  919. - master
  920. - stable*
  921. event:
  922. - pull_request
  923. - push
  924. ---
  925. kind: pipeline
  926. name: integration-checksums-v1
  927. steps:
  928. - name: submodules
  929. image: docker:git
  930. commands:
  931. - git submodule update --init
  932. - name: integration-checksums-v1
  933. image: nextcloudci/integration-php7.3:integration-php7.3-2
  934. commands:
  935. - bash tests/drone-run-integration-tests.sh || exit 0
  936. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  937. - cd build/integration
  938. - ./run.sh features/checksums.feature
  939. trigger:
  940. branch:
  941. - master
  942. - stable*
  943. event:
  944. - pull_request
  945. - push
  946. ---
  947. kind: pipeline
  948. name: integration-external-storage
  949. steps:
  950. - name: submodules
  951. image: docker:git
  952. commands:
  953. - git submodule update --init
  954. - name: integration-external-storage
  955. image: nextcloudci/integration-php7.3:integration-php7.3-2
  956. commands:
  957. - bash tests/drone-run-integration-tests.sh || exit 0
  958. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  959. - cd build/integration
  960. - ./run.sh features/external-storage.feature
  961. trigger:
  962. branch:
  963. - master
  964. - stable*
  965. event:
  966. - pull_request
  967. - push
  968. ---
  969. kind: pipeline
  970. name: integration-provisioning-v1
  971. steps:
  972. - name: submodules
  973. image: docker:git
  974. commands:
  975. - git submodule update --init
  976. - name: integration-provisioning-v1
  977. image: nextcloudci/integration-php7.3:integration-php7.3-2
  978. commands:
  979. - bash tests/drone-run-integration-tests.sh || exit 0
  980. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  981. - cd build/integration
  982. - ./run.sh features/provisioning-v1.feature
  983. trigger:
  984. branch:
  985. - master
  986. - stable*
  987. event:
  988. - pull_request
  989. - push
  990. ---
  991. kind: pipeline
  992. name: integration-tags
  993. steps:
  994. - name: submodules
  995. image: docker:git
  996. commands:
  997. - git submodule update --init
  998. - name: integration-tags
  999. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1000. commands:
  1001. - bash tests/drone-run-integration-tests.sh || exit 0
  1002. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1003. - cd build/integration
  1004. - ./run.sh features/tags.feature
  1005. trigger:
  1006. branch:
  1007. - master
  1008. - stable*
  1009. event:
  1010. - pull_request
  1011. - push
  1012. ---
  1013. kind: pipeline
  1014. name: integration-caldav
  1015. steps:
  1016. - name: submodules
  1017. image: docker:git
  1018. commands:
  1019. - git submodule update --init
  1020. - name: integration-caldav
  1021. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1022. commands:
  1023. - bash tests/drone-run-integration-tests.sh || exit 0
  1024. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1025. - cd build/integration
  1026. - ./run.sh features/caldav.feature
  1027. trigger:
  1028. branch:
  1029. - master
  1030. - stable*
  1031. event:
  1032. - pull_request
  1033. - push
  1034. ---
  1035. kind: pipeline
  1036. name: integration-comments
  1037. steps:
  1038. - name: submodules
  1039. image: docker:git
  1040. commands:
  1041. - git submodule update --init
  1042. - name: integration-comments
  1043. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1044. commands:
  1045. - bash tests/drone-run-integration-tests.sh || exit 0
  1046. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1047. - cd build/integration
  1048. - ./run.sh features/comments.feature
  1049. trigger:
  1050. branch:
  1051. - master
  1052. - stable*
  1053. event:
  1054. - pull_request
  1055. - push
  1056. ---
  1057. kind: pipeline
  1058. name: integration-comments-search
  1059. steps:
  1060. - name: submodules
  1061. image: docker:git
  1062. commands:
  1063. - git submodule update --init
  1064. - name: integration-comments-search
  1065. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1066. commands:
  1067. - bash tests/drone-run-integration-tests.sh || exit 0
  1068. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1069. - cd build/integration
  1070. - ./run.sh features/comments-search.feature
  1071. trigger:
  1072. branch:
  1073. - master
  1074. - stable*
  1075. event:
  1076. - pull_request
  1077. - push
  1078. ---
  1079. kind: pipeline
  1080. name: integration-favorites
  1081. steps:
  1082. - name: submodules
  1083. image: docker:git
  1084. commands:
  1085. - git submodule update --init
  1086. - name: integration-favorites
  1087. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1088. commands:
  1089. - bash tests/drone-run-integration-tests.sh || exit 0
  1090. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1091. - cd build/integration
  1092. - ./run.sh features/favorites.feature
  1093. trigger:
  1094. branch:
  1095. - master
  1096. - stable*
  1097. event:
  1098. - pull_request
  1099. - push
  1100. ---
  1101. kind: pipeline
  1102. name: integration-provisioning-v2
  1103. steps:
  1104. - name: submodules
  1105. image: docker:git
  1106. commands:
  1107. - git submodule update --init
  1108. - name: integration-provisioning-v2
  1109. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1110. commands:
  1111. - bash tests/drone-run-integration-tests.sh || exit 0
  1112. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1113. - cd build/integration
  1114. - ./run.sh features/provisioning-v2.feature
  1115. trigger:
  1116. branch:
  1117. - master
  1118. - stable*
  1119. event:
  1120. - pull_request
  1121. - push
  1122. ---
  1123. kind: pipeline
  1124. name: integration-webdav-related
  1125. steps:
  1126. - name: submodules
  1127. image: docker:git
  1128. commands:
  1129. - git submodule update --init
  1130. - name: integration-webdav-related
  1131. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1132. commands:
  1133. - bash tests/drone-run-integration-tests.sh || exit 0
  1134. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1135. - cd build/integration
  1136. - ./run.sh features/webdav-related.feature
  1137. trigger:
  1138. branch:
  1139. - master
  1140. - stable*
  1141. event:
  1142. - pull_request
  1143. - push
  1144. ---
  1145. kind: pipeline
  1146. name: integration-sharees-features
  1147. steps:
  1148. - name: submodules
  1149. image: docker:git
  1150. commands:
  1151. - git submodule update --init
  1152. - name: integration-sharees-features
  1153. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1154. commands:
  1155. - bash tests/drone-run-integration-tests.sh || exit 0
  1156. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1157. - cd build/integration
  1158. - ./run.sh sharees_features/sharees.feature
  1159. trigger:
  1160. branch:
  1161. - master
  1162. - stable*
  1163. event:
  1164. - pull_request
  1165. - push
  1166. ---
  1167. kind: pipeline
  1168. name: integration-sharees-v2-features
  1169. steps:
  1170. - name: submodules
  1171. image: docker:git
  1172. commands:
  1173. - git submodule update --init
  1174. - name: integration-sharees-v2-features
  1175. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1176. commands:
  1177. - bash tests/drone-run-integration-tests.sh || exit 0
  1178. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1179. - cd build/integration
  1180. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  1181. trigger:
  1182. branch:
  1183. - master
  1184. - stable*
  1185. event:
  1186. - pull_request
  1187. - push
  1188. ---
  1189. kind: pipeline
  1190. name: integration-sharing-v1
  1191. steps:
  1192. - name: submodules
  1193. image: docker:git
  1194. commands:
  1195. - git submodule update --init
  1196. - name: integration-sharing-v1
  1197. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1198. commands:
  1199. - bash tests/drone-run-integration-tests.sh || exit 0
  1200. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1201. - cd build/integration
  1202. - ./run.sh sharing_features/sharing-v1.feature
  1203. trigger:
  1204. branch:
  1205. - master
  1206. - stable*
  1207. event:
  1208. - pull_request
  1209. - push
  1210. ---
  1211. kind: pipeline
  1212. name: integration-sharing-v1-part2
  1213. steps:
  1214. - name: submodules
  1215. image: docker:git
  1216. commands:
  1217. - git submodule update --init
  1218. - name: integration-sharing-v1-part2
  1219. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1220. commands:
  1221. - bash tests/drone-run-integration-tests.sh || exit 0
  1222. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1223. - cd build/integration
  1224. - ./run.sh sharing_features/sharing-v1-part2.feature
  1225. trigger:
  1226. branch:
  1227. - master
  1228. - stable*
  1229. event:
  1230. - pull_request
  1231. - push
  1232. ---
  1233. kind: pipeline
  1234. name: integration-sharing-v1-part3
  1235. steps:
  1236. - name: submodules
  1237. image: docker:git
  1238. commands:
  1239. - git submodule update --init
  1240. - name: integration-sharing-v1-part3
  1241. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1242. commands:
  1243. - bash tests/drone-run-integration-tests.sh || exit 0
  1244. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1245. - cd build/integration
  1246. - ./run.sh sharing_features/sharing-v1-part3.feature
  1247. trigger:
  1248. branch:
  1249. - master
  1250. - stable*
  1251. event:
  1252. - pull_request
  1253. - push
  1254. ---
  1255. kind: pipeline
  1256. name: integration-setup-features
  1257. steps:
  1258. - name: submodules
  1259. image: docker:git
  1260. commands:
  1261. - git submodule update --init
  1262. - name: integration-setup-features
  1263. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1264. commands:
  1265. - bash tests/drone-run-integration-tests.sh || exit 0
  1266. - cd build/integration
  1267. - ./run.sh setup_features/setup.feature
  1268. trigger:
  1269. branch:
  1270. - master
  1271. - stable*
  1272. event:
  1273. - pull_request
  1274. - push
  1275. ---
  1276. kind: pipeline
  1277. name: integration-filesdrop-features
  1278. steps:
  1279. - name: submodules
  1280. image: docker:git
  1281. commands:
  1282. - git submodule update --init
  1283. - name: integration-filesdrop-features
  1284. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1285. commands:
  1286. - bash tests/drone-run-integration-tests.sh || exit 0
  1287. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1288. - cd build/integration
  1289. - ./run.sh filesdrop_features/filesdrop.feature
  1290. trigger:
  1291. branch:
  1292. - master
  1293. - stable*
  1294. event:
  1295. - pull_request
  1296. - push
  1297. ---
  1298. kind: pipeline
  1299. name: integration-transfer-ownership-features
  1300. steps:
  1301. - name: submodules
  1302. image: docker:git
  1303. commands:
  1304. - git submodule update --init
  1305. - name: integration-transfer-ownership-features
  1306. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1307. commands:
  1308. - bash tests/drone-run-integration-tests.sh || exit 0
  1309. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1310. - cd build/integration
  1311. - ./run.sh features/transfer-ownership.feature
  1312. trigger:
  1313. branch:
  1314. - master
  1315. - stable*
  1316. event:
  1317. - pull_request
  1318. - push
  1319. ---
  1320. kind: pipeline
  1321. name: integration-ldap-features
  1322. steps:
  1323. - name: submodules
  1324. image: docker:git
  1325. commands:
  1326. - git submodule update --init
  1327. - name: integration-ldap-features
  1328. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1329. commands:
  1330. - bash tests/drone-run-integration-tests.sh || exit 0
  1331. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1332. - cd build/integration
  1333. - ./run.sh ldap_features/ldap-ocs.feature
  1334. trigger:
  1335. branch:
  1336. - master
  1337. - stable*
  1338. event:
  1339. - pull_request
  1340. - push
  1341. ---
  1342. kind: pipeline
  1343. name: integration-ldap-openldap-features
  1344. steps:
  1345. - name: submodules
  1346. image: docker:git
  1347. commands:
  1348. - git submodule update --init
  1349. - name: integration-ldap-openldap-features
  1350. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1351. commands:
  1352. - bash tests/drone-run-integration-tests.sh || exit 0
  1353. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1354. - ./occ config:system:set redis host --value=cache
  1355. - ./occ config:system:set redis port --value=6379 --type=integer
  1356. - ./occ config:system:set redis timeout --value=0 --type=integer
  1357. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1358. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1359. - cd build/integration
  1360. - ./run.sh ldap_features/ldap-openldap.feature
  1361. services:
  1362. - name: cache
  1363. image: redis
  1364. - name: openldap
  1365. image: nextcloudci/openldap:openldap-7
  1366. environment:
  1367. SLAPD_DOMAIN: nextcloud.ci
  1368. SLAPD_ORGANIZATION: Nextcloud
  1369. SLAPD_PASSWORD: admin
  1370. SLAPD_ADDITIONAL_MODULES: memberof
  1371. trigger:
  1372. branch:
  1373. - master
  1374. - stable*
  1375. event:
  1376. - pull_request
  1377. - push
  1378. ---
  1379. kind: pipeline
  1380. name: integration-ldap-openldap-uid-features
  1381. steps:
  1382. - name: submodules
  1383. image: docker:git
  1384. commands:
  1385. - git submodule update --init
  1386. - name: integration-ldap-openldap-uid-features
  1387. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1388. commands:
  1389. - bash tests/drone-run-integration-tests.sh || exit 0
  1390. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1391. - ./occ config:system:set redis host --value=cache
  1392. - ./occ config:system:set redis port --value=6379 --type=integer
  1393. - ./occ config:system:set redis timeout --value=0 --type=integer
  1394. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1395. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1396. - cd build/integration
  1397. - ./run.sh ldap_features/openldap-uid-username.feature
  1398. services:
  1399. - name: cache
  1400. image: redis
  1401. - name: openldap
  1402. image: nextcloudci/openldap:openldap-7
  1403. environment:
  1404. SLAPD_DOMAIN: nextcloud.ci
  1405. SLAPD_ORGANIZATION: Nextcloud
  1406. SLAPD_PASSWORD: admin
  1407. SLAPD_ADDITIONAL_MODULES: memberof
  1408. trigger:
  1409. branch:
  1410. - master
  1411. - stable*
  1412. event:
  1413. - pull_request
  1414. - push
  1415. ---
  1416. kind: pipeline
  1417. name: integration-ldap-openldap-numerical-id-features
  1418. steps:
  1419. - name: submodules
  1420. image: docker:git
  1421. commands:
  1422. - git submodule update --init
  1423. - name: integration-ldap-openldap-numerical-id-features
  1424. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1425. commands:
  1426. - bash tests/drone-run-integration-tests.sh || exit 0
  1427. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1428. - ./occ config:system:set redis host --value=cache
  1429. - ./occ config:system:set redis port --value=6379 --type=integer
  1430. - ./occ config:system:set redis timeout --value=0 --type=integer
  1431. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1432. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1433. - cd build/integration
  1434. - ./run.sh ldap_features/openldap-numerical-id.feature
  1435. services:
  1436. - name: cache
  1437. image: redis
  1438. - name: openldap
  1439. image: nextcloudci/openldap:openldap-7
  1440. environment:
  1441. SLAPD_DOMAIN: nextcloud.ci
  1442. SLAPD_ORGANIZATION: Nextcloud
  1443. SLAPD_PASSWORD: admin
  1444. SLAPD_ADDITIONAL_MODULES: memberof
  1445. trigger:
  1446. branch:
  1447. - master
  1448. - stable*
  1449. event:
  1450. - pull_request
  1451. - push
  1452. ---
  1453. kind: pipeline
  1454. name: integration-trashbin
  1455. steps:
  1456. - name: submodules
  1457. image: docker:git
  1458. commands:
  1459. - git submodule update --init
  1460. - name: integration-trashbin
  1461. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1462. commands:
  1463. - bash tests/drone-run-integration-tests.sh || exit 0
  1464. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1465. - cd build/integration
  1466. - ./run.sh features/trashbin.feature
  1467. trigger:
  1468. branch:
  1469. - master
  1470. - stable*
  1471. event:
  1472. - pull_request
  1473. - push
  1474. ---
  1475. kind: pipeline
  1476. name: integration-remote-api
  1477. steps:
  1478. - name: submodules
  1479. image: docker:git
  1480. commands:
  1481. - git submodule update --init
  1482. - name: integration-remote-api
  1483. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1484. commands:
  1485. - bash tests/drone-run-integration-tests.sh || exit 0
  1486. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1487. - cd build/integration
  1488. - ./run.sh remoteapi_features/remote.feature
  1489. trigger:
  1490. branch:
  1491. - master
  1492. - stable*
  1493. event:
  1494. - pull_request
  1495. - push
  1496. ---
  1497. kind: pipeline
  1498. name: integration-download
  1499. steps:
  1500. - name: submodules
  1501. image: docker:git
  1502. commands:
  1503. - git submodule update --init
  1504. - name: integration-download
  1505. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1506. commands:
  1507. - bash tests/drone-run-integration-tests.sh || exit 0
  1508. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1509. - cd build/integration
  1510. - ./run.sh --tags ~@large features/download.feature
  1511. trigger:
  1512. branch:
  1513. - master
  1514. - stable*
  1515. event:
  1516. - pull_request
  1517. - push
  1518. ---
  1519. kind: pipeline
  1520. name: acceptance-access-levels
  1521. steps:
  1522. - name: submodules
  1523. image: docker:git
  1524. commands:
  1525. - git submodule update --init
  1526. - name: acceptance-access-levels
  1527. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1528. commands:
  1529. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature
  1530. services:
  1531. - name: selenium
  1532. image: selenium/standalone-firefox:2.53.1-beryllium
  1533. environment:
  1534. # Reduce default log level for Selenium server (INFO) as it is too
  1535. # verbose.
  1536. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1537. trigger:
  1538. branch:
  1539. - master
  1540. - stable*
  1541. event:
  1542. - pull_request
  1543. - push
  1544. ---
  1545. kind: pipeline
  1546. name: acceptance-app-comments
  1547. steps:
  1548. - name: submodules
  1549. image: docker:git
  1550. commands:
  1551. - git submodule update --init
  1552. - name: acceptance-app-comments
  1553. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1554. commands:
  1555. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-comments --selenium-server selenium:4444 allow-git-repository-modifications features/app-comments.feature
  1556. services:
  1557. - name: selenium
  1558. image: selenium/standalone-firefox:2.53.1-beryllium
  1559. environment:
  1560. # Reduce default log level for Selenium server (INFO) as it is too
  1561. # verbose.
  1562. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1563. trigger:
  1564. branch:
  1565. - master
  1566. - stable*
  1567. event:
  1568. - pull_request
  1569. - push
  1570. ---
  1571. kind: pipeline
  1572. name: acceptance-app-files
  1573. steps:
  1574. - name: submodules
  1575. image: docker:git
  1576. commands:
  1577. - git submodule update --init
  1578. - name: acceptance-app-files
  1579. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1580. commands:
  1581. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature
  1582. services:
  1583. - name: selenium
  1584. image: selenium/standalone-firefox:2.53.1-beryllium
  1585. environment:
  1586. # Reduce default log level for Selenium server (INFO) as it is too
  1587. # verbose.
  1588. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1589. trigger:
  1590. branch:
  1591. - master
  1592. - stable*
  1593. event:
  1594. - pull_request
  1595. - push
  1596. ---
  1597. kind: pipeline
  1598. name: acceptance-app-files-sharing
  1599. steps:
  1600. - name: submodules
  1601. image: docker:git
  1602. commands:
  1603. - git submodule update --init
  1604. - name: acceptance-app-files-sharing
  1605. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1606. commands:
  1607. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature
  1608. services:
  1609. - name: selenium
  1610. image: selenium/standalone-firefox:2.53.1-beryllium
  1611. environment:
  1612. # Reduce default log level for Selenium server (INFO) as it is too
  1613. # verbose.
  1614. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1615. trigger:
  1616. branch:
  1617. - master
  1618. - stable*
  1619. event:
  1620. - pull_request
  1621. - push
  1622. ---
  1623. kind: pipeline
  1624. name: acceptance-app-files-sharing-link
  1625. steps:
  1626. - name: submodules
  1627. image: docker:git
  1628. commands:
  1629. - git submodule update --init
  1630. - name: acceptance-app-files-sharing-link
  1631. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1632. commands:
  1633. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature
  1634. services:
  1635. - name: selenium
  1636. image: selenium/standalone-firefox:2.53.1-beryllium
  1637. environment:
  1638. # Reduce default log level for Selenium server (INFO) as it is too
  1639. # verbose.
  1640. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1641. trigger:
  1642. branch:
  1643. - master
  1644. - stable*
  1645. event:
  1646. - pull_request
  1647. - push
  1648. ---
  1649. kind: pipeline
  1650. name: acceptance-app-files-tags
  1651. steps:
  1652. - name: submodules
  1653. image: docker:git
  1654. commands:
  1655. - git submodule update --init
  1656. - name: acceptance-app-files-tags
  1657. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1658. commands:
  1659. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.feature
  1660. services:
  1661. - name: selenium
  1662. image: selenium/standalone-firefox:2.53.1-beryllium
  1663. environment:
  1664. # Reduce default log level for Selenium server (INFO) as it is too
  1665. # verbose.
  1666. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1667. trigger:
  1668. branch:
  1669. - master
  1670. - stable*
  1671. event:
  1672. - pull_request
  1673. - push
  1674. ---
  1675. kind: pipeline
  1676. name: acceptance-app-theming
  1677. steps:
  1678. - name: submodules
  1679. image: docker:git
  1680. commands:
  1681. - git submodule update --init
  1682. - name: acceptance-app-theming
  1683. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1684. commands:
  1685. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-theming --selenium-server selenium:4444 allow-git-repository-modifications features/app-theming.feature
  1686. services:
  1687. - name: selenium
  1688. image: selenium/standalone-firefox:2.53.1-beryllium
  1689. environment:
  1690. # Reduce default log level for Selenium server (INFO) as it is too
  1691. # verbose.
  1692. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1693. trigger:
  1694. branch:
  1695. - master
  1696. - stable*
  1697. event:
  1698. - pull_request
  1699. - push
  1700. ---
  1701. kind: pipeline
  1702. name: acceptance-header
  1703. steps:
  1704. - name: submodules
  1705. image: docker:git
  1706. commands:
  1707. - git submodule update --init
  1708. - name: acceptance-header
  1709. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1710. commands:
  1711. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1712. services:
  1713. - name: selenium
  1714. image: selenium/standalone-firefox:2.53.1-beryllium
  1715. environment:
  1716. # Reduce default log level for Selenium server (INFO) as it is too
  1717. # verbose.
  1718. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1719. trigger:
  1720. branch:
  1721. - master
  1722. - stable*
  1723. event:
  1724. - pull_request
  1725. - push
  1726. ---
  1727. kind: pipeline
  1728. name: acceptance-login
  1729. steps:
  1730. - name: submodules
  1731. image: docker:git
  1732. commands:
  1733. - git submodule update --init
  1734. - name: acceptance-login
  1735. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1736. commands:
  1737. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1738. services:
  1739. - name: selenium
  1740. image: selenium/standalone-firefox:2.53.1-beryllium
  1741. environment:
  1742. # Reduce default log level for Selenium server (INFO) as it is too
  1743. # verbose.
  1744. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1745. trigger:
  1746. branch:
  1747. - master
  1748. - stable*
  1749. event:
  1750. - pull_request
  1751. - push
  1752. ---
  1753. kind: pipeline
  1754. name: acceptance-users
  1755. steps:
  1756. - name: submodules
  1757. image: docker:git
  1758. commands:
  1759. - git submodule update --init
  1760. - name: acceptance-users
  1761. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1762. commands:
  1763. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1764. services:
  1765. - name: selenium
  1766. image: selenium/standalone-firefox:2.53.1-beryllium
  1767. environment:
  1768. # Reduce default log level for Selenium server (INFO) as it is too
  1769. # verbose.
  1770. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1771. trigger:
  1772. branch:
  1773. - master
  1774. - stable*
  1775. event:
  1776. - pull_request
  1777. - push
  1778. ---
  1779. kind: pipeline
  1780. name: acceptance-apps
  1781. steps:
  1782. - name: submodules
  1783. image: docker:git
  1784. commands:
  1785. - git submodule update --init
  1786. - name: acceptance-apps
  1787. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1788. commands:
  1789. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1790. services:
  1791. - name: selenium
  1792. image: selenium/standalone-firefox:2.53.1-beryllium
  1793. environment:
  1794. # Reduce default log level for Selenium server (INFO) as it is too
  1795. # verbose.
  1796. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1797. trigger:
  1798. branch:
  1799. - master
  1800. - stable*
  1801. event:
  1802. - pull_request
  1803. - push
  1804. ---
  1805. kind: pipeline
  1806. name: nodb-codecov
  1807. steps:
  1808. - name: submodules
  1809. image: docker:git
  1810. commands:
  1811. - git submodule update --init
  1812. - name: nodb-codecov
  1813. image: nextcloudci/php7.2:php7.2-13
  1814. commands:
  1815. - phpenmod xdebug
  1816. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1817. - wget https://codecov.io/bash -O codecov.sh
  1818. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1819. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1820. services:
  1821. - name: cache
  1822. image: redis
  1823. trigger:
  1824. branch:
  1825. - master
  1826. - stable*
  1827. event:
  1828. - push
  1829. ---
  1830. kind: pipeline
  1831. name: db-codecov
  1832. steps:
  1833. - name: submodules
  1834. image: docker:git
  1835. commands:
  1836. - git submodule update --init
  1837. - name: db-codecov
  1838. image: nextcloudci/php7.2:php7.2-13
  1839. commands:
  1840. - phpenmod xdebug
  1841. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1842. - wget https://codecov.io/bash -O codecov.sh
  1843. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1844. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1845. services:
  1846. - name: cache
  1847. image: redis
  1848. trigger:
  1849. branch:
  1850. - master
  1851. - stable*
  1852. event:
  1853. - push
  1854. ---
  1855. kind: pipeline
  1856. name: object-store-s3
  1857. steps:
  1858. - name: submodules
  1859. image: docker:git
  1860. commands:
  1861. - git submodule update --init
  1862. - name: object-store
  1863. image: nextcloudci/php7.2:php7.2-13
  1864. commands:
  1865. - phpenmod xdebug
  1866. - ./tests/drone-wait-objectstore.sh
  1867. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1868. - wget https://codecov.io/bash -O codecov.sh
  1869. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1870. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1871. services:
  1872. - name: fake-s3
  1873. image: lphoward/fake-s3:latest
  1874. trigger:
  1875. branch:
  1876. - master
  1877. - stable*
  1878. event:
  1879. - pull_request
  1880. - push
  1881. ---
  1882. kind: pipeline
  1883. name: object-store-azure
  1884. steps:
  1885. - name: submodules
  1886. image: docker:git
  1887. commands:
  1888. - git submodule update --init
  1889. - name: object-store
  1890. image: nextcloudci/php7.2:php7.2-13
  1891. commands:
  1892. - phpenmod xdebug
  1893. - ./tests/drone-wait-objectstore.sh
  1894. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1895. - wget https://codecov.io/bash -O codecov.sh
  1896. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1897. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1898. services:
  1899. - name: azurite
  1900. image: arafato/azurite:latest
  1901. environment:
  1902. executable: blob
  1903. trigger:
  1904. branch:
  1905. - master
  1906. - stable*
  1907. event:
  1908. - pull_request
  1909. - push
  1910. ---
  1911. #kind: pipeline
  1912. #name: object-store-swift-v2
  1913. #
  1914. #clone:
  1915. # depth: 1
  1916. #
  1917. #steps:
  1918. #- name: submodules
  1919. # image: docker:git
  1920. # commands:
  1921. # - git submodule update --init
  1922. #- name: object-store
  1923. # image: nextcloudci/php7.1:php7.1-16
  1924. # commands:
  1925. # - phpenmod xdebug
  1926. # - ./tests/drone-wait-objectstore.sh
  1927. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  1928. # - wget https://codecov.io/bash -O codecov.sh
  1929. # - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1930. # - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1931. #
  1932. #services:
  1933. #- name: dockswift
  1934. # image: icewind1991/dockswift:nextcloud-ci
  1935. # environment:
  1936. # IPADDRESS: dockswift
  1937. #
  1938. #trigger:
  1939. # branch:
  1940. # - master
  1941. # - stable*
  1942. # event:
  1943. # - pull_request
  1944. # - push
  1945. #
  1946. #---
  1947. #kind: pipeline
  1948. #name: object-store-swift-v3
  1949. #
  1950. #clone:
  1951. # depth: 1
  1952. #
  1953. #steps:
  1954. #- name: submodules
  1955. # image: docker:git
  1956. # commands:
  1957. # - git submodule update --init
  1958. #- name: object-store
  1959. # image: nextcloudci/php7.1:php7.1-16
  1960. # commands:
  1961. # - phpenmod xdebug
  1962. # - ./tests/drone-wait-objectstore.sh
  1963. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  1964. # - wget https://codecov.io/bash -O codecov.sh
  1965. # - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1966. # - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1967. #
  1968. #services:
  1969. #- name: dockswift
  1970. # image: icewind1991/dockswift:nextcloud-ci
  1971. # environment:
  1972. # IPADDRESS: dockswift
  1973. #
  1974. #trigger:
  1975. # branch:
  1976. # - master
  1977. # - stable*
  1978. # event:
  1979. # - pull_request
  1980. # - push
  1981. #
  1982. #---
  1983. kind: pipeline
  1984. name: memcache-memcached
  1985. steps:
  1986. - name: submodules
  1987. image: docker:git
  1988. commands:
  1989. - git submodule update --init
  1990. - name: memcache-memcached
  1991. image: nextcloudci/php7.3-memcached:php7.3-memcached-3
  1992. commands:
  1993. - phpenmod xdebug
  1994. - service memcached restart
  1995. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  1996. - wget https://codecov.io/bash -O codecov.sh
  1997. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1998. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1999. trigger:
  2000. branch:
  2001. - master
  2002. - stable*
  2003. event:
  2004. - pull_request
  2005. - push
  2006. #---
  2007. #kind: pipeline
  2008. #name: memcache-redis-cluster
  2009. #
  2010. #steps:
  2011. #- name: submodules
  2012. # image: docker:git
  2013. # commands:
  2014. # - git submodule update --init
  2015. #- name: memcache-redis-cluster
  2016. # image: nextcloudci/php7.2:php7.2-13
  2017. # commands:
  2018. # - phpenmod xdebug
  2019. # - sleep 20
  2020. # - ENABLE_REDIS_CLUSTER=true ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
  2021. # - wget https://codecov.io/bash -O codecov.sh
  2022. # - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  2023. # - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  2024. #
  2025. #services:
  2026. #- name: cache-cluster
  2027. # image: morrisjobke/redis-cluster
  2028. #
  2029. #trigger:
  2030. # branch:
  2031. # - master
  2032. # - stable*
  2033. # event:
  2034. # - pull_request
  2035. # - push