Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RESTHeart to CI #649

Merged
merged 39 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3d01909
add the submodule
b1ron Nov 6, 2023
1a81125
fix submodule name
b1ron Nov 6, 2023
d51e419
add files
b1ron Nov 6, 2023
d92c126
add to CI
b1ron Nov 6, 2023
18b4903
fail
b1ron Nov 6, 2023
49042c1
set JAVA_HOME
b1ron Nov 6, 2023
d5d0dcb
build project
b1ron Nov 6, 2023
4c109dd
setup-java on Actions
b1ron Nov 6, 2023
6fd8b07
build
b1ron Nov 6, 2023
4fc7d6f
fix workflow
b1ron Nov 6, 2023
67ca792
debug maven
b1ron Nov 6, 2023
e281673
try openjdk
b1ron Nov 6, 2023
f447893
remove actions/checkout
b1ron Nov 6, 2023
5891b7b
rely on actions not JAVA_HOME
b1ron Nov 6, 2023
e4ed7dc
try 17
b1ron Nov 6, 2023
0903205
try random things
b1ron Nov 6, 2023
f0b0e4d
unset
b1ron Nov 6, 2023
1e47044
clean file
b1ron Nov 6, 2023
8d9eb75
all fail
b1ron Nov 7, 2023
49bb1a7
auth
b1ron Nov 7, 2023
457b472
add to CI
b1ron Nov 7, 2023
f058aea
fix
b1ron Nov 7, 2023
58a0c38
add branch
b1ron Nov 8, 2023
4cbc9f7
add link
b1ron Nov 8, 2023
4f9493a
move link up
b1ron Nov 8, 2023
05b71ac
Merge branch 'main' into add-restheart-ci
b1ron Nov 8, 2023
e19161d
remove debug flag and mongo passes now
b1ron Nov 9, 2023
e5064d6
sort tests
b1ron Nov 9, 2023
fe685a1
add comment
b1ron Nov 9, 2023
1ba31fb
Merge branch 'main' into add-restheart-ci
b1ron Nov 10, 2023
4b7b7da
Merge branch 'main' into add-restheart-ci
b1ron Nov 21, 2023
01c0a41
add link
b1ron Nov 21, 2023
1a4b5da
Add name
AlekSi Nov 22, 2023
6b87c08
Update comment
AlekSi Nov 22, 2023
8771651
Update submodules
AlekSi Nov 22, 2023
14041c1
Merge branch 'main' into add-restheart-ci
b1ron Nov 23, 2023
95ed9e8
remove link and fix stats
b1ron Nov 23, 2023
cefe9d4
remove link but still fails
b1ron Nov 23, 2023
b7a4c93
add link to comment
b1ron Nov 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/dance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
- mongo-tools
- python-example
- python-example-auth
- restheart
- restheart-auth
b1ron marked this conversation as resolved.
Show resolved Hide resolved
- ycsb-workloada
- ycsb-workloadc

Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@
path = tests/python-example
url = https://github.com/FerretDB/python-example.git
branch = main
[submodule "restheart"]
path = tests/restheart
url = https://github.com/SoftInstigate/restheart.git
b1ron marked this conversation as resolved.
Show resolved Hide resolved
branch = master
1 change: 1 addition & 0 deletions tests/restheart
Submodule restheart added at e71897
11 changes: 11 additions & 0 deletions tests/restheart-auth.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

set -ex

unset JAVA_HOME

./mvnw clean package

./mvnw clean verify -DskipUTs -P-mongodb \
-Dtest-connection-string="mongodb://user:password@localhost/ferretdb?authMechanism=PLAIN" \
-Dkarate.options="--tags ~@requires-replica-set"
26 changes: 26 additions & 0 deletions tests/restheart-auth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
runner: command
dir: restheart
args: [../restheart.sh]

results:
postgresql:
stats:
# https://github.com/FerretDB/FerretDB/issues/2568
fail: 1
b1ron marked this conversation as resolved.
Show resolved Hide resolved
fail:
- restheart

sqlite:
stats:
# https://github.com/FerretDB/FerretDB/issues/2568
fail: 1
fail:
- restheart

mongodb:
stats:
# PLAIN is used in MongoDB to perform LDAP authentication.
fail: 1
fail:
- restheart
11 changes: 11 additions & 0 deletions tests/restheart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

set -ex

unset JAVA_HOME

./mvnw clean package

./mvnw clean verify -DskipUTs -P-mongodb \
-Dtest-connection-string="mongodb://localhost/ferretdb" \
-Dkarate.options="--tags ~@requires-replica-set"
26 changes: 26 additions & 0 deletions tests/restheart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
runner: command
dir: restheart
args: [../restheart.sh]

results:
postgresql:
stats:
# https://github.com/FerretDB/FerretDB/issues/2568
fail: 1
fail:
- restheart

sqlite:
stats:
# https://github.com/FerretDB/FerretDB/issues/2568
fail: 1
fail:
- restheart

mongodb:
stats:
# https://github.com/SoftInstigate/restheart/issues/477#issuecomment-1823937412
fail: 1
AlekSi marked this conversation as resolved.
Show resolved Hide resolved
fail:
- restheart
Loading