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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992
  1. kind: pipeline
  2. name: checkers
  3. steps:
  4. - name: submodules
  5. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  6. commands:
  7. - git submodule update --init
  8. - name: checkers
  9. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  10. commands:
  11. - ./autotest-checkers.sh
  12. secrets: [ github_token ]
  13. trigger:
  14. branch:
  15. - master
  16. - stable*
  17. event:
  18. - pull_request
  19. - push
  20. ---
  21. kind: pipeline
  22. name: litmus
  23. steps:
  24. - name: submodules
  25. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  26. commands:
  27. - git submodule update --init
  28. - name: litmus-v1
  29. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  30. commands:
  31. - bash tests/travis/install.sh sqlite
  32. - bash apps/dav/tests/travis/litmus-v1/script.sh
  33. - name: litmus-v2
  34. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  35. commands:
  36. - bash tests/travis/install.sh sqlite
  37. - bash apps/dav/tests/travis/litmus-v2/script.sh
  38. trigger:
  39. branch:
  40. - master
  41. - stable*
  42. event:
  43. - pull_request
  44. - push
  45. ---
  46. kind: pipeline
  47. name: caldavtester-new-endpoint
  48. steps:
  49. - name: submodules
  50. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  51. commands:
  52. - git submodule update --init
  53. - name: caldavtester-new-endpoint
  54. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  55. commands:
  56. - bash tests/travis/install.sh sqlite
  57. - bash apps/dav/tests/travis/caldav/install.sh
  58. - bash apps/dav/tests/travis/caldav/script-new-endpoint.sh
  59. trigger:
  60. branch:
  61. - master
  62. - stable*
  63. event:
  64. - pull_request
  65. - push
  66. ---
  67. kind: pipeline
  68. name: caldavtester-old-endpoint
  69. steps:
  70. - name: submodules
  71. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  72. commands:
  73. - git submodule update --init
  74. - name: caldavtester-old-endpoint
  75. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  76. commands:
  77. - bash tests/travis/install.sh sqlite
  78. - bash apps/dav/tests/travis/caldav/install.sh
  79. - bash apps/dav/tests/travis/caldav/script-old-endpoint.sh
  80. trigger:
  81. branch:
  82. - master
  83. - stable*
  84. event:
  85. - pull_request
  86. - push
  87. ---
  88. kind: pipeline
  89. name: carddavtester-new-endpoint
  90. steps:
  91. - name: submodules
  92. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  93. commands:
  94. - git submodule update --init
  95. - name: carddavtester-new-endpoint
  96. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  97. commands:
  98. - bash tests/travis/install.sh sqlite
  99. - bash apps/dav/tests/travis/carddav/install.sh
  100. - bash apps/dav/tests/travis/carddav/script-new-endpoint.sh
  101. trigger:
  102. branch:
  103. - master
  104. - stable*
  105. event:
  106. - pull_request
  107. - push
  108. ---
  109. kind: pipeline
  110. name: carddavtester-old-endpoint
  111. steps:
  112. - name: submodules
  113. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  114. commands:
  115. - git submodule update --init
  116. - name: carddavtester-old-endpoint
  117. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  118. commands:
  119. - bash tests/travis/install.sh sqlite
  120. - bash apps/dav/tests/travis/carddav/install.sh
  121. - bash apps/dav/tests/travis/carddav/script-old-endpoint.sh
  122. trigger:
  123. branch:
  124. - master
  125. - stable*
  126. event:
  127. - pull_request
  128. - push
  129. ---
  130. kind: pipeline
  131. name: samba
  132. steps:
  133. - name: submodules
  134. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  135. commands:
  136. - git submodule update --init
  137. - name: sqlite-php8.0-samba-native
  138. image: ghcr.io/nextcloud/continuous-integration-samba-native-php8.0:latest
  139. commands:
  140. - smbd -D -FS &
  141. - ./autotest-external.sh sqlite smb-linux
  142. - wget https://codecov.io/bash -O codecov.sh
  143. - 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"
  144. - 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"
  145. - 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"
  146. - 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"
  147. # Temporarily disabled because it times out for unknown reasons 98% of the time
  148. #- name: sqlite-php8.0-samba-non-native
  149. # image: ghcr.io/nextcloud/continuous-integration-samba-non-native-php8.0:latest
  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-php8.0-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-php8.0-webdav-apache
  174. image: ghcr.io/nextcloud/continuous-integration-webdav-apache-php8.0:latest
  175. commands:
  176. - apache2ctl start
  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-php8.0
  202. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  203. commands:
  204. - bash tests/drone-run-php-tests.sh || exit 0
  205. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  206. services:
  207. - name: cache
  208. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  209. trigger:
  210. branch:
  211. - master
  212. - stable*
  213. event:
  214. - pull_request
  215. - push
  216. ---
  217. kind: pipeline
  218. name: sqlite
  219. steps:
  220. - name: submodules
  221. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  222. commands:
  223. - git submodule update --init
  224. - name: sqlite-php8.0
  225. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  226. commands:
  227. - bash tests/drone-run-php-tests.sh || exit 0
  228. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  229. services:
  230. - name: cache
  231. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  232. trigger:
  233. branch:
  234. - master
  235. - stable*
  236. event:
  237. - pull_request
  238. - push
  239. ---
  240. kind: pipeline
  241. name: mariadb10.2-php8.0
  242. steps:
  243. - name: submodules
  244. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  245. commands:
  246. - git submodule update --init
  247. - name: mariadb10.2-php8.0
  248. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  249. commands:
  250. - bash tests/drone-run-php-tests.sh || exit 0
  251. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  252. services:
  253. - name: cache
  254. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  255. - name: mariadb
  256. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.2:10.2
  257. environment:
  258. MYSQL_ROOT_PASSWORD: owncloud
  259. MYSQL_USER: oc_autotest
  260. MYSQL_PASSWORD: owncloud
  261. MYSQL_DATABASE: oc_autotest
  262. command:
  263. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  264. tmpfs:
  265. - /var/lib/mysql
  266. trigger:
  267. branch:
  268. - master
  269. - stable*
  270. event:
  271. - pull_request
  272. - push
  273. ---
  274. kind: pipeline
  275. name: mariadb10.4-php8.0
  276. steps:
  277. - name: submodules
  278. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  279. commands:
  280. - git submodule update --init
  281. - name: mariadb10.4-php8.0
  282. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  283. commands:
  284. - bash tests/drone-run-php-tests.sh || exit 0
  285. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  286. services:
  287. - name: cache
  288. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  289. - name: mariadb
  290. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4
  291. environment:
  292. MYSQL_ROOT_PASSWORD: owncloud
  293. MYSQL_USER: oc_autotest
  294. MYSQL_PASSWORD: owncloud
  295. MYSQL_DATABASE: oc_autotest
  296. command:
  297. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  298. tmpfs:
  299. - /var/lib/mysql
  300. trigger:
  301. branch:
  302. - master
  303. - stable*
  304. event:
  305. - pull_request
  306. - push
  307. ---
  308. kind: pipeline
  309. name: mariadb10.6-php8.0
  310. steps:
  311. - name: submodules
  312. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  313. commands:
  314. - git submodule update --init
  315. - name: mariadb10.6-php8.0
  316. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  317. commands:
  318. - bash tests/drone-run-php-tests.sh || exit 0
  319. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  320. services:
  321. - name: cache
  322. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  323. - name: mariadb
  324. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.6:latest
  325. environment:
  326. MYSQL_ROOT_PASSWORD: owncloud
  327. MYSQL_USER: oc_autotest
  328. MYSQL_PASSWORD: owncloud
  329. MYSQL_DATABASE: oc_autotest
  330. command:
  331. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  332. tmpfs:
  333. - /var/lib/mysql
  334. trigger:
  335. branch:
  336. - master
  337. - stable*
  338. event:
  339. - pull_request
  340. - push
  341. ---
  342. kind: pipeline
  343. name: mysql8.0-php8.0
  344. steps:
  345. - name: submodules
  346. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  347. commands:
  348. - git submodule update --init
  349. - name: mysql-php8.0
  350. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  351. commands:
  352. - bash tests/drone-run-php-tests.sh || exit 0
  353. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  354. services:
  355. - name: cache
  356. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  357. - name: mysql
  358. image: ghcr.io/nextcloud/continuous-integration-mysql-8.0:mysql-8.0
  359. command:
  360. - --default-authentication-plugin=mysql_native_password
  361. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  362. environment:
  363. MYSQL_ROOT_PASSWORD: owncloud
  364. MYSQL_USER: oc_autotest
  365. MYSQL_PASSWORD: owncloud
  366. MYSQL_DATABASE: oc_autotest
  367. tmpfs:
  368. - /var/lib/mysql
  369. trigger:
  370. branch:
  371. - master
  372. - stable*
  373. event:
  374. - pull_request
  375. - push
  376. ---
  377. kind: pipeline
  378. name: postgres10-php8.0
  379. steps:
  380. - name: submodules
  381. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  382. commands:
  383. - git submodule update --init
  384. - name: postgres-php8.0
  385. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  386. commands:
  387. - bash tests/drone-run-php-tests.sh || exit 0
  388. - sleep 10 # gives the database enough time to initialize
  389. - POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  390. services:
  391. - name: cache
  392. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  393. - name: postgres-10
  394. image: ghcr.io/nextcloud/continuous-integration-postgres-10:postgres-10
  395. environment:
  396. POSTGRES_USER: oc_autotest
  397. POSTGRES_DB: oc_autotest
  398. POSTGRES_PASSWORD: owncloud
  399. tmpfs:
  400. - /var/lib/postgresql/data
  401. trigger:
  402. branch:
  403. - master
  404. - stable*
  405. event:
  406. - pull_request
  407. - push
  408. ---
  409. kind: pipeline
  410. name: postgres11-php8.0
  411. steps:
  412. - name: submodules
  413. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  414. commands:
  415. - git submodule update --init
  416. - name: postgres-php8.0
  417. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  418. commands:
  419. - bash tests/drone-run-php-tests.sh || exit 0
  420. - sleep 10 # gives the database enough time to initialize
  421. - POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  422. services:
  423. - name: cache
  424. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  425. - name: postgres-11
  426. image: ghcr.io/nextcloud/continuous-integration-postgres-11:postgres-11
  427. environment:
  428. POSTGRES_USER: oc_autotest
  429. POSTGRES_DB: oc_autotest
  430. POSTGRES_PASSWORD: owncloud
  431. tmpfs:
  432. - /var/lib/postgresql/data
  433. trigger:
  434. branch:
  435. - master
  436. - stable*
  437. event:
  438. - pull_request
  439. - push
  440. ---
  441. kind: pipeline
  442. name: postgres13-php8.0
  443. steps:
  444. - name: submodules
  445. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  446. commands:
  447. - git submodule update --init
  448. - name: postgres-php8.0
  449. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  450. commands:
  451. - bash tests/drone-run-php-tests.sh || exit 0
  452. - sleep 10 # gives the database enough time to initialize
  453. - POSTGRES=13 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  454. services:
  455. - name: cache
  456. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  457. - name: postgres-13
  458. image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
  459. environment:
  460. POSTGRES_USER: oc_autotest
  461. POSTGRES_DB: oc_autotest
  462. POSTGRES_PASSWORD: owncloud
  463. tmpfs:
  464. - /var/lib/postgresql/data
  465. trigger:
  466. branch:
  467. - master
  468. - stable*
  469. event:
  470. - pull_request
  471. - push
  472. ---
  473. kind: pipeline
  474. name: postgres15-php8.0
  475. steps:
  476. - name: submodules
  477. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  478. commands:
  479. - git submodule update --init
  480. - name: postgres-php8.0
  481. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  482. commands:
  483. - bash tests/drone-run-php-tests.sh || exit 0
  484. - sleep 10 # gives the database enough time to initialize
  485. - POSTGRES=15 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  486. services:
  487. - name: cache
  488. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  489. - name: postgres-15
  490. image: ghcr.io/nextcloud/continuous-integration-postgres-15:latest
  491. environment:
  492. POSTGRES_USER: oc_autotest
  493. POSTGRES_DB: oc_autotest
  494. POSTGRES_PASSWORD: owncloud
  495. tmpfs:
  496. - /var/lib/postgresql/data
  497. trigger:
  498. branch:
  499. - master
  500. - stable*
  501. event:
  502. - pull_request
  503. - push
  504. ---
  505. kind: pipeline
  506. name: integration-capabilities_features
  507. steps:
  508. - name: submodules
  509. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  510. commands:
  511. - git submodule update --init
  512. - name: integration-capabilities_features
  513. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  514. commands:
  515. - bash tests/drone-run-integration-tests.sh || exit 0
  516. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  517. - cd build/integration
  518. - ./run.sh capabilities_features/capabilities.feature
  519. trigger:
  520. branch:
  521. - master
  522. - stable*
  523. event:
  524. - pull_request
  525. - push
  526. ---
  527. kind: pipeline
  528. name: integration-collaboration_features
  529. steps:
  530. - name: submodules
  531. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  532. commands:
  533. - git submodule update --init
  534. - name: integration-collaboration_features
  535. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  536. commands:
  537. - bash tests/drone-run-integration-tests.sh || exit 0
  538. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  539. - cd build/integration
  540. - ./run.sh collaboration_features/
  541. trigger:
  542. branch:
  543. - master
  544. - stable*
  545. event:
  546. - pull_request
  547. - push
  548. ---
  549. kind: pipeline
  550. name: integration-federation_features
  551. steps:
  552. - name: submodules
  553. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  554. commands:
  555. - git submodule update --init
  556. - name: integration-federation_features
  557. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  558. commands:
  559. - bash tests/drone-run-integration-tests.sh || exit 0
  560. - ./occ maintenance:install --admin-pass=admin
  561. - cd build/integration
  562. - ./run.sh federation_features/
  563. trigger:
  564. branch:
  565. - master
  566. - stable*
  567. event:
  568. - pull_request
  569. - push
  570. ---
  571. kind: pipeline
  572. name: integration-auth
  573. steps:
  574. - name: submodules
  575. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  576. commands:
  577. - git submodule update --init
  578. - name: integration-auth
  579. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  580. commands:
  581. - bash tests/drone-run-integration-tests.sh || exit 0
  582. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  583. - cd build/integration
  584. - ./run.sh features/auth.feature
  585. trigger:
  586. branch:
  587. - master
  588. - stable*
  589. event:
  590. - pull_request
  591. - push
  592. ---
  593. kind: pipeline
  594. name: integration-avatar
  595. steps:
  596. - name: submodules
  597. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  598. commands:
  599. - git submodule update --init
  600. - name: integration-avatar
  601. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  602. commands:
  603. - bash tests/drone-run-integration-tests.sh || exit 0
  604. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  605. - cd build/integration
  606. - ./run.sh features/avatar.feature
  607. trigger:
  608. branch:
  609. - master
  610. - stable*
  611. event:
  612. - pull_request
  613. - push
  614. ---
  615. kind: pipeline
  616. name: integration-maintenance-mode
  617. steps:
  618. - name: submodules
  619. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  620. commands:
  621. - git submodule update --init
  622. - name: integration-maintenance-mode
  623. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  624. commands:
  625. - bash tests/drone-run-integration-tests.sh || exit 0
  626. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  627. - cd build/integration
  628. - ./run.sh features/maintenance-mode.feature
  629. trigger:
  630. branch:
  631. - master
  632. - stable*
  633. event:
  634. - pull_request
  635. - push
  636. ---
  637. kind: pipeline
  638. name: integration-ratelimiting
  639. steps:
  640. - name: submodules
  641. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  642. commands:
  643. - git submodule update --init
  644. - name: integration-ratelimiting
  645. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  646. commands:
  647. - bash tests/drone-run-integration-tests.sh || exit 0
  648. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  649. - ./occ config:system:set redis host --value=cache
  650. - ./occ config:system:set redis port --value=6379 --type=integer
  651. - ./occ config:system:set redis timeout --value=0 --type=integer
  652. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  653. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  654. - ./occ app:enable testing
  655. - cd build/integration
  656. - ./run.sh features/ratelimiting.feature
  657. services:
  658. - name: cache
  659. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  660. trigger:
  661. branch:
  662. - master
  663. - stable*
  664. event:
  665. - pull_request
  666. - push
  667. ---
  668. kind: pipeline
  669. name: integration-carddav
  670. steps:
  671. - name: submodules
  672. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  673. commands:
  674. - git submodule update --init
  675. - name: integration-carddav
  676. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  677. commands:
  678. - bash tests/drone-run-integration-tests.sh || exit 0
  679. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  680. - cd build/integration
  681. - ./run.sh features/carddav.feature
  682. trigger:
  683. branch:
  684. - master
  685. - stable*
  686. event:
  687. - pull_request
  688. - push
  689. ---
  690. kind: pipeline
  691. name: integration-dav-v2
  692. steps:
  693. - name: submodules
  694. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  695. commands:
  696. - git submodule update --init
  697. - name: integration-dav-v2
  698. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  699. commands:
  700. - bash tests/drone-run-integration-tests.sh || exit 0
  701. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  702. - cd build/integration
  703. - ./run.sh features/dav-v2.feature
  704. trigger:
  705. branch:
  706. - master
  707. - stable*
  708. event:
  709. - pull_request
  710. - push
  711. ---
  712. kind: pipeline
  713. name: integration-ocs-v1
  714. steps:
  715. - name: submodules
  716. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  717. commands:
  718. - git submodule update --init
  719. - name: integration-ocs-v1
  720. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  721. commands:
  722. - bash tests/drone-run-integration-tests.sh || exit 0
  723. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  724. - cd build/integration
  725. - ./run.sh features/ocs-v1.feature
  726. trigger:
  727. branch:
  728. - master
  729. - stable*
  730. event:
  731. - pull_request
  732. - push
  733. ---
  734. kind: pipeline
  735. name: integration-checksums-v1
  736. steps:
  737. - name: submodules
  738. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  739. commands:
  740. - git submodule update --init
  741. - name: integration-checksums-v1
  742. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  743. commands:
  744. - bash tests/drone-run-integration-tests.sh || exit 0
  745. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  746. - cd build/integration
  747. - ./run.sh features/checksums.feature
  748. trigger:
  749. branch:
  750. - master
  751. - stable*
  752. event:
  753. - pull_request
  754. - push
  755. ---
  756. kind: pipeline
  757. name: integration-external-storage
  758. steps:
  759. - name: submodules
  760. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  761. commands:
  762. - git submodule update --init
  763. - name: integration-external-storage
  764. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  765. commands:
  766. - bash tests/drone-run-integration-tests.sh || exit 0
  767. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  768. - cd build/integration
  769. - ./run.sh features/external-storage.feature
  770. trigger:
  771. branch:
  772. - master
  773. - stable*
  774. event:
  775. - pull_request
  776. - push
  777. ---
  778. kind: pipeline
  779. name: integration-provisioning-v1
  780. steps:
  781. - name: submodules
  782. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  783. commands:
  784. - git submodule update --init
  785. - name: integration-provisioning-v1
  786. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  787. commands:
  788. - bash tests/drone-run-integration-tests.sh || exit 0
  789. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  790. - cd build/integration
  791. - ./run.sh features/provisioning-v1.feature
  792. trigger:
  793. branch:
  794. - master
  795. - stable*
  796. event:
  797. - pull_request
  798. - push
  799. ---
  800. kind: pipeline
  801. name: integration-tags
  802. steps:
  803. - name: submodules
  804. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  805. commands:
  806. - git submodule update --init
  807. - name: integration-tags
  808. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  809. commands:
  810. - bash tests/drone-run-integration-tests.sh || exit 0
  811. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  812. - cd build/integration
  813. - ./run.sh features/tags.feature
  814. trigger:
  815. branch:
  816. - master
  817. - stable*
  818. event:
  819. - pull_request
  820. - push
  821. ---
  822. kind: pipeline
  823. name: integration-caldav
  824. steps:
  825. - name: submodules
  826. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  827. commands:
  828. - git submodule update --init
  829. - name: integration-caldav
  830. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  831. commands:
  832. - bash tests/drone-run-integration-tests.sh || exit 0
  833. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  834. - cd build/integration
  835. - ./run.sh features/caldav.feature
  836. trigger:
  837. branch:
  838. - master
  839. - stable*
  840. event:
  841. - pull_request
  842. - push
  843. ---
  844. kind: pipeline
  845. name: integration-comments
  846. steps:
  847. - name: submodules
  848. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  849. commands:
  850. - git submodule update --init
  851. - name: integration-comments
  852. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  853. commands:
  854. - bash tests/drone-run-integration-tests.sh || exit 0
  855. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  856. - cd build/integration
  857. - ./run.sh features/comments.feature
  858. trigger:
  859. branch:
  860. - master
  861. - stable*
  862. event:
  863. - pull_request
  864. - push
  865. ---
  866. kind: pipeline
  867. name: integration-comments-search
  868. steps:
  869. - name: submodules
  870. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  871. commands:
  872. - git submodule update --init
  873. - name: integration-comments-search
  874. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  875. commands:
  876. - bash tests/drone-run-integration-tests.sh || exit 0
  877. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  878. - cd build/integration
  879. - ./run.sh features/comments-search.feature
  880. trigger:
  881. branch:
  882. - master
  883. - stable*
  884. event:
  885. - pull_request
  886. - push
  887. ---
  888. kind: pipeline
  889. name: integration-contacts-menu
  890. steps:
  891. - name: submodules
  892. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  893. commands:
  894. - git submodule update --init
  895. - name: integration-contacts-menu
  896. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  897. commands:
  898. - bash tests/drone-run-integration-tests.sh || exit 0
  899. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  900. - cd build/integration
  901. - ./run.sh features/contacts-menu.feature
  902. trigger:
  903. branch:
  904. - master
  905. - stable*
  906. event:
  907. - pull_request
  908. - push
  909. ---
  910. kind: pipeline
  911. name: integration-favorites
  912. steps:
  913. - name: submodules
  914. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  915. commands:
  916. - git submodule update --init
  917. - name: integration-favorites
  918. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  919. commands:
  920. - bash tests/drone-run-integration-tests.sh || exit 0
  921. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  922. - cd build/integration
  923. - ./run.sh features/favorites.feature
  924. trigger:
  925. branch:
  926. - master
  927. - stable*
  928. event:
  929. - pull_request
  930. - push
  931. ---
  932. kind: pipeline
  933. name: integration-provisioning-v2
  934. steps:
  935. - name: submodules
  936. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  937. commands:
  938. - git submodule update --init
  939. - name: integration-provisioning-v2
  940. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  941. commands:
  942. - bash tests/drone-run-integration-tests.sh || exit 0
  943. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  944. - cd build/integration
  945. - ./run.sh features/provisioning-v2.feature
  946. trigger:
  947. branch:
  948. - master
  949. - stable*
  950. event:
  951. - pull_request
  952. - push
  953. ---
  954. kind: pipeline
  955. name: integration-webdav-related
  956. steps:
  957. - name: submodules
  958. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  959. commands:
  960. - git submodule update --init
  961. - name: integration-webdav-related
  962. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  963. commands:
  964. - bash tests/drone-run-integration-tests.sh || exit 0
  965. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  966. - cd build/integration
  967. - ./run.sh features/webdav-related.feature
  968. trigger:
  969. branch:
  970. - master
  971. - stable*
  972. event:
  973. - pull_request
  974. - push
  975. ---
  976. kind: pipeline
  977. name: integration-sharees-features
  978. steps:
  979. - name: submodules
  980. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  981. commands:
  982. - git submodule update --init
  983. - name: integration-sharees-features
  984. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  985. commands:
  986. - bash tests/drone-run-integration-tests.sh || exit 0
  987. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  988. - cd build/integration
  989. - ./run.sh sharees_features/sharees.feature
  990. trigger:
  991. branch:
  992. - master
  993. - stable*
  994. event:
  995. - pull_request
  996. - push
  997. ---
  998. kind: pipeline
  999. name: integration-sharees-v2-features
  1000. steps:
  1001. - name: submodules
  1002. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1003. commands:
  1004. - git submodule update --init
  1005. - name: integration-sharees-v2-features
  1006. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1007. commands:
  1008. - bash tests/drone-run-integration-tests.sh || exit 0
  1009. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1010. - cd build/integration
  1011. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  1012. trigger:
  1013. branch:
  1014. - master
  1015. - stable*
  1016. event:
  1017. - pull_request
  1018. - push
  1019. ---
  1020. kind: pipeline
  1021. name: integration-sharing-v1
  1022. steps:
  1023. - name: submodules
  1024. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1025. commands:
  1026. - git submodule update --init
  1027. - name: integration-sharing-v1
  1028. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1029. commands:
  1030. - bash tests/drone-run-integration-tests.sh || exit 0
  1031. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1032. - cd build/integration
  1033. - ./run.sh sharing_features/sharing-v1.feature
  1034. trigger:
  1035. branch:
  1036. - master
  1037. - stable*
  1038. event:
  1039. - pull_request
  1040. - push
  1041. ---
  1042. kind: pipeline
  1043. name: integration-sharing-v1-part2
  1044. steps:
  1045. - name: submodules
  1046. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1047. commands:
  1048. - git submodule update --init
  1049. - name: integration-sharing-v1-part2
  1050. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1051. commands:
  1052. - bash tests/drone-run-integration-tests.sh || exit 0
  1053. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1054. - cd build/integration
  1055. - ./run.sh sharing_features/sharing-v1-part2.feature
  1056. trigger:
  1057. branch:
  1058. - master
  1059. - stable*
  1060. event:
  1061. - pull_request
  1062. - push
  1063. ---
  1064. kind: pipeline
  1065. name: integration-sharing-v1-part3
  1066. steps:
  1067. - name: submodules
  1068. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1069. commands:
  1070. - git submodule update --init
  1071. - name: integration-sharing-v1-part3
  1072. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1073. commands:
  1074. - bash tests/drone-run-integration-tests.sh || exit 0
  1075. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1076. - cd build/integration
  1077. - ./run.sh sharing_features/sharing-v1-part3.feature
  1078. trigger:
  1079. branch:
  1080. - master
  1081. - stable*
  1082. event:
  1083. - pull_request
  1084. - push
  1085. ---
  1086. kind: pipeline
  1087. name: integration-sharing-v1-video-verification
  1088. steps:
  1089. - name: submodules
  1090. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1091. commands:
  1092. - git submodule update --init
  1093. - name: install-talk
  1094. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1095. commands:
  1096. # JavaScript files are not used in integration tests so it is not needed to
  1097. # build them.
  1098. - git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
  1099. - name: integration-sharing-v1-video-verification
  1100. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1101. commands:
  1102. - bash tests/drone-run-integration-tests.sh || exit 0
  1103. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1104. - cd build/integration
  1105. - ./run.sh sharing_features/sharing-v1-video-verification.feature
  1106. trigger:
  1107. branch:
  1108. - master
  1109. - stable*
  1110. event:
  1111. - pull_request
  1112. - push
  1113. ---
  1114. kind: pipeline
  1115. name: integration-setup-features
  1116. steps:
  1117. - name: submodules
  1118. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1119. commands:
  1120. - git submodule update --init
  1121. - name: integration-setup-features
  1122. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1123. commands:
  1124. - bash tests/drone-run-integration-tests.sh || exit 0
  1125. - cd build/integration
  1126. - ./run.sh setup_features/setup.feature
  1127. trigger:
  1128. branch:
  1129. - master
  1130. - stable*
  1131. event:
  1132. - pull_request
  1133. - push
  1134. ---
  1135. kind: pipeline
  1136. name: integration-filesdrop-features
  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-filesdrop-features
  1143. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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 filesdrop_features/filesdrop.feature
  1149. trigger:
  1150. branch:
  1151. - master
  1152. - stable*
  1153. event:
  1154. - pull_request
  1155. - push
  1156. ---
  1157. kind: pipeline
  1158. name: integration-transfer-ownership-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-transfer-ownership-features
  1165. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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 features/transfer-ownership.feature
  1171. trigger:
  1172. branch:
  1173. - master
  1174. - stable*
  1175. event:
  1176. - pull_request
  1177. - push
  1178. ---
  1179. kind: pipeline
  1180. name: integration-ldap-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-ldap-features
  1187. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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 ldap_features/ldap-ocs.feature
  1193. trigger:
  1194. branch:
  1195. - master
  1196. - stable*
  1197. event:
  1198. - pull_request
  1199. - push
  1200. ---
  1201. kind: pipeline
  1202. name: integration-ldap-openldap-features
  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-ldap-openldap-features
  1209. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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. - ./occ config:system:set redis host --value=cache
  1214. - ./occ config:system:set redis port --value=6379 --type=integer
  1215. - ./occ config:system:set redis timeout --value=0 --type=integer
  1216. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1217. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1218. - cd build/integration
  1219. - ./run.sh ldap_features/ldap-openldap.feature
  1220. services:
  1221. - name: cache
  1222. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1223. - name: openldap
  1224. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1225. environment:
  1226. SLAPD_DOMAIN: nextcloud.ci
  1227. SLAPD_ORGANIZATION: Nextcloud
  1228. SLAPD_PASSWORD: admin
  1229. SLAPD_ADDITIONAL_MODULES: memberof
  1230. trigger:
  1231. branch:
  1232. - master
  1233. - stable*
  1234. event:
  1235. - pull_request
  1236. - push
  1237. ---
  1238. kind: pipeline
  1239. name: integration-ldap-openldap-uid-features
  1240. steps:
  1241. - name: submodules
  1242. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1243. commands:
  1244. - git submodule update --init
  1245. - name: integration-ldap-openldap-uid-features
  1246. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1247. commands:
  1248. - bash tests/drone-run-integration-tests.sh || exit 0
  1249. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1250. - ./occ config:system:set redis host --value=cache
  1251. - ./occ config:system:set redis port --value=6379 --type=integer
  1252. - ./occ config:system:set redis timeout --value=0 --type=integer
  1253. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1254. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1255. - cd build/integration
  1256. - ./run.sh ldap_features/openldap-uid-username.feature
  1257. services:
  1258. - name: cache
  1259. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1260. - name: openldap
  1261. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1262. environment:
  1263. SLAPD_DOMAIN: nextcloud.ci
  1264. SLAPD_ORGANIZATION: Nextcloud
  1265. SLAPD_PASSWORD: admin
  1266. SLAPD_ADDITIONAL_MODULES: memberof
  1267. trigger:
  1268. branch:
  1269. - master
  1270. - stable*
  1271. event:
  1272. - pull_request
  1273. - push
  1274. type: docker
  1275. ---
  1276. kind: pipeline
  1277. name: integration-ldap-openldap-numerical-id-features
  1278. steps:
  1279. - name: submodules
  1280. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1281. commands:
  1282. - git submodule update --init
  1283. - name: integration-ldap-openldap-numerical-id-features
  1284. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1285. commands:
  1286. - bash tests/drone-run-integration-tests.sh || exit 0
  1287. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1288. - ./occ config:system:set redis host --value=cache
  1289. - ./occ config:system:set redis port --value=6379 --type=integer
  1290. - ./occ config:system:set redis timeout --value=0 --type=integer
  1291. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1292. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1293. - cd build/integration
  1294. - ./run.sh ldap_features/openldap-numerical-id.feature
  1295. services:
  1296. - name: cache
  1297. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1298. - name: openldap
  1299. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1300. environment:
  1301. SLAPD_DOMAIN: nextcloud.ci
  1302. SLAPD_ORGANIZATION: Nextcloud
  1303. SLAPD_PASSWORD: admin
  1304. SLAPD_ADDITIONAL_MODULES: memberof
  1305. trigger:
  1306. branch:
  1307. - master
  1308. - stable*
  1309. event:
  1310. - pull_request
  1311. - push
  1312. ---
  1313. kind: pipeline
  1314. name: integration-trashbin
  1315. steps:
  1316. - name: submodules
  1317. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1318. commands:
  1319. - git submodule update --init
  1320. - name: integration-trashbin
  1321. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1322. commands:
  1323. - bash tests/drone-run-integration-tests.sh || exit 0
  1324. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1325. - cd build/integration
  1326. - ./run.sh features/trashbin.feature
  1327. trigger:
  1328. branch:
  1329. - master
  1330. - stable*
  1331. event:
  1332. - pull_request
  1333. - push
  1334. ---
  1335. kind: pipeline
  1336. name: integration-remote-api
  1337. steps:
  1338. - name: submodules
  1339. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1340. commands:
  1341. - git submodule update --init
  1342. - name: integration-remote-api
  1343. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1344. commands:
  1345. - bash tests/drone-run-integration-tests.sh || exit 0
  1346. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1347. - cd build/integration
  1348. - ./run.sh remoteapi_features/remote.feature
  1349. trigger:
  1350. branch:
  1351. - master
  1352. - stable*
  1353. event:
  1354. - pull_request
  1355. - push
  1356. ---
  1357. kind: pipeline
  1358. name: integration-download
  1359. steps:
  1360. - name: submodules
  1361. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1362. commands:
  1363. - git submodule update --init
  1364. - name: integration-download
  1365. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1366. commands:
  1367. - bash tests/drone-run-integration-tests.sh || exit 0
  1368. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1369. - cd build/integration
  1370. - ./run.sh --tags ~@large features/download.feature
  1371. trigger:
  1372. branch:
  1373. - master
  1374. - stable*
  1375. event:
  1376. - pull_request
  1377. - push
  1378. ---
  1379. kind: pipeline
  1380. name: acceptance-access-levels
  1381. steps:
  1382. - name: submodules
  1383. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1384. commands:
  1385. - git submodule update --init
  1386. - name: acceptance-access-levels
  1387. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1388. commands:
  1389. - 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
  1390. services:
  1391. - name: selenium
  1392. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1393. environment:
  1394. # Reduce default log level for Selenium server (INFO) as it is too
  1395. # verbose.
  1396. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1397. trigger:
  1398. branch:
  1399. - master
  1400. - stable*
  1401. event:
  1402. - pull_request
  1403. - push
  1404. ---
  1405. kind: pipeline
  1406. name: acceptance-app-files
  1407. steps:
  1408. - name: submodules
  1409. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1410. commands:
  1411. - git submodule update --init
  1412. - name: acceptance-app-files
  1413. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1414. commands:
  1415. - 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
  1416. services:
  1417. - name: selenium
  1418. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1419. environment:
  1420. # Reduce default log level for Selenium server (INFO) as it is too
  1421. # verbose.
  1422. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1423. trigger:
  1424. branch:
  1425. - master
  1426. - stable*
  1427. event:
  1428. - pull_request
  1429. - push
  1430. ---
  1431. kind: pipeline
  1432. name: acceptance-app-files-sharing
  1433. steps:
  1434. - name: submodules
  1435. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1436. commands:
  1437. - git submodule update --init
  1438. - name: acceptance-app-files-sharing
  1439. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1440. commands:
  1441. - 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
  1442. services:
  1443. - name: selenium
  1444. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1445. environment:
  1446. # Reduce default log level for Selenium server (INFO) as it is too
  1447. # verbose.
  1448. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1449. trigger:
  1450. branch:
  1451. - master
  1452. - stable*
  1453. event:
  1454. - pull_request
  1455. - push
  1456. ---
  1457. kind: pipeline
  1458. name: acceptance-app-files-sharing-link
  1459. steps:
  1460. - name: submodules
  1461. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1462. commands:
  1463. - git submodule update --init
  1464. - name: acceptance-app-files-sharing-link
  1465. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1466. commands:
  1467. - 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
  1468. services:
  1469. - name: selenium
  1470. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1471. environment:
  1472. # Reduce default log level for Selenium server (INFO) as it is too
  1473. # verbose.
  1474. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1475. trigger:
  1476. branch:
  1477. - master
  1478. - stable*
  1479. event:
  1480. - pull_request
  1481. - push
  1482. ---
  1483. kind: pipeline
  1484. name: acceptance-app-files-tags
  1485. steps:
  1486. - name: submodules
  1487. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1488. commands:
  1489. - git submodule update --init
  1490. - name: acceptance-app-files-tags
  1491. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1492. commands:
  1493. - 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
  1494. services:
  1495. - name: selenium
  1496. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1497. environment:
  1498. # Reduce default log level for Selenium server (INFO) as it is too
  1499. # verbose.
  1500. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1501. trigger:
  1502. branch:
  1503. - master
  1504. - stable*
  1505. event:
  1506. - pull_request
  1507. - push
  1508. ---
  1509. kind: pipeline
  1510. name: acceptance-header
  1511. steps:
  1512. - name: submodules
  1513. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1514. commands:
  1515. - git submodule update --init
  1516. - name: acceptance-header
  1517. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1518. commands:
  1519. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1520. services:
  1521. - name: selenium
  1522. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1523. environment:
  1524. # Reduce default log level for Selenium server (INFO) as it is too
  1525. # verbose.
  1526. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1527. trigger:
  1528. branch:
  1529. - master
  1530. - stable*
  1531. event:
  1532. - pull_request
  1533. - push
  1534. ---
  1535. kind: pipeline
  1536. name: acceptance-login
  1537. steps:
  1538. - name: submodules
  1539. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1540. commands:
  1541. - git submodule update --init
  1542. - name: acceptance-login
  1543. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1544. commands:
  1545. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1546. services:
  1547. - name: selenium
  1548. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1549. environment:
  1550. # Reduce default log level for Selenium server (INFO) as it is too
  1551. # verbose.
  1552. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1553. trigger:
  1554. branch:
  1555. - master
  1556. - stable*
  1557. event:
  1558. - pull_request
  1559. - push
  1560. ---
  1561. kind: pipeline
  1562. name: acceptance-users
  1563. steps:
  1564. - name: submodules
  1565. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1566. commands:
  1567. - git submodule update --init
  1568. - name: acceptance-users
  1569. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1570. commands:
  1571. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1572. services:
  1573. - name: selenium
  1574. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1575. environment:
  1576. # Reduce default log level for Selenium server (INFO) as it is too
  1577. # verbose.
  1578. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1579. trigger:
  1580. branch:
  1581. - master
  1582. - stable*
  1583. event:
  1584. - pull_request
  1585. - push
  1586. ---
  1587. kind: pipeline
  1588. name: acceptance-apps
  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-apps
  1595. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1596. commands:
  1597. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1598. services:
  1599. - name: selenium
  1600. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1601. environment:
  1602. # Reduce default log level for Selenium server (INFO) as it is too
  1603. # verbose.
  1604. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1605. trigger:
  1606. branch:
  1607. - master
  1608. - stable*
  1609. event:
  1610. - pull_request
  1611. - push
  1612. ---
  1613. kind: pipeline
  1614. name: nodb-codecov
  1615. steps:
  1616. - name: submodules
  1617. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1618. commands:
  1619. - git submodule update --init
  1620. - name: nodb-codecov
  1621. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1622. environment:
  1623. CODECOV_TOKEN:
  1624. from_secret: CODECOV_TOKEN
  1625. XDEBUG_MODE: coverage
  1626. commands:
  1627. - phpenmod xdebug
  1628. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1629. - wget https://codecov.io/bash -O codecov.sh
  1630. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1631. services:
  1632. - name: cache
  1633. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1634. trigger:
  1635. branch:
  1636. - master
  1637. - stable*
  1638. event:
  1639. - push
  1640. ---
  1641. kind: pipeline
  1642. name: db-codecov
  1643. steps:
  1644. - name: submodules
  1645. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1646. commands:
  1647. - git submodule update --init
  1648. - name: db-codecov
  1649. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1650. environment:
  1651. CODECOV_TOKEN:
  1652. from_secret: CODECOV_TOKEN
  1653. XDEBUG_MODE: coverage
  1654. commands:
  1655. - phpenmod xdebug
  1656. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1657. - wget https://codecov.io/bash -O codecov.sh
  1658. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1659. services:
  1660. - name: cache
  1661. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1662. trigger:
  1663. branch:
  1664. - master
  1665. - stable*
  1666. event:
  1667. - push
  1668. ---
  1669. kind: pipeline
  1670. name: object-store-s3
  1671. steps:
  1672. - name: minio
  1673. image: ghcr.io/nextcloud/continuous-integration-minio:latest
  1674. detach: true
  1675. commands:
  1676. - mkdir /s3data
  1677. - minio server /s3data
  1678. environment:
  1679. MINIO_ROOT_USER: nextcloud
  1680. MINIO_ROOT_PASSWORD: nextcloud
  1681. - name: submodules
  1682. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1683. commands:
  1684. - git submodule update --init
  1685. - name: object-store
  1686. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1687. environment:
  1688. OBJECT_STORE: s3
  1689. CODECOV_TOKEN:
  1690. from_secret: CODECOV_TOKEN
  1691. commands:
  1692. - phpenmod xdebug
  1693. - ./tests/drone-wait-objectstore.sh
  1694. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1695. - wget https://codecov.io/bash -O codecov.sh
  1696. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1697. trigger:
  1698. branch:
  1699. - master
  1700. - stable*
  1701. event:
  1702. - pull_request
  1703. - push
  1704. ---
  1705. kind: pipeline
  1706. name: object-store-azure
  1707. steps:
  1708. - name: submodules
  1709. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1710. commands:
  1711. - git submodule update --init
  1712. - name: object-store
  1713. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1714. environment:
  1715. OBJECT_STORE: azure
  1716. CODECOV_TOKEN:
  1717. from_secret: CODECOV_TOKEN
  1718. commands:
  1719. - phpenmod xdebug
  1720. - ./tests/drone-wait-objectstore.sh
  1721. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1722. - wget https://codecov.io/bash -O codecov.sh
  1723. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1724. services:
  1725. - name: azurite
  1726. image: ghcr.io/nextcloud/continuous-integration-azurite:latest
  1727. environment:
  1728. executable: blob
  1729. trigger:
  1730. branch:
  1731. - master
  1732. - stable*
  1733. event:
  1734. - pull_request
  1735. - push
  1736. ---
  1737. kind: pipeline
  1738. name: memcache-memcached
  1739. steps:
  1740. - name: submodules
  1741. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1742. commands:
  1743. - git submodule update --init
  1744. - name: memcache-memcached
  1745. image: ghcr.io/nextcloud/continuous-integration-php8.0-memcached:latest
  1746. commands:
  1747. - phpenmod xdebug
  1748. - service memcached restart
  1749. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  1750. - wget https://codecov.io/bash -O codecov.sh
  1751. - 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"
  1752. - 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"
  1753. trigger:
  1754. branch:
  1755. - master
  1756. - stable*
  1757. event:
  1758. - pull_request
  1759. - push