-
Notifications
You must be signed in to change notification settings - Fork 10
Implement UserManager #47
Changes from 77 commits
f51ec62
e795331
cad83b4
d806ca5
f17cd62
4f10b0a
d517616
e58e701
2c3417e
8913203
b227cca
7c009ac
c28ec59
6a2f20a
8eee27e
62d28b9
950ba14
136191e
a490fe8
59a100a
3ff7f33
4bdd6b7
3ca0453
6cae861
0b23c8c
7be148e
ca66d13
aba25a2
844c0bd
fc9b770
30fb4a5
7e15e03
cf534b6
c430bf0
39eb5b6
af3f1c3
86e46f6
560fdc8
364a549
6f5c0cd
48c3507
7a218d8
a8bfe2f
c10088b
2808f9b
42040d2
1486d0f
9ecf43d
928a6a0
be6b0d6
ee0c340
2b69505
02e3122
7c1b096
d880473
0197ca9
3fa0e87
4d5ba4b
ca1c99e
9172088
73ef364
3d2d6ee
110cc52
77e6435
a0f345a
b4549d6
b3a0b16
d360d89
5cda74a
d3c7ea7
c4606d7
17cb0d8
a63a5d4
3d24e29
f794775
a36c1f7
e73fccf
6b20cd0
63f0ec3
0a2f461
0eb99a0
04febdd
c154626
b71047b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,9 +97,9 @@ build: | |
export ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD | ||
bazel run @vaticle_dependencies//tool/bazelinstall:remote_cache_setup.sh | ||
bazel run @vaticle_dependencies//distribution/artifact:create-netrc | ||
tools/start-core-server.sh | ||
bazel test //tests --test_arg=-- --test_arg=behaviour::concept --test_arg=--test-threads=1 --test_output=streamed && export TEST_SUCCESS=0 || export TEST_SUCCESS=1 | ||
tools/stop-core-server.sh | ||
source tools/start-cluster-servers.sh # use source to receive export vars | ||
bazel test //tests --test_env=ROOT_CA=$ROOT_CA --test_arg=-- --test_arg=behaviour::concept --test_arg=--test-threads=1 --test_output=streamed && export TEST_SUCCESS=0 || export TEST_SUCCESS=1 | ||
tools/stop-cluster-servers.sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should make two sets of tests in Same pattern for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We decided that it's out of the scope now. https://github.com/vaticle/typedb-client-rust/issues/52 |
||
exit $TEST_SUCCESS | ||
test-behaviour-connection: | ||
image: vaticle-ubuntu-22.04 | ||
|
@@ -110,9 +110,23 @@ build: | |
export ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD | ||
bazel run @vaticle_dependencies//tool/bazelinstall:remote_cache_setup.sh | ||
bazel run @vaticle_dependencies//distribution/artifact:create-netrc | ||
tools/start-core-server.sh | ||
bazel test //tests --test_arg=-- --test_arg=behaviour::connection --test_arg=--test-threads=1 --test_output=streamed && export TEST_SUCCESS=0 || export TEST_SUCCESS=1 | ||
tools/stop-core-server.sh | ||
source tools/start-cluster-servers.sh # use source to receive export vars | ||
bazel test //tests --test_env=ROOT_CA=$ROOT_CA --test_arg=-- --test_arg=behaviour::connection --test_arg=--test-threads=1 --test_output=streamed && export TEST_SUCCESS=0 || export TEST_SUCCESS=1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've made a comment on typedb/typedb-common#147 to implement root CA & TLS support in the TypeDB runner. I don't think it currently is able to do that. |
||
tools/stop-cluster-servers.sh | ||
exit $TEST_SUCCESS | ||
test-behaviour-typeql: | ||
machine: 8-core-32-gb | ||
image: vaticle-ubuntu-22.04 | ||
dependencies: | ||
- build | ||
command: | | ||
export ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME | ||
export ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD | ||
bazel run @vaticle_dependencies//tool/bazelinstall:remote_cache_setup.sh | ||
bazel run @vaticle_dependencies//distribution/artifact:create-netrc | ||
source tools/start-cluster-servers.sh # use source to receive export vars | ||
bazel test //tests --test_env=ROOT_CA=$ROOT_CA --test_arg=-- --test_arg=behaviour::typeql --test_arg=--test-threads=1 --test_output=streamed && export TEST_SUCCESS=0 || export TEST_SUCCESS=1 | ||
tools/stop-cluster-servers.sh | ||
exit $TEST_SUCCESS | ||
deploy-crate-snapshot: | ||
filter: | ||
|
@@ -124,7 +138,9 @@ build: | |
- test-integration-core | ||
- test-integration-cluster | ||
- test-integration-runtimes | ||
- test-behaviour-concept | ||
- test-behaviour-connection | ||
- test-behaviour-typeql | ||
command: | | ||
export DEPLOY_CRATE_TOKEN=$REPO_VATICLE_CRATES_TOKEN | ||
bazel run @vaticle_dependencies//tool/bazelinstall:remote_cache_setup.sh | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ mod concept; | |
mod database; | ||
mod logic; | ||
mod message; | ||
mod user; | ||
|
||
use crate::Result; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple more extra
--test-threads=1
here and below