Compare commits
469
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
736f513cfc | ||
|
|
009f4ef25e | ||
|
|
895f55dbc8 | ||
|
|
d60adc2c79 | ||
|
|
41544e483f | ||
|
|
f2e975cd82 | ||
|
|
2774e6f658 | ||
|
|
65f5410f95 | ||
|
|
317f230280 | ||
|
|
d2c847dcde | ||
|
|
572bcc20a7 | ||
|
|
a542aad999 | ||
|
|
7429c06b4d | ||
|
|
226f39a445 | ||
|
|
015743af9f | ||
|
|
6c2a1999c4 | ||
|
|
791c2e2494 | ||
|
|
753812bf63 | ||
|
|
de098ac5fe | ||
|
|
6bb2f74690 | ||
|
|
655d650baf | ||
|
|
280a48dd26 | ||
|
|
88886a70cc | ||
|
|
7cc347fa05 | ||
|
|
b44b33e9f8 | ||
|
|
016549d6a1 | ||
|
|
42749bad60 | ||
|
|
afd79ae6cd | ||
|
|
d4643bf98c | ||
|
|
b559466703 | ||
|
|
13dbbd8440 | ||
|
|
d8de307fda | ||
|
|
a23eaf9395 | ||
|
|
1f53ec5253 | ||
|
|
f994ad951c | ||
|
|
0f7dba53fb | ||
|
|
9fc64e5479 | ||
|
|
353240ed7c | ||
|
|
c160dd7735 | ||
|
|
2443d7d687 | ||
|
|
0c410018be | ||
|
|
d55d132f26 | ||
|
|
47293eb23b | ||
|
|
1109c9244b | ||
|
|
69c60135e4 | ||
|
|
6bd601a46f | ||
|
|
a41bec243e | ||
|
|
c2cc1e105c | ||
|
|
27a1ab7612 | ||
|
|
12c7308fdf | ||
|
|
92d3f77ab8 | ||
|
|
51376b584b | ||
|
|
036829ecbe | ||
|
|
8371de7056 | ||
|
|
1dec463216 | ||
|
|
3125459415 | ||
|
|
cfb4f45f8d | ||
|
|
12bdf29ac4 | ||
|
|
5602668634 | ||
|
|
968bf088d0 | ||
|
|
b24d126b30 | ||
|
|
cbe41fb85f | ||
|
|
a4f5682851 | ||
|
|
d161ad3a08 | ||
|
|
a5bccc2807 | ||
|
|
ac6d53d317 | ||
|
|
06d4a80bc3 | ||
|
|
ee974afebf | ||
|
|
2e22d00801 | ||
|
|
56c3d9d76f | ||
|
|
b7482e5410 | ||
|
|
9d872eb840 | ||
|
|
3c6a650116 | ||
|
|
ed42a02606 | ||
|
|
1abcc8eb17 | ||
|
|
0ace006291 | ||
|
|
aae24ae1cf | ||
|
|
6bf30da59c | ||
|
|
52d618ef50 | ||
|
|
20174215d2 | ||
|
|
c61b959f4d | ||
|
|
c184bef462 | ||
|
|
9b8a729ab5 | ||
|
|
35672b0014 | ||
|
|
a39f754afd | ||
|
|
7aae4e957d | ||
|
|
cdb4383e7d | ||
|
|
64d4badb28 | ||
|
|
910c9f0b07 | ||
|
|
14622545ec | ||
|
|
b29c7b8935 | ||
|
|
cd43a131d0 | ||
|
|
7355d98b28 | ||
|
|
37536d76d1 | ||
|
|
5dee88f436 | ||
|
|
a76dea5315 | ||
|
|
ef4900d221 | ||
|
|
f5d7658d0f | ||
|
|
bc06dfb20a | ||
|
|
f116f78702 | ||
|
|
cea3431634 | ||
|
|
0c15f71a4e | ||
|
|
f2f952576d | ||
|
|
0bd65e8b09 | ||
|
|
982d58f774 | ||
|
|
130bbb5c4b | ||
|
|
1399c0f8e1 | ||
|
|
361efa6804 | ||
|
|
05198fd705 | ||
|
|
08ccacd704 | ||
|
|
7d283639f7 | ||
|
|
5f2262b946 | ||
|
|
bdcbe3e0c2 | ||
|
|
3d5a6c36fc | ||
|
|
6c4b54015a | ||
|
|
982856b7e4 | ||
|
|
141779c463 | ||
|
|
1fa147fa36 | ||
|
|
0f2b427f03 | ||
|
|
cd7093d8e4 | ||
|
|
453acf3d66 | ||
|
|
452be7e9db | ||
|
|
275a359750 | ||
|
|
2b27b0c8bf | ||
|
|
8599b93816 | ||
|
|
59899c1cb3 | ||
|
|
ae7304a249 | ||
|
|
6924d863e7 | ||
|
|
118404078d | ||
|
|
9b073addbf | ||
|
|
04acadceb4 | ||
|
|
b070a86b35 | ||
|
|
14702f6836 | ||
|
|
db02e0b5c0 | ||
|
|
bacce15009 | ||
|
|
2a210357ae | ||
|
|
c67b457308 | ||
|
|
152967320d | ||
|
|
9436dfe4d1 | ||
|
|
6acfa00adb | ||
|
|
9a52e08e1c | ||
|
|
257c5995b5 | ||
|
|
88386dedab | ||
|
|
5ec864885f | ||
|
|
2836395a29 | ||
|
|
778c84cf17 | ||
|
|
b3225a0dc9 | ||
|
|
73e50ae84b | ||
|
|
51c16e41be | ||
|
|
e9219e4103 | ||
|
|
89f2f2a87f | ||
|
|
fbb3382a42 | ||
|
|
8cead4557f | ||
|
|
3d57f5cc21 | ||
|
|
e373e48383 | ||
|
|
8d342851d7 | ||
|
|
0f507e7aab | ||
|
|
ca3ef6fc58 | ||
|
|
63bf8b186a | ||
|
|
b195c6bb0d | ||
|
|
c818d71e6f | ||
|
|
966a7758fc | ||
|
|
50d97d6f0d | ||
|
|
305bf45e0a | ||
|
|
742229472e | ||
|
|
e0adaf8c60 | ||
|
|
5146d16c70 | ||
|
|
ec764ea5b1 | ||
|
|
18404e3f36 | ||
|
|
45b92fc56f | ||
|
|
ff8b16f9da | ||
|
|
ce20b3be79 | ||
|
|
6f12c769dd | ||
|
|
a5eb9611c0 | ||
|
|
9cc4cdd8cc | ||
|
|
d116245ddb | ||
|
|
78be28433a | ||
|
|
4426471548 | ||
|
|
07475407d6 | ||
|
|
d82003fe6f | ||
|
|
9c9b52677f | ||
|
|
a41cc77371 | ||
|
|
bbcbf69283 | ||
|
|
cccb190087 | ||
|
|
d6b5d40232 | ||
|
|
a3df6ca62e | ||
|
|
a047d54b07 | ||
|
|
573ba3dc3f | ||
|
|
4ebd26bae8 | ||
|
|
22c8418c40 | ||
|
|
bda2158cf8 | ||
|
|
7debffa490 | ||
|
|
4ec4a31f4d | ||
|
|
bee16e783f | ||
|
|
ca5affd9f3 | ||
|
|
ad0924d874 | ||
|
|
10fc80b2ff | ||
|
|
66269eb5e9 | ||
|
|
a48becd681 | ||
|
|
9f4509fc56 | ||
|
|
5a98ce0b98 | ||
|
|
83607b372b | ||
|
|
6fc20e0d5b | ||
|
|
d965f23fd9 | ||
|
|
f84fbdd6ff | ||
|
|
5082e6c027 | ||
|
|
333d48e658 | ||
|
|
7fb7a8b6e1 | ||
|
|
f442970f12 | ||
|
|
c728ed31a9 | ||
|
|
8a90ebb3a0 | ||
|
|
0b7297d1b4 | ||
|
|
c260f6594d | ||
|
|
5e220920f0 | ||
|
|
6abf2d901b | ||
|
|
07dc73f382 | ||
|
|
e6d1164a46 | ||
|
|
ab69ef7926 | ||
|
|
308fd005aa | ||
|
|
a9695662e5 | ||
|
|
42da324925 | ||
|
|
ca32ec779c | ||
|
|
660c4b94ae | ||
|
|
2bfa36b69f | ||
|
|
fd6ff7c48e | ||
|
|
debddad1b0 | ||
|
|
5eb43fbbe2 | ||
|
|
cc2602137e | ||
|
|
7ff04c46da | ||
|
|
2bc0f717f1 | ||
|
|
3d84e8fc36 | ||
|
|
ff4f160fdc | ||
|
|
fbf1eeb4c5 | ||
|
|
b4caf6397c | ||
|
|
4b752b0dd6 | ||
|
|
968d26f0d6 | ||
|
|
2197489c26 | ||
|
|
99d71971d7 | ||
|
|
74ab2a1ba5 | ||
|
|
fee0d2d6b5 | ||
|
|
5d50ebe152 | ||
|
|
6edb44fa83 | ||
|
|
e78ff950f8 | ||
|
|
696555c27c | ||
|
|
7daedecebc | ||
|
|
a5c5866a54 | ||
|
|
7baa8c40dc | ||
|
|
fb0aa54f07 | ||
|
|
a00dd85a2f | ||
|
|
ab5ceb1928 | ||
|
|
875e75d58e | ||
|
|
d45264748c | ||
|
|
16e6bea917 | ||
|
|
a275c1c4ef | ||
|
|
4623b6c8e7 | ||
|
|
24807bbac8 | ||
|
|
e85999c693 | ||
|
|
ae982e2002 | ||
|
|
b5bb6980e2 | ||
|
|
2f5cba2acb | ||
|
|
6babe83654 | ||
|
|
8d26bf0329 | ||
|
|
de0b8f8ee3 | ||
|
|
ead886e353 | ||
|
|
8a5d3bfe73 | ||
|
|
5be83e204f | ||
|
|
bd9eee17f5 | ||
|
|
95cb4b5351 | ||
|
|
460f16ea0e | ||
|
|
7388bcb44d | ||
|
|
e7189ab71f | ||
|
|
cfd3e9fab7 | ||
|
|
9f24b0e2ad | ||
|
|
c0c583063e | ||
|
|
dbc18da00f | ||
|
|
dd6c60d548 | ||
|
|
69ac7b6944 | ||
|
|
381b6f8ac2 | ||
|
|
7b8669b9d9 | ||
|
|
cdd2a9306f | ||
|
|
2e6692a86e | ||
|
|
dbf606372a | ||
|
|
ad701309af | ||
|
|
7daf3c378d | ||
|
|
4c64a7b014 | ||
|
|
1bb7d57caf | ||
|
|
84af5cf4e1 | ||
|
|
e69d2e9a06 | ||
|
|
503c8a38eb | ||
|
|
c4b09b0e02 | ||
|
|
82e29baeb2 | ||
|
|
5c4018f980 | ||
|
|
2782859cd7 | ||
|
|
1551d442e6 | ||
|
|
de76dc72d4 | ||
|
|
fc8d49d01b | ||
|
|
a92331668f | ||
|
|
083b9897a0 | ||
|
|
ad7b94a543 | ||
|
|
1b0ec2c9d5 | ||
|
|
e9e9947f88 | ||
|
|
1008e39ac6 | ||
|
|
3babaf1a4d | ||
|
|
3ed706ae7f | ||
|
|
3e43f414b6 | ||
|
|
8632ff1fb3 | ||
|
|
40fa355955 | ||
|
|
43099da8da | ||
|
|
c0ecf606f4 | ||
|
|
b257ba6664 | ||
|
|
84a775dcc3 | ||
|
|
e053f70950 | ||
|
|
dd2abc94ee | ||
|
|
17d313709b | ||
|
|
f91a0b45a5 | ||
|
|
499148ce23 | ||
|
|
ef70d74fd0 | ||
|
|
2ca55ba520 | ||
|
|
fd6a0702ff | ||
|
|
f26247b2a4 | ||
|
|
c6664cfe61 | ||
|
|
de1588843a | ||
|
|
f71f7c7521 | ||
|
|
3b95dcc545 | ||
|
|
2957ec37aa | ||
|
|
10955e52a5 | ||
|
|
befe442454 | ||
|
|
a7205fc91d | ||
|
|
46cd7b45f4 | ||
|
|
f39463b2fe | ||
|
|
9b04d430da | ||
|
|
ceea696166 | ||
|
|
5d121b4bad | ||
|
|
838957c641 | ||
|
|
080feb672f | ||
|
|
371295ca95 | ||
|
|
e4c28def8a | ||
|
|
5eaf0dfe7b | ||
|
|
6bf7137c0c | ||
|
|
eb8748a3b1 | ||
|
|
0a46ef0b0b | ||
|
|
6d8edc2986 | ||
|
|
a76757919d | ||
|
|
77d14ff79c | ||
|
|
05dbf36265 | ||
|
|
a67e354eb4 | ||
|
|
c119aacf2c | ||
|
|
9062e891c6 | ||
|
|
d0b069dfb3 | ||
|
|
6ca8a04311 | ||
|
|
eaba396394 | ||
|
|
68b17eb68d | ||
|
|
918bc85879 | ||
|
|
0a5cf2b864 | ||
|
|
df1fb9b020 | ||
|
|
8f2bf0ed9c | ||
|
|
01650a5023 | ||
|
|
0ae75f8e66 | ||
|
|
7116145a04 | ||
|
|
49376178e9 | ||
|
|
9bb7a0663f | ||
|
|
9ef2f742a2 | ||
|
|
c918813bee | ||
|
|
f3a6f92dd6 | ||
|
|
35bf9bde1f | ||
|
|
83dcf32584 | ||
|
|
6a0a96d031 | ||
|
|
c997e50b8d | ||
|
|
569ffd41f8 | ||
|
|
840df9c142 | ||
|
|
e4dc458b3e | ||
|
|
fcff2b1724 | ||
|
|
89dd329280 | ||
|
|
19702285cb | ||
|
|
cb041b8a14 | ||
|
|
a10047c2bc | ||
|
|
3914f644e6 | ||
|
|
8167d02462 | ||
|
|
1d127842cc | ||
|
|
58c5d5513b | ||
|
|
cc53071f63 | ||
|
|
87eaf72020 | ||
|
|
ca66a9f751 | ||
|
|
4b4ca72e3a | ||
|
|
bbbeca4d07 | ||
|
|
3ecabca8ac | ||
|
|
7315dac100 | ||
|
|
a5521161f8 | ||
|
|
d7b6ecfaff | ||
|
|
e96ab9f9c8 | ||
|
|
13b2b1603b | ||
|
|
91c2dad034 | ||
|
|
7a8e1b8106 | ||
|
|
6c6640959c | ||
|
|
94024125fb | ||
|
|
0422af2a11 | ||
|
|
c2ef67f661 | ||
|
|
8e0b07b200 | ||
|
|
6ea8623b55 | ||
|
|
daaa08aa09 | ||
|
|
70690a318d | ||
|
|
22369b33f5 | ||
|
|
817ac00393 | ||
|
|
acdfbabd47 | ||
|
|
20026faac2 | ||
|
|
131988ac6a | ||
|
|
0d1d9f2f25 | ||
|
|
f8126b19d6 | ||
|
|
92edc63f8e | ||
|
|
fe0210d3e6 | ||
|
|
837e49fcbe | ||
|
|
343feef176 | ||
|
|
1d5bff0962 | ||
|
|
0742f708dd | ||
|
|
1385bf8e26 | ||
|
|
d17a93ccca | ||
|
|
3f3abbba60 | ||
|
|
7843dbf4bc | ||
|
|
28c631163d | ||
|
|
59c4bd803f | ||
|
|
4da5cf6c23 | ||
|
|
a60b98c73a | ||
|
|
a964520f7a | ||
|
|
c6075741eb | ||
|
|
08a8ed20c1 | ||
|
|
6ee4a084a2 | ||
|
|
b8cce99e7a | ||
|
|
d7026566fe | ||
|
|
83a9be8421 | ||
|
|
71790089fd | ||
|
|
2d16779652 | ||
|
|
0387e15d34 | ||
|
|
29b5c976fa | ||
|
|
2ac074c186 | ||
|
|
fbbbb82bda | ||
|
|
5c94bf8dc3 | ||
|
|
cb7d26d061 | ||
|
|
e092da586b | ||
|
|
810159c360 | ||
|
|
a129ea6abe | ||
|
|
0ee2b7b33c | ||
|
|
2d9fdf656b | ||
|
|
5e259aa902 | ||
|
|
23da13b35f | ||
|
|
2140fdd381 | ||
|
|
e826cf9e13 | ||
|
|
30b41dc21c | ||
|
|
4f06d9650b | ||
|
|
b3254eb2fb | ||
|
|
d4d2fefb80 | ||
|
|
de6988c9bd | ||
|
|
fffd49fc4e | ||
|
|
41896fde34 | ||
|
|
b71eeb9f54 | ||
|
|
b1d3ba25aa | ||
|
|
2d445c6e95 | ||
|
|
1caffa3bb8 | ||
|
|
23cda855d2 | ||
|
|
0c4074239e | ||
|
|
e0aab33ca2 | ||
|
|
6bcf17a7cc | ||
|
|
7faca11562 | ||
|
|
ea5db10d80 | ||
|
|
6a9192b5da | ||
|
|
9572ea61ea | ||
|
|
a2d4ee58f5 | ||
|
|
322924d1c3 | ||
|
|
b0fa917eae | ||
|
|
102425ba3f |
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
# The test runner source for API tests
|
||||
CORE_COMMITID=808a6d7600d41af28e78bfa57f7f1f6655d9ce31
|
||||
CORE_COMMITID=1eed08f1229136ac5cd7ef3ae2ccd2821a113129
|
||||
CORE_BRANCH=master
|
||||
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=283eb8eebcfbcdce76198f76d465c73e3094ba8b
|
||||
WEB_COMMITID=ef6006d73f454bab263def916ad6c49a8cbfa565
|
||||
WEB_BRANCH=master
|
||||
+123
-138
@@ -18,7 +18,7 @@ OC_CI_PHP = "owncloudci/php:%s"
|
||||
OC_CI_WAIT_FOR = "owncloudci/wait-for:latest"
|
||||
OC_CS3_API_VALIDATOR = "owncloud/cs3api-validator:0.2.0"
|
||||
OC_LITMUS = "owncloud/litmus:latest"
|
||||
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.8.1"
|
||||
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.8.2"
|
||||
OC_SERVER = "owncloud/server:10"
|
||||
OC_UBUNTU = "owncloud/ubuntu:20.04"
|
||||
OSIXIA_OPEN_LDAP = "osixia/openldap:latest"
|
||||
@@ -38,15 +38,17 @@ SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:latest"
|
||||
THEGEEKLAB_DRONE_GITHUB_COMMENT = "thegeeklab/drone-github-comment:1"
|
||||
|
||||
DEFAULT_PHP_VERSION = "7.4"
|
||||
DEFAULT_NODEJS_VERSION = "14"
|
||||
DEFAULT_NODEJS_VERSION = "16"
|
||||
|
||||
dirs = {
|
||||
"base": "/drone/src",
|
||||
"web": "/drone/src/webTestRunner",
|
||||
"zip": "/drone/src/zip",
|
||||
"webZip": "/drone/src/zip/web.tar.gz",
|
||||
"e2eYarnZip": "/drone/src/zip/e2e.tar.gz",
|
||||
"acceptanceYarnZip": "/drone/src/zip/acceptance.tar.gz",
|
||||
"webPnpmZip": "/drone/src/zip/pnpm-store.tar.gz",
|
||||
"ocisConfig": "tests/config/drone/ocis-config.json",
|
||||
"ocis": "/srv/app/tmp/ocis",
|
||||
"ocisRevaDataRoot": "/srv/app/tmp/ocis/owncloud/data",
|
||||
# relative path from the base directory dirs["base"]
|
||||
# this is because the PLUGINS_S3_CACHE does not support absolute paths
|
||||
# PLUGINS_S3_CACHE is used to cache the core and testing app
|
||||
@@ -66,7 +68,6 @@ config = {
|
||||
"services/auth-machine",
|
||||
"services/frontend",
|
||||
"services/gateway",
|
||||
"services/graph-explorer",
|
||||
"services/graph",
|
||||
"services/groups",
|
||||
"services/idm",
|
||||
@@ -276,15 +277,15 @@ def main(ctx):
|
||||
pipelineSanityChecks(ctx, pipelines)
|
||||
return pipelines
|
||||
|
||||
def buildWebCache(ctx):
|
||||
return [{
|
||||
def cachePipeline(name, steps):
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "build-web-cache",
|
||||
"name": "build-%s-cache" % name,
|
||||
"clone": {
|
||||
"disable": True,
|
||||
},
|
||||
"steps": generateWebCache(ctx),
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
@@ -292,7 +293,13 @@ def buildWebCache(ctx):
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
}]
|
||||
}
|
||||
|
||||
def buildWebCache(ctx):
|
||||
return [
|
||||
cachePipeline("web", generateWebCache(ctx)),
|
||||
cachePipeline("web-pnpm", generateWebPnpmCache(ctx)),
|
||||
]
|
||||
|
||||
def testOcisModules(ctx):
|
||||
pipelines = []
|
||||
@@ -340,6 +347,8 @@ def testPipelines(ctx):
|
||||
pipelines += [
|
||||
localApiTests(ctx, "ocis", "apiAccountsHashDifficulty"),
|
||||
localApiTests(ctx, "ocis", "apiSpaces"),
|
||||
localApiTests(ctx, "ocis", "apiSpacesShares"),
|
||||
localApiTests(ctx, "ocis", "apiContract"),
|
||||
localApiTests(ctx, "ocis", "apiArchiver"),
|
||||
localApiTests(ctx, "ocis", "apiGraph"),
|
||||
]
|
||||
@@ -459,8 +468,7 @@ def cacheCoreReposForTesting(ctx):
|
||||
cloneCoreRepos() +
|
||||
# this does not support the absolute path to the target directory
|
||||
# so we need to use a relative path :(
|
||||
rebuildBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
|
||||
rebuildBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]),
|
||||
rebuildBuildArtifactCache(ctx, "testrunner", dirs["core"]),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
@@ -671,7 +679,6 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
|
||||
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
|
||||
ocisServer(storage, accounts_hash_difficulty) +
|
||||
restoreBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
|
||||
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
|
||||
[
|
||||
{
|
||||
"name": "localApiTests-%s-%s" % (suite, storage),
|
||||
@@ -681,8 +688,7 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
|
||||
"PATH_TO_OCIS": dirs["base"],
|
||||
"PATH_TO_CORE": "%s/%s" % (dirs["base"], dirs["core"]),
|
||||
"TEST_SERVER_URL": "https://ocis-server:9200",
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
|
||||
"SKELETON_DIR": "%s/%s/data/apiSkeleton" % (dirs["base"], dirs["testing_app"]),
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
|
||||
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
|
||||
"TEST_OCIS": "true",
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
@@ -761,7 +767,6 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
||||
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
|
||||
ocisServer(storage, accounts_hash_difficulty) +
|
||||
restoreBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
|
||||
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
|
||||
[
|
||||
{
|
||||
"name": "oC10ApiTests-%s-storage-%s" % (storage, part_number),
|
||||
@@ -771,8 +776,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
||||
"PATH_TO_OCIS": "%s" % dirs["base"],
|
||||
"PATH_TO_CORE": "%s/%s" % (dirs["base"], dirs["core"]),
|
||||
"TEST_SERVER_URL": "https://ocis-server:9200",
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
|
||||
"SKELETON_DIR": "%s/%s/data/apiSkeleton" % (dirs["base"], dirs["testing_app"]),
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
|
||||
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
|
||||
"TEST_OCIS": "true",
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
@@ -875,11 +879,10 @@ def uiTestPipeline(ctx, filterTags, early_fail, runPart = 1, numberOfParts = 1,
|
||||
"steps": skipIfUnchanged(ctx, "acceptance-tests") +
|
||||
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
|
||||
restoreWebCache() +
|
||||
restoreWebAcceptanceYarnCache() +
|
||||
restoreWebPnpmCache() +
|
||||
ocisServer(storage, accounts_hash_difficulty) +
|
||||
waitForSeleniumService() +
|
||||
waitForMiddlewareService() +
|
||||
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
|
||||
[
|
||||
{
|
||||
"name": "webUITests",
|
||||
@@ -888,9 +891,8 @@ def uiTestPipeline(ctx, filterTags, early_fail, runPart = 1, numberOfParts = 1,
|
||||
"SERVER_HOST": "https://ocis-server:9200",
|
||||
"BACKEND_HOST": "https://ocis-server:9200",
|
||||
"RUN_ON_OCIS": "true",
|
||||
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/owncloud/data",
|
||||
"TESTING_DATA_DIR": "%s/%s" % (dirs["base"], dirs["testing_app"]),
|
||||
"WEB_UI_CONFIG": "%s/tests/config/drone/ocis-config.json" % dirs["base"],
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % dirs["ocisRevaDataRoot"],
|
||||
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
|
||||
"TEST_TAGS": finalFilterTags,
|
||||
"LOCAL_UPLOAD_DIR": "/uploads",
|
||||
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
|
||||
@@ -947,12 +949,12 @@ def e2eTests(ctx):
|
||||
"HEADLESS": "true",
|
||||
"OCIS": "true",
|
||||
"RETRY": "1",
|
||||
"WEB_UI_CONFIG": "%s/tests/config/drone/ocis-config.json" % dirs["base"],
|
||||
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
|
||||
"LOCAL_UPLOAD_DIR": "/uploads",
|
||||
},
|
||||
"commands": [
|
||||
"cd %s" % dirs["web"],
|
||||
"sleep 10 && yarn test:e2e:cucumber tests/e2e/cucumber/**/*[!.oc10].feature",
|
||||
"sleep 10 && pnpm test:e2e:cucumber tests/e2e/cucumber/**/*[!.oc10].feature",
|
||||
],
|
||||
}]
|
||||
|
||||
@@ -960,7 +962,7 @@ def e2eTests(ctx):
|
||||
skipIfUnchanged(ctx, "e2e-tests") + \
|
||||
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin/ocis") + \
|
||||
restoreWebCache() + \
|
||||
restoreWebE2EYarnCache() + \
|
||||
restoreWebPnpmCache() + \
|
||||
ocisServer("ocis", 4, []) + \
|
||||
e2e_test_ocis + \
|
||||
uploadTracingResult(ctx) + \
|
||||
@@ -1066,7 +1068,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
waitForSeleniumService() +
|
||||
waitForMiddlewareService() +
|
||||
restoreWebCache() +
|
||||
restoreWebAcceptanceYarnCache() +
|
||||
restoreWebPnpmCache() +
|
||||
[
|
||||
{
|
||||
"name": "WebUIAcceptanceTests",
|
||||
@@ -1075,8 +1077,8 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
"SERVER_HOST": "https://ocis-server:9200",
|
||||
"BACKEND_HOST": "https://ocis-server:9200",
|
||||
"RUN_ON_OCIS": "true",
|
||||
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/owncloud/data",
|
||||
"WEB_UI_CONFIG": "%s/tests/config/drone/ocis-config.json" % dirs["base"],
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % dirs["ocisRevaDataRoot"],
|
||||
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
|
||||
"TEST_TAGS": "not @skipOnOCIS and not @skip",
|
||||
"LOCAL_UPLOAD_DIR": "/uploads",
|
||||
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
|
||||
@@ -1088,7 +1090,8 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
# TODO: settings/package.json has all the acceptance test dependencies
|
||||
# they shouldn't be needed since we could also use them from web:/tests/acceptance/package.json
|
||||
"cd %s/services/settings" % dirs["base"],
|
||||
"retry -t 3 'yarn install --immutable'",
|
||||
"pnpm config set store-dir ./.pnpm-store",
|
||||
"retry -t 3 'pnpm install'",
|
||||
"make test-acceptance-webui",
|
||||
],
|
||||
"volumes": [{
|
||||
@@ -1815,6 +1818,7 @@ def makeNodeGenerate(module):
|
||||
"CHROMEDRIVER_SKIP_DOWNLOAD": "true", # install fails on arm and chromedriver is a test only dependency
|
||||
},
|
||||
"commands": [
|
||||
"pnpm config set store-dir ./.pnpm-store",
|
||||
"retry -t 3 '%s ci-node-generate'" % (make),
|
||||
],
|
||||
"volumes": [stepVolumeGo],
|
||||
@@ -1878,14 +1882,14 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
"OCIS_CONFIG_DIR": "/root/.ocis/config",
|
||||
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142", # cs3api-validator needs the cs3api gatway exposed
|
||||
"STORAGE_USERS_DRIVER": "%s" % (storage),
|
||||
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "/srv/app/tmp/ocis/local/root",
|
||||
"STORAGE_USERS_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/users",
|
||||
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/metadata",
|
||||
"SHARING_USER_JSON_FILE": "/srv/app/tmp/ocis/shares.json",
|
||||
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "%s/local/root" % dirs["ocis"],
|
||||
"STORAGE_USERS_DRIVER_OCIS_ROOT": "%s/storage/users" % dirs["ocis"],
|
||||
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "%s/storage/metadata" % dirs["ocis"],
|
||||
"SHARING_USER_JSON_FILE": "%s/shares.json" % dirs["ocis"],
|
||||
"PROXY_ENABLE_BASIC_AUTH": True,
|
||||
"WEB_UI_CONFIG": "%s/tests/config/drone/ocis-config.json" % dirs["base"],
|
||||
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"SETTINGS_DATA_PATH": "/srv/app/tmp/ocis/settings",
|
||||
"SETTINGS_DATA_PATH": "%s/settings" % dirs["ocis"],
|
||||
"IDM_CREATE_DEMO_USERS": True,
|
||||
"IDM_ADMIN_PASSWORD": "admin", # override the random admin password from `ocis init`
|
||||
"FRONTEND_SEARCH_MIN_LENGTH": "2",
|
||||
@@ -1943,7 +1947,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
"SHARING_USER_OWNCLOUDSQL_DB_NAME": "owncloud",
|
||||
# General oCIS config
|
||||
# OCIS_RUN_SERVICES specifies to start all fullstack services except idm and idp. These are replaced by external services
|
||||
"OCIS_RUN_SERVICES": "app-registry,app-provider,auth-basic,auth-bearer,auth-machine,frontend,gateway,graph,graph-explorer,groups,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav",
|
||||
"OCIS_RUN_SERVICES": "app-registry,app-provider,auth-basic,auth-machine,frontend,gateway,graph,groups,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav",
|
||||
"OCIS_LOG_LEVEL": "info",
|
||||
"OCIS_URL": OCIS_URL,
|
||||
"OCIS_BASE_DATA_PATH": "/mnt/data/ocis",
|
||||
@@ -1991,7 +1995,7 @@ def middlewareService():
|
||||
"image": OC_OC_TEST_MIDDLEWARE,
|
||||
"environment": {
|
||||
"BACKEND_HOST": "https://ocis-server:9200",
|
||||
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/storage/owncloud/",
|
||||
"OCIS_REVA_DATA_ROOT": "%s/storage/owncloud/" % dirs["ocis"],
|
||||
"RUN_ON_OCIS": "true",
|
||||
"HOST": "middleware",
|
||||
"REMOTE_UPLOAD_DIR": "/uploads",
|
||||
@@ -2137,7 +2141,6 @@ def example_deploys(ctx):
|
||||
"ocis_hello/latest.yml",
|
||||
"ocis_s3/latest.yml",
|
||||
"oc10_ocis_parallel/latest.yml",
|
||||
"ocis_individual_services/latest.yml",
|
||||
]
|
||||
released_configs = [
|
||||
"ocis_ldap/released.yml",
|
||||
@@ -2870,45 +2873,90 @@ def setupForLitmus():
|
||||
],
|
||||
}]
|
||||
|
||||
def generateWebCache(ctx):
|
||||
def getDroneEnvAndCheckScript(ctx):
|
||||
ocis_git_base_url = "https://raw.githubusercontent.com/owncloud/ocis"
|
||||
path_to_drone_env = "%s/%s/.drone.env" % (ocis_git_base_url, ctx.build.commit)
|
||||
path_to_check_script = "%s/%s/tests/config/drone/check_web_cache.sh" % (ocis_git_base_url, ctx.build.commit)
|
||||
return {
|
||||
"name": "get-drone-env-and-check-script",
|
||||
"image": OC_UBUNTU,
|
||||
"commands": [
|
||||
"curl -s -o .drone.env %s" % path_to_drone_env,
|
||||
"curl -s -o check_web_cache.sh %s" % path_to_check_script,
|
||||
],
|
||||
}
|
||||
|
||||
return [
|
||||
{
|
||||
"name": "get-drone-env-and-check-script",
|
||||
"image": OC_UBUNTU,
|
||||
"commands": [
|
||||
"curl -s -o .drone.env %s" % path_to_drone_env,
|
||||
"curl -s -o check_web_cache.sh %s" % path_to_check_script,
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "check-for-web-cache",
|
||||
"image": OC_UBUNTU,
|
||||
"environment": {
|
||||
"CACHE_ENDPOINT": {
|
||||
"from_secret": "cache_public_s3_server",
|
||||
},
|
||||
"CACHE_BUCKET": {
|
||||
"from_secret": "cache_public_s3_bucket",
|
||||
},
|
||||
def checkForWebCache(name):
|
||||
return {
|
||||
"name": "check-for-%s-cache" % name,
|
||||
"image": OC_UBUNTU,
|
||||
"environment": {
|
||||
"CACHE_ENDPOINT": {
|
||||
"from_secret": "cache_public_s3_server",
|
||||
},
|
||||
"CACHE_BUCKET": {
|
||||
"from_secret": "cache_public_s3_bucket",
|
||||
},
|
||||
"commands": [
|
||||
"bash check_web_cache.sh",
|
||||
],
|
||||
},
|
||||
"commands": [
|
||||
"bash -x check_web_cache.sh %s" % name,
|
||||
],
|
||||
}
|
||||
|
||||
def cloneWeb():
|
||||
return {
|
||||
"name": "clone-web",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"commands": [
|
||||
". ./.drone.env",
|
||||
"rm -rf %s" % dirs["web"],
|
||||
"git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git %s" % dirs["web"],
|
||||
"cd %s && git checkout $WEB_COMMITID" % dirs["web"],
|
||||
],
|
||||
}
|
||||
|
||||
def generateWebPnpmCache(ctx):
|
||||
return [
|
||||
getDroneEnvAndCheckScript(ctx),
|
||||
checkForWebCache("web-pnpm"),
|
||||
cloneWeb(),
|
||||
{
|
||||
"name": "clone-web",
|
||||
"name": "install-pnpm",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"commands": [
|
||||
". ./.drone.env",
|
||||
"rm -rf %s" % dirs["web"],
|
||||
"git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git %s" % dirs["web"],
|
||||
"cd %s && git checkout $WEB_COMMITID" % dirs["web"],
|
||||
"cd %s" % dirs["web"],
|
||||
"pnpm config set store-dir ./.pnpm-store",
|
||||
"retry -t 3 'pnpm install'",
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "zip-pnpm",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"commands": [
|
||||
# zip the pnpm deps before caching
|
||||
"if [ ! -d '%s' ]; then mkdir -p %s; fi" % (dirs["zip"], dirs["zip"]),
|
||||
"cd %s" % dirs["web"],
|
||||
"tar -czvf %s .pnpm-store" % dirs["webPnpmZip"],
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "cache-pnpm",
|
||||
"image": MINIO_MC,
|
||||
"environment": MINIO_MC_ENV,
|
||||
"commands": [
|
||||
"source ./.drone.env",
|
||||
# cache using the minio/mc client to the public bucket (long term bucket)
|
||||
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
|
||||
"mc cp -r -a %s s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID" % dirs["webPnpmZip"],
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
def generateWebCache(ctx):
|
||||
return [
|
||||
getDroneEnvAndCheckScript(ctx),
|
||||
checkForWebCache("web"),
|
||||
cloneWeb(),
|
||||
{
|
||||
"name": "zip-web",
|
||||
"image": OC_UBUNTU,
|
||||
@@ -2928,48 +2976,6 @@ def generateWebCache(ctx):
|
||||
"mc cp -r -a %s s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID" % dirs["webZip"],
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "install-yarn",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"commands": [
|
||||
"cd %s" % dirs["web"],
|
||||
"retry -t 3 'yarn install --immutable --frozen-lockfile'",
|
||||
"cd tests/acceptance",
|
||||
"retry -t 3 'yarn install --immutable --frozen-lockfile'",
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "zip-yarn",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"commands": [
|
||||
# zip the yarn deps before caching
|
||||
"cd %s" % dirs["web"],
|
||||
"tar -czvf %s .yarn" % dirs["e2eYarnZip"],
|
||||
"cd tests/acceptance",
|
||||
"tar -czvf %s .yarn" % dirs["acceptanceYarnZip"],
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "cache-yarn",
|
||||
"image": MINIO_MC,
|
||||
"environment": MINIO_MC_ENV,
|
||||
"commands": [
|
||||
"source ./.drone.env",
|
||||
# cache using the minio/mc client to the public bucket (long term bucket)
|
||||
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
|
||||
"mc cp -r -a %s s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID" % dirs["e2eYarnZip"],
|
||||
"mc cp -r -a %s s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID" % dirs["acceptanceYarnZip"],
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "list-web-cache",
|
||||
"image": MINIO_MC,
|
||||
"environment": MINIO_MC_ENV,
|
||||
"commands": [
|
||||
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
|
||||
"mc ls --recursive s3/$CACHE_BUCKET/ocis/web-test-runner",
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
def restoreWebCache():
|
||||
@@ -2992,46 +2998,25 @@ def restoreWebCache():
|
||||
],
|
||||
}]
|
||||
|
||||
def restoreWebE2EYarnCache():
|
||||
def restoreWebPnpmCache():
|
||||
return [{
|
||||
"name": "restore-web-e2e-yarn-cache",
|
||||
"name": "restore-web-pnpm-cache",
|
||||
"image": MINIO_MC,
|
||||
"environment": MINIO_MC_ENV,
|
||||
"commands": [
|
||||
"source ./.drone.env",
|
||||
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
|
||||
"mc cp -r -a s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID/e2e.tar.gz %s" % dirs["zip"],
|
||||
"mc cp -r -a s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID/pnpm-store.tar.gz %s" % dirs["zip"],
|
||||
],
|
||||
}, {
|
||||
# we need to install again because the node_modules are not cached
|
||||
"name": "unzip-and-install-yarn-e2e",
|
||||
"name": "unzip-and-install-pnpm",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"commands": [
|
||||
"cd %s" % dirs["web"],
|
||||
"rm -rf .yarn",
|
||||
"tar -xvf %s" % dirs["e2eYarnZip"],
|
||||
"retry -t 3 'yarn install --immutable'",
|
||||
],
|
||||
}]
|
||||
|
||||
def restoreWebAcceptanceYarnCache():
|
||||
return [{
|
||||
"name": "restore-web-acceptance-yarn-cache",
|
||||
"image": MINIO_MC,
|
||||
"environment": MINIO_MC_ENV,
|
||||
"commands": [
|
||||
"source ./.drone.env",
|
||||
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
|
||||
"mc cp -r -a s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID/acceptance.tar.gz %s" % dirs["zip"],
|
||||
],
|
||||
}, {
|
||||
# we need to install again because the node_modules are not cached
|
||||
"name": "unzip-and-install-yarn-acceptance",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"commands": [
|
||||
"cd %s/tests/acceptance" % dirs["web"],
|
||||
"rm -rf .yarn",
|
||||
"tar -xvf %s -C ." % dirs["acceptanceYarnZip"],
|
||||
"retry -t 3 'yarn install --immutable'",
|
||||
"rm -rf .pnpm-store",
|
||||
"tar -xvf %s" % dirs["webPnpmZip"],
|
||||
"pnpm config set store-dir ./.pnpm-store",
|
||||
"retry -t 3 'pnpm install'",
|
||||
],
|
||||
}]
|
||||
@@ -11,6 +11,7 @@ services/*/checkstyle.xml
|
||||
node_modules/
|
||||
yarn-error.log
|
||||
yarn.lock
|
||||
.pnpm-store/
|
||||
|
||||
# build artifacts
|
||||
*/bin
|
||||
|
||||
Vendored
+1
-1
@@ -27,7 +27,7 @@
|
||||
// demo users
|
||||
"IDM_CREATE_DEMO_USERS": "true",
|
||||
// OCIS_RUN_SERVICES allows to start a subset of services even in the supervised mode
|
||||
//"OCIS_RUN_SERVICES": "settings,storage-system,graph,graph-explorer,idp,idm,ocs,store,thumbnails,web,webdav,frontend,gateway,users,groups,auth-basic,auth-bearer,storage-authmachine,storage-users,storage-shares,storage-publiclink,storage-system,app-provider,sharing,proxy,ocdav",
|
||||
//"OCIS_RUN_SERVICES": "settings,storage-system,graph,idp,idm,ocs,store,thumbnails,web,webdav,frontend,gateway,users,groups,auth-basic,storage-authmachine,storage-users,storage-shares,storage-publiclink,storage-system,app-provider,sharing,proxy,ocdav",
|
||||
|
||||
/*
|
||||
* Keep secrets and passwords in one block to allow easy uncommenting
|
||||
|
||||
+699
-130
File diff suppressed because it is too large.
Load diff
+3
-6
@@ -1,6 +1,6 @@
|
||||
# Please use this Dockerfile only if
|
||||
# you want to build an image from source without
|
||||
# Yarn and Go installed on your dev machine.
|
||||
# pnpm and Go installed on your dev machine.
|
||||
|
||||
# You can build oCIS using this Dockerfile
|
||||
# by running following command:
|
||||
@@ -10,7 +10,7 @@
|
||||
# following command instead:
|
||||
# `make -C ocis dev-docker`
|
||||
# It will build a `owncloud/ocis:dev` image for you
|
||||
# and use your local Yarn and Go caches and therefore
|
||||
# and use your local pnpm and Go caches and therefore
|
||||
# is a lot faster than the build steps below.
|
||||
|
||||
|
||||
@@ -30,10 +30,7 @@ RUN make ci-go-generate build
|
||||
|
||||
FROM alpine:3.15
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk add ca-certificates mailcap && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
RUN apk add --no-cache ca-certificates mailcap tree attr curl && \
|
||||
echo 'hosts: files dns' >| /etc/nsswitch.conf
|
||||
|
||||
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
|
||||
|
||||
@@ -25,7 +25,6 @@ OCIS_MODULES = \
|
||||
services/frontend \
|
||||
services/gateway \
|
||||
services/graph \
|
||||
services/graph-explorer \
|
||||
services/groups \
|
||||
services/idm \
|
||||
services/idp \
|
||||
@@ -34,6 +33,7 @@ OCIS_MODULES = \
|
||||
services/ocdav \
|
||||
services/ocs \
|
||||
services/proxy \
|
||||
services/search \
|
||||
services/settings \
|
||||
services/sharing \
|
||||
services/storage-system \
|
||||
|
||||
@@ -37,5 +37,5 @@ Apache-2.0
|
||||
## Copyright
|
||||
|
||||
```console
|
||||
Copyright (c) 2020-2021 ownCloud GmbH <https://owncloud.com>
|
||||
Copyright (c) 2020-2022 ownCloud GmbH <https://owncloud.com>
|
||||
```
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add curl to the oCIS OCI image
|
||||
|
||||
We've added curl to the oCIS OCI image published on Dockerhub.
|
||||
This can be used for eg. healthchecks with the services' health endpoint.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4751
|
||||
File renamed without changes.
@@ -0,0 +1,7 @@
|
||||
Enhancement: Add Email templating
|
||||
|
||||
We have added email templating to ocis. Which are send on the SpaceShared and ShareCreated event.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4564
|
||||
https://github.com/owncloud/ocis/issues/4303
|
||||
https://github.com/cs3org/reva/pull/3252
|
||||
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: We added e-mail subject templating
|
||||
|
||||
We have added e-mail subject templating.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4799
|
||||
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add webURL to space root
|
||||
|
||||
Add the web url to the space root on the graphAPI.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4588
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,9 @@
|
||||
Change: Build service frontends with pnpm instead of yarn
|
||||
|
||||
We changed the Node.js packager from Yarn to pnpm to make it more consistent with the main Web repo.
|
||||
pnpm offers better package isolation and prevents a whole class of errors.
|
||||
This is only relevant for developers.
|
||||
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4878
|
||||
https://github.com/owncloud/web/pull/7835
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: Configurable max lock cycles
|
||||
|
||||
Adds config option for max lock cycles. Also bumps reva
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4964
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Allow to configuring the reva cache store
|
||||
|
||||
We have added the possibility to configure the cache store implementation for the users storage.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4627
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add support for REPORT requests to /dav/spaces URLs
|
||||
|
||||
We added support for /dav/spaces REPORT requests which allow for searching specific spaces.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4661
|
||||
https://github.com/owncloud/ocis/issues/4034
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: Deny access to resources
|
||||
|
||||
We added an experimental feature to deny access to a certain resource. This feature is disabled by default and considered as EXPERIMENTAL. You can enable it by setting FRONTEND_OCS_ENABLE_DENIALS to `true`. It announces an available deny access permission via WebDAV on each resource. By convention it is only possible to deny access on folders. The clients can check the presence of the feature by the capability `deny_access` in the `files_sharing` section.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4903
|
||||
@@ -0,0 +1,5 @@
|
||||
Change: Enable privatelinks by default
|
||||
|
||||
Enable privatelinks by default in the capabilities.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4599/
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: Allow to configure applications in Web
|
||||
|
||||
We've added the possibility to configure applications in the Web configuration.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4578
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Bugfix: Disable federation capabilities
|
||||
|
||||
We disabled the federation support in the capabilities because it is currently not supported.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4864
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix authentication for autoprovisioned users
|
||||
|
||||
We've fixed an issue in the proxy, which made the first http request of an
|
||||
autoprovisioned user fail.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/4616
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Bring back the settings UI in Web
|
||||
|
||||
We've fixed the oC Web configuration in oCIS so that the settings UI will be shown again in Web.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4691
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix cache stat table config
|
||||
|
||||
We have aligned the cache table config for the gateway and the dataprovider to make them actually use the same cache instance.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4732
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Change the default value for PROXY_OIDC_INSECURE to false
|
||||
|
||||
We've changed the default value for PROXY_OIDC_INSECURE to `false`.
|
||||
Previously the default values was `true` which is not acceptable since default values need to be secure.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4601
|
||||
@@ -0,0 +1,13 @@
|
||||
Bugfix: Fix sharing jsoncs3 driver options
|
||||
|
||||
We've fixed the environment variable config options of the jsoncs3 driver that previously
|
||||
used the same environment variables as the cs3 driver.
|
||||
Now the jsoncs3 driver has it's own configuration environment variables.
|
||||
|
||||
If you used the jsoncs3 sharing driver and explicitly set `SHARING_PUBLIC_CS3_SYSTEM_USER_ID`,
|
||||
this PR is a breaking change for your deployment. To workaround you may set the value you had
|
||||
configured in `SHARING_PUBLIC_CS3_SYSTEM_USER_ID` to both `SHARING_PUBLIC_JSONCS3_SYSTEM_USER_ID`
|
||||
and `SHARING_PUBLIC_JSONCS3_SYSTEM_USER_IDP`.
|
||||
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4593
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,8 @@
|
||||
Bugfix: Don't run auth-bearer service by default
|
||||
|
||||
We no longer start the auth-bearer service by default. This service is
|
||||
currently unused and not required to run ocis. The equivalent functionality
|
||||
to verify OpenID connect tokens and to mint reva tokes for OIDC authenticated
|
||||
clients is currently implemented inside the oidc-auth middleware of the proxy.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/4692
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Fix notifications service settings
|
||||
|
||||
We've fixed two notifications service setting:
|
||||
- `NOTIFICATIONS_MACHINE_AUTH_API_KEY` was previously not picked up (only `OCIS_MACHINE_AUTH_API_KEY` was loaded)
|
||||
- If you used a email sender address in the format of the default value of `NOTIFICATIONS_SMTP_SENDER` no email could be send.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4652
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix the OIDC provider cache
|
||||
|
||||
We've fixed the OIDC provider cache. It never had a cache hit before this fix.
|
||||
Under some circumstances it could cause a painfully slow OCIS if the IDP wellknown endpoint takes some time to respond.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4600
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: render webdav permissions as string in search report
|
||||
|
||||
We now correctly render the `oc:permissions` of resources as a string.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/4575
|
||||
https://github.com/owncloud/ocis/pull/4579
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,8 @@
|
||||
Bugfix: Mail notifications for group shares
|
||||
|
||||
We fixed multiple issues in the notifications service, which broke notifcation
|
||||
mails new shares with groups.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4714
|
||||
https://github.com/owncloud/ocis/issues/4703
|
||||
https://github.com/owncloud/ocis/issues/4688
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Disable cache for selected static web assets
|
||||
|
||||
We've disabled caching for some static web assets.
|
||||
Files like the web index.html, oidc-callback.html or similar contain paths to timestamped resources and should not be cached.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4809
|
||||
File renamed without changes.
File renamed without changes.
Loaded 100 of 586 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user