You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 55KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367
  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.1:php7.1-16
  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.1
  84. image: nextcloudci/php7.1:php7.1-16
  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 .
  88. - name: syntax-php7.2
  89. image: nextcloudci/php7.2:php7.2-12
  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 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.3
  94. image: nextcloudci/php7.3:php7.3-1
  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-12
  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.1: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.2: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.1: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.1: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.1: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.1: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.0-samba-native
  230. image: nextcloudci/samba-native-php7.1: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.0-samba-non-native
  240. image: nextcloudci/samba-non-native-php7.1: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.1-webdav-apache
  259. steps:
  260. - name: submodules
  261. image: docker:git
  262. commands:
  263. - git submodule update --init
  264. - name: sqlite-php7.0-webdav-apache
  265. image: nextcloudci/webdav-apache-php7.1:1
  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.1
  293. image: nextcloudci/php7.1:php7.1-16
  294. commands:
  295. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  296. - name: nodb-php7.2
  297. image: nextcloudci/php7.2:php7.2-11
  298. commands:
  299. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  300. - name: nodb-php7.3
  301. image: nextcloudci/php7.3:php7.3-1
  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.1
  323. image: nextcloudci/php7.1:php7.1-16
  324. commands:
  325. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  326. - name: sqlite-php7.2
  327. image: nextcloudci/php7.2:php7.2-12
  328. commands:
  329. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  330. - name: sqlite-php7.3
  331. image: nextcloudci/php7.3:php7.3-1
  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.1
  347. steps:
  348. - name: submodules
  349. image: docker:git
  350. commands:
  351. - git submodule update --init
  352. - name: mariadb10.1-php7.1
  353. image: nextcloudci/php7.1:php7.1-16
  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.1
  378. steps:
  379. - name: submodules
  380. image: docker:git
  381. commands:
  382. - git submodule update --init
  383. - name: mariadb10.2-php7.1
  384. image: nextcloudci/php7.1:php7.1-16
  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.1
  408. steps:
  409. - name: submodules
  410. image: docker:git
  411. commands:
  412. - git submodule update --init
  413. - name: mariadb10.3-php7.1
  414. image: nextcloudci/php7.1:php7.1-16
  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-1
  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-12
  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.1
  501. steps:
  502. - name: submodules
  503. image: docker:git
  504. commands:
  505. - git submodule update --init
  506. - name: mysql-php7.1
  507. image: nextcloudci/php7.1:php7.1-16
  508. commands:
  509. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  510. services:
  511. - name: cache
  512. image: redis
  513. - name: mysql
  514. image: mysql:5.7
  515. environment:
  516. MYSQL_ROOT_PASSWORD: owncloud
  517. MYSQL_USER: oc_autotest
  518. MYSQL_PASSWORD: owncloud
  519. MYSQL_DATABASE: oc_autotest
  520. tmpfs:
  521. - /var/lib/mysql
  522. trigger:
  523. branch:
  524. - master
  525. - stable*
  526. event:
  527. - push
  528. ---
  529. kind: pipeline
  530. name: mysql5.7-php7.2
  531. steps:
  532. - name: submodules
  533. image: docker:git
  534. commands:
  535. - git submodule update --init
  536. - name: mysql-php7.2
  537. image: nextcloudci/php7.2:php7.2-12
  538. commands:
  539. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  540. services:
  541. - name: mysql
  542. image: mysql:5.7
  543. environment:
  544. MYSQL_ROOT_PASSWORD: owncloud
  545. MYSQL_USER: oc_autotest
  546. MYSQL_PASSWORD: owncloud
  547. MYSQL_DATABASE: oc_autotest
  548. tmpfs:
  549. - /var/lib/mysql
  550. trigger:
  551. branch:
  552. - master
  553. - stable*
  554. event:
  555. - push
  556. ---
  557. kind: pipeline
  558. name: mysql5.7-php7.3
  559. steps:
  560. - name: submodules
  561. image: docker:git
  562. commands:
  563. - git submodule update --init
  564. - name: mysql-php7.3
  565. image: nextcloudci/php7.3:php7.3-1
  566. commands:
  567. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  568. services:
  569. - name: mysql
  570. image: mysql:5.7
  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. - push
  584. ---
  585. kind: pipeline
  586. name: mysql5.6-php7.1
  587. steps:
  588. - name: submodules
  589. image: docker:git
  590. commands:
  591. - git submodule update --init
  592. - name: mysql5.6-php7.1
  593. image: nextcloudci/php7.1:php7.1-16
  594. commands:
  595. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  596. services:
  597. - name: cache
  598. image: redis
  599. - name: mysql
  600. image: mysql:5.6
  601. environment:
  602. MYSQL_ROOT_PASSWORD: owncloud
  603. MYSQL_USER: oc_autotest
  604. MYSQL_PASSWORD: owncloud
  605. MYSQL_DATABASE: oc_autotest
  606. tmpfs:
  607. - /var/lib/mysql
  608. trigger:
  609. branch:
  610. - master
  611. - stable*
  612. event:
  613. - pull_request
  614. - push
  615. ---
  616. kind: pipeline
  617. name: postgres9-php7.3
  618. steps:
  619. - name: submodules
  620. image: docker:git
  621. commands:
  622. - git submodule update --init
  623. - name: postgres-php7.3
  624. image: nextcloudci/php7.3:php7.3-1
  625. commands:
  626. - sleep 10 # gives the database enough time to initialize
  627. - POSTGRES=9 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  628. services:
  629. - name: cache
  630. image: redis
  631. - name: postgres-9
  632. image: postgres:9
  633. environment:
  634. POSTGRES_USER: oc_autotest
  635. POSTGRES_DB: oc_autotest_dummy
  636. POSTGRES_PASSWORD: owncloud
  637. tmpfs:
  638. - /var/lib/postgresql/data
  639. trigger:
  640. branch:
  641. - master
  642. - stable*
  643. event:
  644. - pull_request
  645. - push
  646. ---
  647. kind: pipeline
  648. name: postgres10-php7.1
  649. steps:
  650. - name: submodules
  651. image: docker:git
  652. commands:
  653. - git submodule update --init
  654. - name: postgres-php7.1
  655. image: nextcloudci/php7.1:php7.1-16
  656. commands:
  657. - sleep 10 # gives the database enough time to initialize
  658. - POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  659. services:
  660. - name: cache
  661. image: redis
  662. - name: postgres-10
  663. image: postgres:10
  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. - push
  676. ---
  677. kind: pipeline
  678. name: postgres11-php7.1
  679. steps:
  680. - name: submodules
  681. image: docker:git
  682. commands:
  683. - git submodule update --init
  684. - name: postgres-php7.1
  685. image: nextcloudci/php7.1:php7.1-16
  686. commands:
  687. - sleep 10 # gives the database enough time to initialize
  688. - POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  689. services:
  690. - name: cache
  691. image: redis
  692. - name: postgres-11
  693. image: postgres:11
  694. environment:
  695. POSTGRES_USER: oc_autotest
  696. POSTGRES_DB: oc_autotest_dummy
  697. POSTGRES_PASSWORD: owncloud
  698. tmpfs:
  699. - /var/lib/postgresql/data
  700. trigger:
  701. branch:
  702. - master
  703. - stable*
  704. event:
  705. - pull_request
  706. - push
  707. ---
  708. kind: pipeline
  709. name: mysqlmb4-php7.1
  710. steps:
  711. - name: submodules
  712. image: docker:git
  713. commands:
  714. - git submodule update --init
  715. - name: mysqlmb4-php7.1
  716. image: nextcloudci/php7.1:php7.1-16
  717. commands:
  718. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
  719. services:
  720. - name: cache
  721. image: redis
  722. - name: mysqlmb4
  723. image: mysql:5.7.22
  724. environment:
  725. MYSQL_ROOT_PASSWORD: owncloud
  726. MYSQL_USER: oc_autotest
  727. MYSQL_PASSWORD: owncloud
  728. MYSQL_DATABASE: oc_autotest
  729. command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
  730. tmpfs:
  731. - /var/lib/mysql
  732. trigger:
  733. branch:
  734. - master
  735. - stable*
  736. event:
  737. - push
  738. ---
  739. kind: pipeline
  740. name: mysqlmb4-php7.2
  741. steps:
  742. - name: submodules
  743. image: docker:git
  744. commands:
  745. - git submodule update --init
  746. - name: mysqlmb4-php7.2
  747. image: nextcloudci/php7.2:php7.2-12
  748. commands:
  749. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
  750. services:
  751. - name: cache
  752. image: redis
  753. - name: mysqlmb4
  754. image: mysql:5.7.22
  755. environment:
  756. MYSQL_ROOT_PASSWORD: owncloud
  757. MYSQL_USER: oc_autotest
  758. MYSQL_PASSWORD: owncloud
  759. MYSQL_DATABASE: oc_autotest
  760. command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
  761. tmpfs:
  762. - /var/lib/mysql
  763. trigger:
  764. branch:
  765. - master
  766. - stable*
  767. event:
  768. - push
  769. ---
  770. kind: pipeline
  771. name: mysqlmb4-php7.3
  772. steps:
  773. - name: submodules
  774. image: docker:git
  775. commands:
  776. - git submodule update --init
  777. - name: mysqlmb4-php7.3
  778. image: nextcloudci/php7.3:php7.3-1
  779. commands:
  780. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
  781. services:
  782. - name: cache
  783. image: redis
  784. - name: mysqlmb4
  785. image: mysql:5.7.22
  786. environment:
  787. MYSQL_ROOT_PASSWORD: owncloud
  788. MYSQL_USER: oc_autotest
  789. MYSQL_PASSWORD: owncloud
  790. MYSQL_DATABASE: oc_autotest
  791. command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
  792. tmpfs:
  793. - /var/lib/mysql
  794. trigger:
  795. branch:
  796. - master
  797. - stable*
  798. event:
  799. - push
  800. ---
  801. kind: pipeline
  802. name: integration-capabilities_features
  803. steps:
  804. - name: submodules
  805. image: docker:git
  806. commands:
  807. - git submodule update --init
  808. - name: integration-capabilities_features
  809. image: nextcloudci/integration-php7.1:2
  810. commands:
  811. - bash tests/drone-run-integration-tests.sh || exit 0
  812. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  813. - cd build/integration
  814. - ./run.sh capabilities_features/capabilities.feature
  815. trigger:
  816. branch:
  817. - master
  818. - stable*
  819. event:
  820. - pull_request
  821. - push
  822. ---
  823. kind: pipeline
  824. name: integration-federation_features
  825. steps:
  826. - name: submodules
  827. image: docker:git
  828. commands:
  829. - git submodule update --init
  830. - name: integration-federation_features
  831. image: nextcloudci/integration-php7.1:2
  832. commands:
  833. - bash tests/drone-run-integration-tests.sh || exit 0
  834. - ./occ maintenance:install --admin-pass=admin
  835. - cd build/integration
  836. - ./run.sh federation_features/federated.feature
  837. trigger:
  838. branch:
  839. - master
  840. - stable*
  841. event:
  842. - pull_request
  843. - push
  844. ---
  845. kind: pipeline
  846. name: integration-auth
  847. steps:
  848. - name: submodules
  849. image: docker:git
  850. commands:
  851. - git submodule update --init
  852. - name: integration-auth
  853. image: nextcloudci/integration-php7.1:2
  854. commands:
  855. - bash tests/drone-run-integration-tests.sh || exit 0
  856. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  857. - cd build/integration
  858. - ./run.sh features/auth.feature
  859. trigger:
  860. branch:
  861. - master
  862. - stable*
  863. event:
  864. - pull_request
  865. - push
  866. ---
  867. kind: pipeline
  868. name: integration-maintenance-mode
  869. steps:
  870. - name: submodules
  871. image: docker:git
  872. commands:
  873. - git submodule update --init
  874. - name: integration-maintenance-mode
  875. image: nextcloudci/integration-php7.1:2
  876. commands:
  877. - bash tests/drone-run-integration-tests.sh || exit 0
  878. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  879. - cd build/integration
  880. - ./run.sh features/maintenance-mode.feature
  881. trigger:
  882. branch:
  883. - master
  884. - stable*
  885. event:
  886. - pull_request
  887. - push
  888. ---
  889. kind: pipeline
  890. name: integration-ratelimiting
  891. steps:
  892. - name: submodules
  893. image: docker:git
  894. commands:
  895. - git submodule update --init
  896. - name: integration-ratelimiting
  897. image: nextcloudci/integration-php7.1:2
  898. commands:
  899. - bash tests/drone-run-integration-tests.sh || exit 0
  900. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  901. - ./occ config:system:set redis host --value=cache
  902. - ./occ config:system:set redis port --value=6379 --type=integer
  903. - ./occ config:system:set redis timeout --value=0 --type=integer
  904. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  905. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  906. - ./occ app:enable testing
  907. - cd build/integration
  908. - ./run.sh features/ratelimiting.feature
  909. services:
  910. - name: cache
  911. image: redis
  912. trigger:
  913. branch:
  914. - master
  915. - stable*
  916. event:
  917. - pull_request
  918. - push
  919. ---
  920. kind: pipeline
  921. name: integration-carddav
  922. steps:
  923. - name: submodules
  924. image: docker:git
  925. commands:
  926. - git submodule update --init
  927. - name: integration-carddav
  928. image: nextcloudci/integration-php7.1:2
  929. commands:
  930. - bash tests/drone-run-integration-tests.sh || exit 0
  931. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  932. - cd build/integration
  933. - ./run.sh features/carddav.feature
  934. trigger:
  935. branch:
  936. - master
  937. - stable*
  938. event:
  939. - pull_request
  940. - push
  941. ---
  942. kind: pipeline
  943. name: integration-dav-v2
  944. steps:
  945. - name: submodules
  946. image: docker:git
  947. commands:
  948. - git submodule update --init
  949. - name: integration-dav-v2
  950. image: nextcloudci/integration-php7.1:2
  951. commands:
  952. - bash tests/drone-run-integration-tests.sh || exit 0
  953. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  954. - cd build/integration
  955. - ./run.sh features/dav-v2.feature
  956. trigger:
  957. branch:
  958. - master
  959. - stable*
  960. event:
  961. - pull_request
  962. - push
  963. ---
  964. kind: pipeline
  965. name: integration-ocs-v1
  966. steps:
  967. - name: submodules
  968. image: docker:git
  969. commands:
  970. - git submodule update --init
  971. - name: integration-ocs-v1
  972. image: nextcloudci/integration-php7.1:2
  973. commands:
  974. - bash tests/drone-run-integration-tests.sh || exit 0
  975. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  976. - cd build/integration
  977. - ./run.sh features/ocs-v1.feature
  978. trigger:
  979. branch:
  980. - master
  981. - stable*
  982. event:
  983. - pull_request
  984. - push
  985. ---
  986. kind: pipeline
  987. name: integration-checksums-v1
  988. steps:
  989. - name: submodules
  990. image: docker:git
  991. commands:
  992. - git submodule update --init
  993. - name: integration-checksums-v1
  994. image: nextcloudci/integration-php7.1:2
  995. commands:
  996. - bash tests/drone-run-integration-tests.sh || exit 0
  997. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  998. - cd build/integration
  999. - ./run.sh features/checksums.feature
  1000. trigger:
  1001. branch:
  1002. - master
  1003. - stable*
  1004. event:
  1005. - pull_request
  1006. - push
  1007. ---
  1008. kind: pipeline
  1009. name: integration-external-storage
  1010. steps:
  1011. - name: submodules
  1012. image: docker:git
  1013. commands:
  1014. - git submodule update --init
  1015. - name: integration-external-storage
  1016. image: nextcloudci/integration-php7.1:2
  1017. commands:
  1018. - bash tests/drone-run-integration-tests.sh || exit 0
  1019. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1020. - cd build/integration
  1021. - ./run.sh features/external-storage.feature
  1022. trigger:
  1023. branch:
  1024. - master
  1025. - stable*
  1026. event:
  1027. - pull_request
  1028. - push
  1029. ---
  1030. kind: pipeline
  1031. name: integration-provisioning-v1
  1032. steps:
  1033. - name: submodules
  1034. image: docker:git
  1035. commands:
  1036. - git submodule update --init
  1037. - name: integration-provisioning-v1
  1038. image: nextcloudci/integration-php7.1:2
  1039. commands:
  1040. - bash tests/drone-run-integration-tests.sh || exit 0
  1041. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1042. - cd build/integration
  1043. - ./run.sh features/provisioning-v1.feature
  1044. trigger:
  1045. branch:
  1046. - master
  1047. - stable*
  1048. event:
  1049. - pull_request
  1050. - push
  1051. ---
  1052. kind: pipeline
  1053. name: integration-tags
  1054. steps:
  1055. - name: submodules
  1056. image: docker:git
  1057. commands:
  1058. - git submodule update --init
  1059. - name: integration-tags
  1060. image: nextcloudci/integration-php7.1:2
  1061. commands:
  1062. - bash tests/drone-run-integration-tests.sh || exit 0
  1063. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1064. - cd build/integration
  1065. - ./run.sh features/tags.feature
  1066. trigger:
  1067. branch:
  1068. - master
  1069. - stable*
  1070. event:
  1071. - pull_request
  1072. - push
  1073. ---
  1074. kind: pipeline
  1075. name: integration-caldav
  1076. steps:
  1077. - name: submodules
  1078. image: docker:git
  1079. commands:
  1080. - git submodule update --init
  1081. - name: integration-caldav
  1082. image: nextcloudci/integration-php7.1:2
  1083. commands:
  1084. - bash tests/drone-run-integration-tests.sh || exit 0
  1085. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1086. - cd build/integration
  1087. - ./run.sh features/caldav.feature
  1088. trigger:
  1089. branch:
  1090. - master
  1091. - stable*
  1092. event:
  1093. - pull_request
  1094. - push
  1095. ---
  1096. kind: pipeline
  1097. name: integration-comments
  1098. steps:
  1099. - name: submodules
  1100. image: docker:git
  1101. commands:
  1102. - git submodule update --init
  1103. - name: integration-comments
  1104. image: nextcloudci/integration-php7.1:2
  1105. commands:
  1106. - bash tests/drone-run-integration-tests.sh || exit 0
  1107. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1108. - cd build/integration
  1109. - ./run.sh features/comments.feature
  1110. trigger:
  1111. branch:
  1112. - master
  1113. - stable*
  1114. event:
  1115. - pull_request
  1116. - push
  1117. ---
  1118. kind: pipeline
  1119. name: integration-comments-search
  1120. steps:
  1121. - name: submodules
  1122. image: docker:git
  1123. commands:
  1124. - git submodule update --init
  1125. - name: integration-comments-search
  1126. image: nextcloudci/integration-php7.1:2
  1127. commands:
  1128. - bash tests/drone-run-integration-tests.sh || exit 0
  1129. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1130. - cd build/integration
  1131. - ./run.sh features/comments-search.feature
  1132. trigger:
  1133. branch:
  1134. - master
  1135. - stable*
  1136. event:
  1137. - pull_request
  1138. - push
  1139. ---
  1140. kind: pipeline
  1141. name: integration-favorites
  1142. steps:
  1143. - name: submodules
  1144. image: docker:git
  1145. commands:
  1146. - git submodule update --init
  1147. - name: integration-favorites
  1148. image: nextcloudci/integration-php7.1:2
  1149. commands:
  1150. - bash tests/drone-run-integration-tests.sh || exit 0
  1151. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1152. - cd build/integration
  1153. - ./run.sh features/favorites.feature
  1154. trigger:
  1155. branch:
  1156. - master
  1157. - stable*
  1158. event:
  1159. - pull_request
  1160. - push
  1161. ---
  1162. kind: pipeline
  1163. name: integration-provisioning-v2
  1164. steps:
  1165. - name: submodules
  1166. image: docker:git
  1167. commands:
  1168. - git submodule update --init
  1169. - name: integration-provisioning-v2
  1170. image: nextcloudci/integration-php7.1:2
  1171. commands:
  1172. - bash tests/drone-run-integration-tests.sh || exit 0
  1173. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1174. - cd build/integration
  1175. - ./run.sh features/provisioning-v2.feature
  1176. trigger:
  1177. branch:
  1178. - master
  1179. - stable*
  1180. event:
  1181. - pull_request
  1182. - push
  1183. ---
  1184. kind: pipeline
  1185. name: integration-webdav-related
  1186. steps:
  1187. - name: submodules
  1188. image: docker:git
  1189. commands:
  1190. - git submodule update --init
  1191. - name: integration-webdav-related
  1192. image: nextcloudci/integration-php7.1:2
  1193. commands:
  1194. - bash tests/drone-run-integration-tests.sh || exit 0
  1195. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1196. - cd build/integration
  1197. - ./run.sh features/webdav-related.feature
  1198. trigger:
  1199. branch:
  1200. - master
  1201. - stable*
  1202. event:
  1203. - pull_request
  1204. - push
  1205. ---
  1206. kind: pipeline
  1207. name: integration-sharees-features
  1208. steps:
  1209. - name: submodules
  1210. image: docker:git
  1211. commands:
  1212. - git submodule update --init
  1213. - name: integration-sharees-features
  1214. image: nextcloudci/integration-php7.1:2
  1215. commands:
  1216. - bash tests/drone-run-integration-tests.sh || exit 0
  1217. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1218. - cd build/integration
  1219. - ./run.sh sharees_features/sharees.feature
  1220. trigger:
  1221. branch:
  1222. - master
  1223. - stable*
  1224. event:
  1225. - pull_request
  1226. - push
  1227. ---
  1228. kind: pipeline
  1229. name: integration-sharees-v2-features
  1230. steps:
  1231. - name: submodules
  1232. image: docker:git
  1233. commands:
  1234. - git submodule update --init
  1235. - name: integration-sharees-v2-features
  1236. image: nextcloudci/integration-php7.1:2
  1237. commands:
  1238. - bash tests/drone-run-integration-tests.sh || exit 0
  1239. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1240. - cd build/integration
  1241. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  1242. trigger:
  1243. branch:
  1244. - master
  1245. - stable*
  1246. event:
  1247. - pull_request
  1248. - push
  1249. ---
  1250. kind: pipeline
  1251. name: integration-sharing-v1
  1252. steps:
  1253. - name: submodules
  1254. image: docker:git
  1255. commands:
  1256. - git submodule update --init
  1257. - name: integration-sharing-v1
  1258. image: nextcloudci/integration-php7.1:2
  1259. commands:
  1260. - bash tests/drone-run-integration-tests.sh || exit 0
  1261. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1262. - cd build/integration
  1263. - ./run.sh sharing_features/sharing-v1.feature
  1264. trigger:
  1265. branch:
  1266. - master
  1267. - stable*
  1268. event:
  1269. - pull_request
  1270. - push
  1271. ---
  1272. kind: pipeline
  1273. name: integration-sharing-v1-part2
  1274. steps:
  1275. - name: submodules
  1276. image: docker:git
  1277. commands:
  1278. - git submodule update --init
  1279. - name: integration-sharing-v1-part2
  1280. image: nextcloudci/integration-php7.1:2
  1281. commands:
  1282. - bash tests/drone-run-integration-tests.sh || exit 0
  1283. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1284. - cd build/integration
  1285. - ./run.sh sharing_features/sharing-v1-part2.feature
  1286. trigger:
  1287. branch:
  1288. - master
  1289. - stable*
  1290. event:
  1291. - pull_request
  1292. - push
  1293. ---
  1294. kind: pipeline
  1295. name: integration-sharing-v1-part3
  1296. steps:
  1297. - name: submodules
  1298. image: docker:git
  1299. commands:
  1300. - git submodule update --init
  1301. - name: integration-sharing-v1-part3
  1302. image: nextcloudci/integration-php7.1:2
  1303. commands:
  1304. - bash tests/drone-run-integration-tests.sh || exit 0
  1305. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1306. - cd build/integration
  1307. - ./run.sh sharing_features/sharing-v1-part3.feature
  1308. trigger:
  1309. branch:
  1310. - master
  1311. - stable*
  1312. event:
  1313. - pull_request
  1314. - push
  1315. ---
  1316. kind: pipeline
  1317. name: integration-setup-features
  1318. steps:
  1319. - name: submodules
  1320. image: docker:git
  1321. commands:
  1322. - git submodule update --init
  1323. - name: integration-setup-features
  1324. image: nextcloudci/integration-php7.1:2
  1325. commands:
  1326. - bash tests/drone-run-integration-tests.sh || exit 0
  1327. - cd build/integration
  1328. - ./run.sh setup_features/setup.feature
  1329. trigger:
  1330. branch:
  1331. - master
  1332. - stable*
  1333. event:
  1334. - pull_request
  1335. - push
  1336. ---
  1337. kind: pipeline
  1338. name: integration-filesdrop-features
  1339. steps:
  1340. - name: submodules
  1341. image: docker:git
  1342. commands:
  1343. - git submodule update --init
  1344. - name: integration-filesdrop-features
  1345. image: nextcloudci/integration-php7.1:2
  1346. commands:
  1347. - bash tests/drone-run-integration-tests.sh || exit 0
  1348. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1349. - cd build/integration
  1350. - ./run.sh filesdrop_features/filesdrop.feature
  1351. trigger:
  1352. branch:
  1353. - master
  1354. - stable*
  1355. event:
  1356. - pull_request
  1357. - push
  1358. ---
  1359. kind: pipeline
  1360. name: integration-transfer-ownership-features
  1361. steps:
  1362. - name: submodules
  1363. image: docker:git
  1364. commands:
  1365. - git submodule update --init
  1366. - name: integration-transfer-ownership-features
  1367. image: nextcloudci/integration-php7.1:2
  1368. commands:
  1369. - bash tests/drone-run-integration-tests.sh || exit 0
  1370. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1371. - cd build/integration
  1372. - ./run.sh features/transfer-ownership.feature
  1373. trigger:
  1374. branch:
  1375. - master
  1376. - stable*
  1377. event:
  1378. - pull_request
  1379. - push
  1380. ---
  1381. kind: pipeline
  1382. name: integration-ldap-features
  1383. steps:
  1384. - name: submodules
  1385. image: docker:git
  1386. commands:
  1387. - git submodule update --init
  1388. - name: integration-ldap-features
  1389. image: nextcloudci/integration-php7.1:2
  1390. commands:
  1391. - bash tests/drone-run-integration-tests.sh || exit 0
  1392. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1393. - cd build/integration
  1394. - ./run.sh ldap_features/ldap-ocs.feature
  1395. trigger:
  1396. branch:
  1397. - master
  1398. - stable*
  1399. event:
  1400. - pull_request
  1401. - push
  1402. ---
  1403. kind: pipeline
  1404. name: integration-ldap-openldap-features
  1405. steps:
  1406. - name: submodules
  1407. image: docker:git
  1408. commands:
  1409. - git submodule update --init
  1410. - name: integration-ldap-openldap-features
  1411. image: nextcloudci/integration-php7.1:2
  1412. commands:
  1413. - bash tests/drone-run-integration-tests.sh || exit 0
  1414. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1415. - ./occ config:system:set redis host --value=cache
  1416. - ./occ config:system:set redis port --value=6379 --type=integer
  1417. - ./occ config:system:set redis timeout --value=0 --type=integer
  1418. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1419. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1420. - cd build/integration
  1421. - ./run.sh ldap_features/ldap-openldap.feature
  1422. services:
  1423. - name: cache
  1424. image: redis
  1425. - name: openldap
  1426. image: nextcloudci/openldap:openldap-7
  1427. environment:
  1428. SLAPD_DOMAIN: nextcloud.ci
  1429. SLAPD_ORGANIZATION: Nextcloud
  1430. SLAPD_PASSWORD: admin
  1431. SLAPD_ADDITIONAL_MODULES: memberof
  1432. trigger:
  1433. branch:
  1434. - master
  1435. - stable*
  1436. event:
  1437. - pull_request
  1438. - push
  1439. ---
  1440. kind: pipeline
  1441. name: integration-ldap-openldap-uid-features
  1442. steps:
  1443. - name: submodules
  1444. image: docker:git
  1445. commands:
  1446. - git submodule update --init
  1447. - name: integration-ldap-openldap-uid-features
  1448. image: nextcloudci/integration-php7.1:2
  1449. commands:
  1450. - bash tests/drone-run-integration-tests.sh || exit 0
  1451. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1452. - ./occ config:system:set redis host --value=cache
  1453. - ./occ config:system:set redis port --value=6379 --type=integer
  1454. - ./occ config:system:set redis timeout --value=0 --type=integer
  1455. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1456. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1457. - cd build/integration
  1458. - ./run.sh ldap_features/openldap-uid-username.feature
  1459. services:
  1460. - name: cache
  1461. image: redis
  1462. - name: openldap
  1463. image: nextcloudci/openldap:openldap-7
  1464. environment:
  1465. SLAPD_DOMAIN: nextcloud.ci
  1466. SLAPD_ORGANIZATION: Nextcloud
  1467. SLAPD_PASSWORD: admin
  1468. SLAPD_ADDITIONAL_MODULES: memberof
  1469. trigger:
  1470. branch:
  1471. - master
  1472. - stable*
  1473. event:
  1474. - pull_request
  1475. - push
  1476. ---
  1477. kind: pipeline
  1478. name: integration-ldap-openldap-numerical-id-features
  1479. steps:
  1480. - name: submodules
  1481. image: docker:git
  1482. commands:
  1483. - git submodule update --init
  1484. - name: integration-ldap-openldap-numerical-id-features
  1485. image: nextcloudci/integration-php7.1:2
  1486. commands:
  1487. - bash tests/drone-run-integration-tests.sh || exit 0
  1488. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1489. - ./occ config:system:set redis host --value=cache
  1490. - ./occ config:system:set redis port --value=6379 --type=integer
  1491. - ./occ config:system:set redis timeout --value=0 --type=integer
  1492. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1493. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1494. - cd build/integration
  1495. - ./run.sh ldap_features/openldap-numerical-id.feature
  1496. services:
  1497. - name: cache
  1498. image: redis
  1499. - name: openldap
  1500. image: nextcloudci/openldap:openldap-7
  1501. environment:
  1502. SLAPD_DOMAIN: nextcloud.ci
  1503. SLAPD_ORGANIZATION: Nextcloud
  1504. SLAPD_PASSWORD: admin
  1505. SLAPD_ADDITIONAL_MODULES: memberof
  1506. trigger:
  1507. branch:
  1508. - master
  1509. - stable*
  1510. event:
  1511. - pull_request
  1512. - push
  1513. ---
  1514. kind: pipeline
  1515. name: integration-trashbin
  1516. steps:
  1517. - name: submodules
  1518. image: docker:git
  1519. commands:
  1520. - git submodule update --init
  1521. - name: integration-trashbin
  1522. image: nextcloudci/integration-php7.1:2
  1523. commands:
  1524. - bash tests/drone-run-integration-tests.sh || exit 0
  1525. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1526. - cd build/integration
  1527. - ./run.sh features/trashbin.feature
  1528. trigger:
  1529. branch:
  1530. - master
  1531. - stable*
  1532. event:
  1533. - pull_request
  1534. - push
  1535. ---
  1536. kind: pipeline
  1537. name: integration-remote-api
  1538. steps:
  1539. - name: submodules
  1540. image: docker:git
  1541. commands:
  1542. - git submodule update --init
  1543. - name: integration-remote-api
  1544. image: nextcloudci/integration-php7.1:2
  1545. commands:
  1546. - bash tests/drone-run-integration-tests.sh || exit 0
  1547. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1548. - cd build/integration
  1549. - ./run.sh remoteapi_features/remote.feature
  1550. trigger:
  1551. branch:
  1552. - master
  1553. - stable*
  1554. event:
  1555. - pull_request
  1556. - push
  1557. ---
  1558. kind: pipeline
  1559. name: integration-download
  1560. steps:
  1561. - name: submodules
  1562. image: docker:git
  1563. commands:
  1564. - git submodule update --init
  1565. - name: integration-download
  1566. image: nextcloudci/integration-php7.1:2
  1567. commands:
  1568. - bash tests/drone-run-integration-tests.sh || exit 0
  1569. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1570. - cd build/integration
  1571. - ./run.sh --tags ~@large features/download.feature
  1572. trigger:
  1573. branch:
  1574. - master
  1575. - stable*
  1576. event:
  1577. - pull_request
  1578. - push
  1579. ---
  1580. kind: pipeline
  1581. name: acceptance-access-levels
  1582. steps:
  1583. - name: submodules
  1584. image: docker:git
  1585. commands:
  1586. - git submodule update --init
  1587. - name: acceptance-access-levels
  1588. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1589. commands:
  1590. - 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
  1591. services:
  1592. - name: selenium
  1593. image: selenium/standalone-firefox:2.53.1-beryllium
  1594. environment:
  1595. # Reduce default log level for Selenium server (INFO) as it is too
  1596. # verbose.
  1597. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1598. trigger:
  1599. branch:
  1600. - master
  1601. - stable*
  1602. event:
  1603. - pull_request
  1604. - push
  1605. ---
  1606. kind: pipeline
  1607. name: acceptance-app-comments
  1608. steps:
  1609. - name: submodules
  1610. image: docker:git
  1611. commands:
  1612. - git submodule update --init
  1613. - name: acceptance-app-comments
  1614. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1615. commands:
  1616. - 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
  1617. services:
  1618. - name: selenium
  1619. image: selenium/standalone-firefox:2.53.1-beryllium
  1620. environment:
  1621. # Reduce default log level for Selenium server (INFO) as it is too
  1622. # verbose.
  1623. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1624. trigger:
  1625. branch:
  1626. - master
  1627. - stable*
  1628. event:
  1629. - pull_request
  1630. - push
  1631. ---
  1632. kind: pipeline
  1633. name: acceptance-app-files
  1634. steps:
  1635. - name: submodules
  1636. image: docker:git
  1637. commands:
  1638. - git submodule update --init
  1639. - name: acceptance-app-files
  1640. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1641. commands:
  1642. - 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
  1643. services:
  1644. - name: selenium
  1645. image: selenium/standalone-firefox:2.53.1-beryllium
  1646. environment:
  1647. # Reduce default log level for Selenium server (INFO) as it is too
  1648. # verbose.
  1649. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1650. trigger:
  1651. branch:
  1652. - master
  1653. - stable*
  1654. event:
  1655. - pull_request
  1656. - push
  1657. ---
  1658. kind: pipeline
  1659. name: acceptance-app-files-sharing
  1660. steps:
  1661. - name: submodules
  1662. image: docker:git
  1663. commands:
  1664. - git submodule update --init
  1665. - name: acceptance-app-files-sharing
  1666. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1667. commands:
  1668. - 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
  1669. services:
  1670. - name: selenium
  1671. image: selenium/standalone-firefox:2.53.1-beryllium
  1672. environment:
  1673. # Reduce default log level for Selenium server (INFO) as it is too
  1674. # verbose.
  1675. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1676. trigger:
  1677. branch:
  1678. - master
  1679. - stable*
  1680. event:
  1681. - pull_request
  1682. - push
  1683. ---
  1684. kind: pipeline
  1685. name: acceptance-app-files-sharing-link
  1686. steps:
  1687. - name: submodules
  1688. image: docker:git
  1689. commands:
  1690. - git submodule update --init
  1691. - name: acceptance-app-files-sharing-link
  1692. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1693. commands:
  1694. - 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
  1695. services:
  1696. - name: selenium
  1697. image: selenium/standalone-firefox:2.53.1-beryllium
  1698. environment:
  1699. # Reduce default log level for Selenium server (INFO) as it is too
  1700. # verbose.
  1701. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1702. trigger:
  1703. branch:
  1704. - master
  1705. - stable*
  1706. event:
  1707. - pull_request
  1708. - push
  1709. ---
  1710. kind: pipeline
  1711. name: acceptance-app-files-tags
  1712. steps:
  1713. - name: submodules
  1714. image: docker:git
  1715. commands:
  1716. - git submodule update --init
  1717. - name: acceptance-app-files-tags
  1718. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1719. commands:
  1720. - 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
  1721. services:
  1722. - name: selenium
  1723. image: selenium/standalone-firefox:2.53.1-beryllium
  1724. environment:
  1725. # Reduce default log level for Selenium server (INFO) as it is too
  1726. # verbose.
  1727. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1728. trigger:
  1729. branch:
  1730. - master
  1731. - stable*
  1732. event:
  1733. - pull_request
  1734. - push
  1735. ---
  1736. kind: pipeline
  1737. name: acceptance-app-theming
  1738. steps:
  1739. - name: submodules
  1740. image: docker:git
  1741. commands:
  1742. - git submodule update --init
  1743. - name: acceptance-app-theming
  1744. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1745. commands:
  1746. - 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
  1747. services:
  1748. - name: selenium
  1749. image: selenium/standalone-firefox:2.53.1-beryllium
  1750. environment:
  1751. # Reduce default log level for Selenium server (INFO) as it is too
  1752. # verbose.
  1753. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1754. trigger:
  1755. branch:
  1756. - master
  1757. - stable*
  1758. event:
  1759. - pull_request
  1760. - push
  1761. ---
  1762. kind: pipeline
  1763. name: acceptance-header
  1764. steps:
  1765. - name: submodules
  1766. image: docker:git
  1767. commands:
  1768. - git submodule update --init
  1769. - name: acceptance-header
  1770. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1771. commands:
  1772. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1773. services:
  1774. - name: selenium
  1775. image: selenium/standalone-firefox:2.53.1-beryllium
  1776. environment:
  1777. # Reduce default log level for Selenium server (INFO) as it is too
  1778. # verbose.
  1779. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1780. trigger:
  1781. branch:
  1782. - master
  1783. - stable*
  1784. event:
  1785. - pull_request
  1786. - push
  1787. ---
  1788. kind: pipeline
  1789. name: acceptance-login
  1790. steps:
  1791. - name: submodules
  1792. image: docker:git
  1793. commands:
  1794. - git submodule update --init
  1795. - name: acceptance-login
  1796. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1797. commands:
  1798. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1799. services:
  1800. - name: selenium
  1801. image: selenium/standalone-firefox:2.53.1-beryllium
  1802. environment:
  1803. # Reduce default log level for Selenium server (INFO) as it is too
  1804. # verbose.
  1805. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1806. trigger:
  1807. branch:
  1808. - master
  1809. - stable*
  1810. event:
  1811. - pull_request
  1812. - push
  1813. ---
  1814. kind: pipeline
  1815. name: acceptance-users
  1816. steps:
  1817. - name: submodules
  1818. image: docker:git
  1819. commands:
  1820. - git submodule update --init
  1821. - name: acceptance-users
  1822. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1823. commands:
  1824. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1825. services:
  1826. - name: selenium
  1827. image: selenium/standalone-firefox:2.53.1-beryllium
  1828. environment:
  1829. # Reduce default log level for Selenium server (INFO) as it is too
  1830. # verbose.
  1831. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1832. trigger:
  1833. branch:
  1834. - master
  1835. - stable*
  1836. event:
  1837. - pull_request
  1838. - push
  1839. ---
  1840. kind: pipeline
  1841. name: acceptance-apps
  1842. steps:
  1843. - name: submodules
  1844. image: docker:git
  1845. commands:
  1846. - git submodule update --init
  1847. - name: acceptance-apps
  1848. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1849. commands:
  1850. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1851. services:
  1852. - name: selenium
  1853. image: selenium/standalone-firefox:2.53.1-beryllium
  1854. environment:
  1855. # Reduce default log level for Selenium server (INFO) as it is too
  1856. # verbose.
  1857. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1858. trigger:
  1859. branch:
  1860. - master
  1861. - stable*
  1862. event:
  1863. - pull_request
  1864. - push
  1865. ---
  1866. kind: pipeline
  1867. name: nodb-codecov
  1868. steps:
  1869. - name: submodules
  1870. image: docker:git
  1871. commands:
  1872. - git submodule update --init
  1873. - name: nodb-codecov
  1874. image: nextcloudci/php7.1:php7.1-16
  1875. commands:
  1876. - phpenmod xdebug
  1877. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1878. - wget https://codecov.io/bash -O codecov.sh
  1879. - 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"
  1880. - 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"
  1881. services:
  1882. - name: cache
  1883. image: redis
  1884. trigger:
  1885. branch:
  1886. - master
  1887. - stable*
  1888. event:
  1889. - push
  1890. ---
  1891. kind: pipeline
  1892. name: db-codecov
  1893. steps:
  1894. - name: submodules
  1895. image: docker:git
  1896. commands:
  1897. - git submodule update --init
  1898. - name: db-codecov
  1899. image: nextcloudci/php7.1:php7.1-16
  1900. commands:
  1901. - phpenmod xdebug
  1902. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1903. - wget https://codecov.io/bash -O codecov.sh
  1904. - 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"
  1905. - 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"
  1906. services:
  1907. - name: cache
  1908. image: redis
  1909. trigger:
  1910. branch:
  1911. - master
  1912. - stable*
  1913. event:
  1914. - push
  1915. ---
  1916. kind: pipeline
  1917. name: object-store-s3
  1918. steps:
  1919. - name: submodules
  1920. image: docker:git
  1921. commands:
  1922. - git submodule update --init
  1923. - name: object-store
  1924. image: nextcloudci/php7.1:php7.1-16
  1925. commands:
  1926. - phpenmod xdebug
  1927. - ./tests/drone-wait-objectstore.sh
  1928. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1929. - wget https://codecov.io/bash -O codecov.sh
  1930. - 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"
  1931. - 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"
  1932. services:
  1933. - name: fake-s3
  1934. image: lphoward/fake-s3:latest
  1935. trigger:
  1936. branch:
  1937. - master
  1938. - stable*
  1939. event:
  1940. - pull_request
  1941. - push
  1942. ---
  1943. kind: pipeline
  1944. name: object-store-azure
  1945. steps:
  1946. - name: submodules
  1947. image: docker:git
  1948. commands:
  1949. - git submodule update --init
  1950. - name: object-store
  1951. image: nextcloudci/php7.1:php7.1-16
  1952. commands:
  1953. - phpenmod xdebug
  1954. - ./tests/drone-wait-objectstore.sh
  1955. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1956. - wget https://codecov.io/bash -O codecov.sh
  1957. - 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"
  1958. - 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"
  1959. services:
  1960. - name: azurite
  1961. image: arafato/azurite:latest
  1962. environment:
  1963. executable: blob
  1964. trigger:
  1965. branch:
  1966. - master
  1967. - stable*
  1968. event:
  1969. - pull_request
  1970. - push
  1971. ---
  1972. #kind: pipeline
  1973. #name: object-store-swift-v2
  1974. #
  1975. #clone:
  1976. # depth: 1
  1977. #
  1978. #steps:
  1979. #- name: submodules
  1980. # image: docker:git
  1981. # commands:
  1982. # - git submodule update --init
  1983. #- name: object-store
  1984. # image: nextcloudci/php7.1:php7.1-16
  1985. # commands:
  1986. # - phpenmod xdebug
  1987. # - ./tests/drone-wait-objectstore.sh
  1988. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  1989. # - wget https://codecov.io/bash -O codecov.sh
  1990. # - 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"
  1991. # - 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"
  1992. #
  1993. #services:
  1994. #- name: dockswift
  1995. # image: icewind1991/dockswift:nextcloud-ci
  1996. # environment:
  1997. # IPADDRESS: dockswift
  1998. #
  1999. #trigger:
  2000. # branch:
  2001. # - master
  2002. # - stable*
  2003. # event:
  2004. # - pull_request
  2005. # - push
  2006. #
  2007. #---
  2008. #kind: pipeline
  2009. #name: object-store-swift-v3
  2010. #
  2011. #clone:
  2012. # depth: 1
  2013. #
  2014. #steps:
  2015. #- name: submodules
  2016. # image: docker:git
  2017. # commands:
  2018. # - git submodule update --init
  2019. #- name: object-store
  2020. # image: nextcloudci/php7.1:php7.1-16
  2021. # commands:
  2022. # - phpenmod xdebug
  2023. # - ./tests/drone-wait-objectstore.sh
  2024. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  2025. # - wget https://codecov.io/bash -O codecov.sh
  2026. # - 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"
  2027. # - 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"
  2028. #
  2029. #services:
  2030. #- name: dockswift
  2031. # image: icewind1991/dockswift:nextcloud-ci
  2032. # environment:
  2033. # IPADDRESS: dockswift
  2034. #
  2035. #trigger:
  2036. # branch:
  2037. # - master
  2038. # - stable*
  2039. # event:
  2040. # - pull_request
  2041. # - push
  2042. #
  2043. #---
  2044. kind: pipeline
  2045. name: memcache-memcached
  2046. steps:
  2047. - name: submodules
  2048. image: docker:git
  2049. commands:
  2050. - git submodule update --init
  2051. - name: memcache-memcached
  2052. image: nextcloudci/php7.1-memcached:1
  2053. commands:
  2054. - phpenmod xdebug
  2055. - service memcached restart
  2056. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  2057. - wget https://codecov.io/bash -O codecov.sh
  2058. - 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"
  2059. - 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"
  2060. trigger:
  2061. branch:
  2062. - master
  2063. - stable*
  2064. event:
  2065. - pull_request
  2066. - push
  2067. ---
  2068. kind: pipeline
  2069. name: memcache-redis-cluster
  2070. steps:
  2071. - name: submodules
  2072. image: docker:git
  2073. commands:
  2074. - git submodule update --init
  2075. - name: memcache-redis-cluster
  2076. image: nextcloudci/php7.1:php7.1-16
  2077. commands:
  2078. - phpenmod xdebug
  2079. - sleep 20
  2080. - ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
  2081. - wget https://codecov.io/bash -O codecov.sh
  2082. - 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"
  2083. - 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"
  2084. services:
  2085. - name: cache-cluster
  2086. image: morrisjobke/redis-cluster
  2087. trigger:
  2088. branch:
  2089. - master
  2090. - stable*
  2091. event:
  2092. - pull_request
  2093. - push