Skip to content

Commit e818c35

Browse files
author
James Williams
authored
Fix for deploying to GitHub, bump dependencies (#395)
## What is the goal of this PR? We've fixed the job involving deploying to GitHub and bumped dependencies in preparation for a release. ## What are the changes implemented in this PR? We've fixed various released dependencies of client-java to their tagged release versions. We've also added instructions to our CI fixing deploying releases to GitHub.
1 parent 5f2a12c commit e818c35

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.factory/automation.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,13 @@ release:
195195
deploy-github:
196196
image: vaticle-ubuntu-22.04
197197
command: |
198+
export PYENV_ROOT="/opt/pyenv"
199+
pyenv install 3.7.9
200+
pyenv global 3.7.9
201+
sudo unlink /usr/bin/python3
202+
sudo ln -s $(which python3) /usr/bin/python3
203+
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.9/lib/python3.7/site-packages/lsb_release.py
204+
python3 -m pip install certifi
198205
export NOTES_CREATE_TOKEN=$REPO_GITHUB_TOKEN
199206
bazel run @vaticle_dependencies//tool/release/notes:create -- $FACTORY_OWNER $FACTORY_REPO $FACTORY_COMMIT $(cat VERSION) ./RELEASE_TEMPLATE.md
200207
export DEPLOY_GITHUB_TOKEN=$REPO_GITHUB_TOKEN

dependencies/vaticle/artifacts.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def vaticle_typedb_artifact():
2929
artifact_name = "typedb-server-{platform}-{version}.{ext}",
3030
tag_source = deployment["artifact.release"],
3131
commit_source = deployment["artifact.snapshot"],
32-
commit = "b335bfc8a63d0ff8ac57dd0dfa6afa823f7adc1f",
32+
commit = "9987d2c82b86a068ea40550d473dc5d75ed288aa",
3333
)
3434

3535
def vaticle_typedb_cluster_artifact():

dependencies/vaticle/repositories.bzl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@ def vaticle_typeql():
2525
git_repository(
2626
name = "vaticle_typeql",
2727
remote = "https://github.com/vaticle/typeql",
28-
commit = "20688efec99f40c90c9261c61306e66902135651", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typeql
28+
tag = "2.12.0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typeql
2929
)
3030

3131
def vaticle_typedb_common():
3232
git_repository(
3333
name = "vaticle_typedb_common",
3434
remote = "https://github.com/vaticle/typedb-common",
35-
commit = "17c162fe7135db6988d7ac1ae5416568231c8789" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_common
36-
35+
tag = "2.12.0" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_common
3736
)
3837

3938
def vaticle_dependencies():
@@ -47,19 +46,19 @@ def vaticle_typedb_protocol():
4746
git_repository(
4847
name = "vaticle_typedb_protocol",
4948
remote = "https://github.com/vaticle/typedb-protocol",
50-
commit = "192ee408a841130d75da9ca67630263126da3bd4", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_protocol
49+
tag = "2.12.0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_protocol
5150
)
5251

5352
def vaticle_typedb_behaviour():
5453
git_repository(
5554
name = "vaticle_typedb_behaviour",
5655
remote = "https://github.com/vaticle/typedb-behaviour",
57-
commit = "a503356d9d22e794393ced5b3d3f014db4189b60", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_behaviour
56+
commit = "17c3764aa3cce285523a566910fe716895f77c35", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_behaviour
5857
)
5958

6059
def vaticle_factory_tracing():
6160
git_repository(
6261
name = "vaticle_factory_tracing",
6362
remote = "https://github.com/vaticle/factory-tracing",
64-
commit = "e61d2d00e0c0321406da5fed14bd32ccb41cf03c" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_factory_tracing
63+
commit = "ec2ca026d81213e9f2a56c9b336defd99fda6931" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_factory_tracing
6564
)

0 commit comments

Comments
 (0)