.drone.yml 59 KB

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