:boom: To see the trace, please open the link in the console ...
\\n\\n\\n\\n" >> comments.file',
- 'for f in *.zip; do echo "#### npx playwright show-trace $CACHE_ENDPOINT/$CACHE_BUCKET/${DRONE_BUILD_NUMBER}/tracing/$f \n" >> comments.file; done',
+ 'for f in *.zip; do echo "#### npx playwright show-trace $CACHE_ENDPOINT/$CACHE_BUCKET/${DRONE_REPO}/${DRONE_BUILD_NUMBER}/tracing/$f \n" >> comments.file; done',
'echo "\n
" >> comments.file',
"more comments.file",
],
"environment": {
- "TEST_CONTEXT": suite,
"CACHE_ENDPOINT": {
"from_secret": "cache_public_s3_server",
},
@@ -1229,6 +1229,34 @@ def publishTracingResult(ctx, suite):
},
}]
+def e2eGithubComment():
+ prefix = "E2E tests failed: ${DRONE_BUILD_LINK}/${DRONE_JOB_NUMBER}${DRONE_STAGE_NUMBER}/1"
+ return [{
+ "name": "github-comment",
+ "image": THEGEEKLAB_DRONE_GITHUB_COMMENT,
+ "pull": "if-not-exists",
+ "settings": {
+ "message": "%s/reports/e2e/playwright/tracing/comments.file" % dirs["web"],
+ "key": "pr-${DRONE_PULL_REQUEST}",
+ "update": "true",
+ "api_key": {
+ "from_secret": "github_token",
+ },
+ },
+ "commands": [
+ "cd %s/reports/e2e/playwright/tracing/" % dirs["web"],
+ "if [ -s comments.file ]; then echo '%s' | cat - comments.file > temp && mv temp comments.file && /bin/drone-github-comment; fi" % prefix,
+ ],
+ "when": {
+ "status": [
+ "failure",
+ ],
+ "event": [
+ "pull_request",
+ ],
+ },
+ }]
+
def failEarly(ctx, early_fail):
"""failEarly sends posts a comment about the failed pipeline to the github pr and then kills all pipelines of the current build
diff --git a/README.md b/README.md
index ee57efed1..f05ae5acb 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ See the [Quick Guide](https://doc.owncloud.com/ocis/next/quickguide/quickguide.h
### Use the ocis Repo as Source
-Use this method to run an instance with the latest code. This is only recommended for development purposes. The minimum go version required is 1.19. To build and run a local instance with demo users:
+Use this method to run an instance with the latest code. This is only recommended for development purposes. The minimum go version required is 1.19. Note that you need as prerequisite a C compile environment installed because some dependences like reva have components that require c-go libraries/tool-chains. The command installing for debian based systems is: `sudo apt install build-essentials`. To build and run a local instance with demo users:
```console
# get the source
diff --git a/changelog/unreleased/bump-reva.md b/changelog/unreleased/bump-reva.md
index 458375584..639f35179 100644
--- a/changelog/unreleased/bump-reva.md
+++ b/changelog/unreleased/bump-reva.md
@@ -8,3 +8,4 @@ https://github.com/owncloud/ocis/pull/5310
https://github.com/owncloud/ocis/pull/5404
https://github.com/owncloud/ocis/pull/5460
https://github.com/owncloud/ocis/pull/5613
+https://github.com/owncloud/ocis/pull/5714
diff --git a/go.mod b/go.mod
index 7d521da4c..ff744ea88 100644
--- a/go.mod
+++ b/go.mod
@@ -11,7 +11,7 @@ require (
github.com/blevesearch/bleve/v2 v2.3.5
github.com/coreos/go-oidc/v3 v3.4.0
github.com/cs3org/go-cs3apis v0.0.0-20221012090518-ef2996678965
- github.com/cs3org/reva/v2 v2.12.1-0.20230301100432-f65cdbafbe3e
+ github.com/cs3org/reva/v2 v2.12.1-0.20230303141425-83ae3a7e5333
github.com/disintegration/imaging v1.6.2
github.com/ggwhite/go-masker v1.0.9
github.com/go-chi/chi/v5 v5.0.7
diff --git a/go.sum b/go.sum
index a40b64bd0..7a4f8ef8c 100644
--- a/go.sum
+++ b/go.sum
@@ -344,10 +344,8 @@ github.com/crewjam/httperr v0.2.0/go.mod h1:Jlz+Sg/XqBQhyMjdDiC+GNNRzZTD7x39Gu3p
github.com/crewjam/saml v0.4.6/go.mod h1:ZBOXnNPFzB3CgOkRm7Nd6IVdkG+l/wF+0ZXLqD96t1A=
github.com/crewjam/saml v0.4.9 h1:X2jDv4dv3IvfT9t+RhADavzNFAcq3fVxzTCIH3G605U=
github.com/crewjam/saml v0.4.9/go.mod h1:9Zh6dWPtB3MSzTRt8fIFH60Z351QQ+s7hCU3J/tTlA4=
-github.com/cs3org/reva/v2 v2.12.1-0.20230222151731-83c7b4d26b2b h1:wIwnuSyH8tM4dbr16UYEoYF7ESlfxah2q99oz/FscU0=
-github.com/cs3org/reva/v2 v2.12.1-0.20230222151731-83c7b4d26b2b/go.mod h1:dbaNP2U3nGQA5BHLc5w/hqviq7b0F4eygNwC38jeaiU=
-github.com/cs3org/reva/v2 v2.12.1-0.20230301100432-f65cdbafbe3e h1:FMxx/Mr+3HVY9CuTPRI55AGExCRamjMTZlum1ckBBm4=
-github.com/cs3org/reva/v2 v2.12.1-0.20230301100432-f65cdbafbe3e/go.mod h1:dbaNP2U3nGQA5BHLc5w/hqviq7b0F4eygNwC38jeaiU=
+github.com/cs3org/reva/v2 v2.12.1-0.20230303141425-83ae3a7e5333 h1:1z2AmAGfAgIqCE09CIQFpUhMXwG38PlqVYZqKbrxSXQ=
+github.com/cs3org/reva/v2 v2.12.1-0.20230303141425-83ae3a7e5333/go.mod h1:dbaNP2U3nGQA5BHLc5w/hqviq7b0F4eygNwC38jeaiU=
github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8 h1:Z9lwXumT5ACSmJ7WGnFl+OMLLjpz5uR2fyz7dC255FI=
github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8/go.mod h1:4abs/jPXcmJzYoYGF91JF9Uq9s/KL5n1jvFDix8KcqY=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
diff --git a/ocis/docker/Dockerfile.linux.arm b/ocis/docker/Dockerfile.linux.arm
deleted file mode 100644
index a7921f38c..000000000
--- a/ocis/docker/Dockerfile.linux.arm
+++ /dev/null
@@ -1,41 +0,0 @@
-FROM arm32v6/alpine:3.17
-
-ARG VERSION=""
-ARG REVISION=""
-
-RUN apk add --no-cache ca-certificates mailcap tree attr curl && \
- echo 'hosts: files dns' >| /etc/nsswitch.conf
-
-LABEL maintainer="ownCloud GmbH