.drone.yml 62 KB

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