Install notifications on drone

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-04-04 20:40:21 +02:00
Родитель 4720713114
Коммит 8fcf1e7cce
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7076EA9751AACDDA
2 изменённых файлов: 111 добавлений и 0 удалений

Просмотреть файл

@ -16,6 +16,7 @@ local Pipeline(test_set, database, services) = {
APP_NAME: "spreed",
CORE_BRANCH: "master",
GUESTS_BRANCH: "master",
NOTIFICATIONS_BRANCH: "master",
DATABASEHOST: database
},
commands: [
@ -24,6 +25,8 @@ local Pipeline(test_set, database, services) = {
"bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST",
"cd ../server",
"./occ app:enable $APP_NAME",
"git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications apps/notifications",
"./occ app:enable notifications"
] + (
if test_set == "conversation" || test_set == "conversation-2" then [
"git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests"

Просмотреть файл

@ -11,6 +11,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/callapi
@ -19,6 +22,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-callapi
trigger:
@ -40,6 +44,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/chat
@ -48,6 +55,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-chat
trigger:
@ -69,6 +77,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/command
@ -77,6 +88,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-command
trigger:
@ -98,6 +110,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- cd tests/integration/
@ -107,6 +122,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-conversation
trigger:
@ -128,6 +144,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- cd tests/integration/
@ -137,6 +156,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-conversation-2
trigger:
@ -158,6 +178,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/federation
@ -166,6 +189,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-federation
trigger:
@ -187,6 +211,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/reaction
@ -195,6 +222,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-reaction
trigger:
@ -216,6 +244,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/sharing
@ -224,6 +255,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-sharing
trigger:
@ -245,6 +277,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/sharing-2
@ -253,6 +288,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: sqlite
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-sharing-2
trigger:
@ -288,6 +324,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/callapi
@ -296,6 +335,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-callapi
trigger:
@ -332,6 +372,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/chat
@ -340,6 +383,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-chat
trigger:
@ -376,6 +420,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/command
@ -384,6 +431,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-command
trigger:
@ -420,6 +468,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- cd tests/integration/
@ -429,6 +480,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-conversation
trigger:
@ -465,6 +517,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- cd tests/integration/
@ -474,6 +529,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-conversation-2
trigger:
@ -510,6 +566,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/federation
@ -518,6 +577,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-federation
trigger:
@ -554,6 +614,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/reaction
@ -562,6 +625,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-reaction
trigger:
@ -598,6 +662,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/sharing
@ -606,6 +673,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-sharing
trigger:
@ -642,6 +710,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/sharing-2
@ -650,6 +721,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: mysql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-sharing-2
trigger:
@ -681,6 +753,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/callapi
@ -689,6 +764,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-callapi
trigger:
@ -719,6 +795,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/chat
@ -727,6 +806,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-chat
trigger:
@ -757,6 +837,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/command
@ -765,6 +848,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-command
trigger:
@ -795,6 +879,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- cd tests/integration/
@ -804,6 +891,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-conversation
trigger:
@ -834,6 +922,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- cd tests/integration/
@ -843,6 +934,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-conversation-2
trigger:
@ -873,6 +965,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/federation
@ -881,6 +976,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-federation
trigger:
@ -911,6 +1007,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/reaction
@ -919,6 +1018,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-reaction
trigger:
@ -949,6 +1049,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/sharing
@ -957,6 +1060,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-sharing
trigger:
@ -987,6 +1091,9 @@ steps:
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
- cd ../server
- ./occ app:enable $APP_NAME
- git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- cd tests/integration/
- bash run.sh features/sharing-2
@ -995,6 +1102,7 @@ steps:
CORE_BRANCH: master
DATABASEHOST: pgsql
GUESTS_BRANCH: master
NOTIFICATIONS_BRANCH: master
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
name: integration-sharing-2
trigger: