Skip to content

Commit 38f66a1

Browse files
authored
Fix build errors and update dependencies (#226)
## Release notes: usage and product changes Support build on Apple Clang 17+ by updating dependencies (details: typedb/typedb-dependencies#577). Fix bazel build by adding an implicit dependency to the build configuration. Reintroduce CI correctness validation jobs. ## Implementation
1 parent 1d5bf80 commit 38f66a1

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

.factory/automation.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@ build:
1717
command: |
1818
bazel run @typedb_dependencies//factory/analysis:dependency-analysis
1919
correctness:
20-
# build:
21-
# image: typedb-ubuntu-22.04
22-
# command: |
23-
# bazel run @typedb_dependencies//tool/bazelinstall:remote_cache_setup.sh
24-
# bazel build //...
25-
# bazel run @typedb_dependencies//tool/checkstyle:test-coverage
26-
# bazel test $(bazel query 'kind(checkstyle_test, //...)') --test_output=errors
27-
# build-dependency:
28-
# image: typedb-ubuntu-22.04
29-
# command: |
30-
# bazel run @typedb_dependencies//tool/bazelinstall:remote_cache_setup.sh
31-
# dependencies/maven/update.sh
32-
# git diff --exit-code dependencies/maven/artifacts.snapshot
33-
# bazel run @typedb_dependencies//tool/unuseddeps:unused-deps -- list
20+
build:
21+
image: typedb-ubuntu-22.04
22+
command: |
23+
bazel run @typedb_dependencies//tool/bazelinstall:remote_cache_setup.sh
24+
bazel build //...
25+
bazel run @typedb_dependencies//tool/checkstyle:test-coverage
26+
bazel test $(bazel query 'kind(checkstyle_test, //...)') --test_output=errors
27+
build-dependency:
28+
image: typedb-ubuntu-22.04
29+
command: |
30+
bazel run @typedb_dependencies//tool/bazelinstall:remote_cache_setup.sh
31+
dependencies/maven/update.sh
32+
git diff --exit-code dependencies/maven/artifacts.snapshot
33+
bazel run @typedb_dependencies//tool/unuseddeps:unused-deps -- list
3434
deploy-crate-snapshot:
3535
filter:
3636
owner: typedb
37-
branch: [master, development, "3.0"]
38-
# dependencies: [build, build-dependency]
37+
branch: [master]
38+
dependencies: [build, build-dependency]
3939
image: typedb-ubuntu-22.04
4040
command: |
4141
bazel run @typedb_dependencies//tool/bazelinstall:remote_cache_setup.sh
@@ -68,7 +68,7 @@ build:
6868
release:
6969
filter:
7070
owner: typedb
71-
branch: [ master, "3.0" ]
71+
branch: [master]
7272
validation:
7373
validate-release-notes:
7474
image: typedb-ubuntu-22.04

dependencies/typedb/repositories.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ def typedb_dependencies():
88
git_repository(
99
name = "typedb_dependencies",
1010
remote = "https://github.com/typedb/typedb-dependencies",
11-
commit = "ab777bf067b1930e35146fd8e25a76a4a360aa74", # sync-marker: do not remove this comment, this is used for sync-dependencies by @typedb_dependencies
11+
commit = "fac1121c903b0c9e5924d391a883e4a0749a82a2", # sync-marker: do not remove this comment, this is used for sync-dependencies by @typedb_dependencies
1212
)

proto/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ proto_library(
1616
":user-proto",
1717
":database-proto",
1818
":transaction-proto",
19+
":migration-proto",
1920
],
2021
)
2122

0 commit comments

Comments
 (0)