Skip to content

Commit 4be15ac

Browse files
Merge pull request #10139 from nextcloud/backport/9458/stable27
[stable27] 🐣 Start with implementing bots
2 parents c19a50c + 9e9fd95 commit 4be15ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2926
-110
lines changed

.drone.jsonnet

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
## 1. Download/install drone binary:
2-
## curl -L https://github.com/harness/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz | tar zx
2+
## curl -L https://github.com/harness/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz | tar zx
33
## 2. Adjust the matrix as wished
4-
## 3. Run: ./drone jsonnet --stream --format yml
5-
## 4. Commit the result
4+
## 3. Transform jsonnet to yml:
5+
## ./drone jsonnet --stream --format yml
6+
## 4. Export your drone token and the server:
7+
## export DRONE_TOKEN=… export DRONE_SERVER=https://drone.nextcloud.com
8+
## 5. Sign off the changes:
9+
## ./drone sign nextcloud/spreed --save
10+
## 6. Copy the new signature from .drone.yml to `hmac` field in this file
11+
## 7. Transform jsonnet to yml again (to transfer the signature correctly):
12+
## ./drone jsonnet --stream --format yml
13+
## 8. Commit the result
614

715
local Pipeline(test_set, database, services) = {
816
kind: "pipeline",
@@ -16,6 +24,7 @@ local Pipeline(test_set, database, services) = {
1624
APP_NAME: "spreed",
1725
CORE_BRANCH: "stable27",
1826
GUESTS_BRANCH: "master",
27+
CSB_BRANCH: "main",
1928
NOTIFICATIONS_BRANCH: "stable27",
2029
DATABASEHOST: database
2130
},
@@ -31,12 +40,11 @@ local Pipeline(test_set, database, services) = {
3140
"cd ../..",
3241
"./occ app:enable $APP_NAME",
3342
"git clone --depth 1 -b $NOTIFICATIONS_BRANCH https://github.com/nextcloud/notifications apps/notifications",
34-
"./occ app:enable notifications"
35-
] + (
36-
if test_set == "conversation" || test_set == "conversation-2" then [
37-
"git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests"
38-
] else []
39-
) + [
43+
"./occ app:enable --force notifications",
44+
"git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests",
45+
"./occ app:enable --force guests",
46+
"git clone --depth 1 -b $CSB_BRANCH https://github.com/nextcloud/call_summary_bot apps/call_summary_bot",
47+
"./occ app:enable --force call_summary_bot",
4048
"cd apps/$APP_NAME/tests/integration/",
4149
"bash run.sh features/"+test_set
4250
]
@@ -155,6 +163,6 @@ local PipelinePostgreSQL(test_set) = Pipeline(
155163

156164
{
157165
kind: "signature",
158-
hmac: "42a9326446817e073491d2b887a20254394c1cc988640bc9df9b57f2ad445ff0"
166+
hmac: "8a6c9dd22806c07b68b5d263748cf226693b847a9d4773e094ba549d98834dd5"
159167
},
160168
]

0 commit comments

Comments
 (0)