Skip to content

Commit

Permalink
Return builds, fix comments and refs
Browse files Browse the repository at this point in the history
  • Loading branch information
farost committed Apr 4, 2024
1 parent b40940d commit 035c7c3
Show file tree
Hide file tree
Showing 62 changed files with 578 additions and 739 deletions.
176 changes: 88 additions & 88 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,13 @@ commands:
deploy-dotnet-runtime-release-unix:
steps:
- run: |
export DEPLOY_NUGET_API_KEY=$REPO_TYPEDB_PASSWORD # TODO: Add new key for nuget as a new variable!
export DEPLOY_NUGET_API_KEY=$REPO_NUGET_TOKEN
bazel run --jobs=8 --define version=$(cat VERSION) //csharp:driver-csharp-runtime-push --compilation_mode=opt -- release
deploy-dotnet-release-unix:
steps:
- run: |
export DEPLOY_NUGET_API_KEY=$REPO_TYPEDB_PASSWORD # TODO: Add new key for nuget as a new variable!
export DEPLOY_NUGET_API_KEY=$REPO_NUGET_TOKEN
bazel run --jobs=8 --define version=$(cat VERSION) //csharp:driver-csharp-push --compilation_mode=opt -- release
#########################
Expand Down Expand Up @@ -493,17 +493,17 @@ jobs:
- install-bazel-yum:
bazel-arch: arm64

# - deploy-pip-snapshot-unix
#
# - deploy-maven-jni-snapshot-unix
#
# - deploy-clib-snapshot-unix
# - test-clib-assembly-linux:
# target-arch: arm64
#
# - deploy-cpp-snapshot-unix
# - test-cpp-assembly-linux:
# target-arch: arm64
- deploy-pip-snapshot-unix

- deploy-maven-jni-snapshot-unix

- deploy-clib-snapshot-unix
- test-clib-assembly-linux:
target-arch: arm64

- deploy-cpp-snapshot-unix
- test-cpp-assembly-linux:
target-arch: arm64

- install-libicu-linux
- deploy-dotnet-runtime-snapshot-unix
Expand All @@ -515,17 +515,17 @@ jobs:
- install-bazel-yum:
bazel-arch: amd64

# - deploy-pip-snapshot-unix
#
# - deploy-maven-jni-snapshot-unix
#
# - deploy-clib-snapshot-unix
# - test-clib-assembly-linux:
# target-arch: x86_64
#
# - deploy-cpp-snapshot-unix
# - test-cpp-assembly-linux:
# target-arch: x86_64
- deploy-pip-snapshot-unix

- deploy-maven-jni-snapshot-unix

- deploy-clib-snapshot-unix
- test-clib-assembly-linux:
target-arch: x86_64

- deploy-cpp-snapshot-unix
- test-cpp-assembly-linux:
target-arch: x86_64

- install-libicu-linux
- deploy-dotnet-runtime-snapshot-unix
Expand All @@ -537,19 +537,19 @@ jobs:
- install-bazel-brew:
bazel-arch: arm64

# - deploy-pip-snapshot-unix
#
# - deploy-maven-jni-snapshot-unix
#
# - run: brew install cmake
#
# - deploy-clib-snapshot-unix
# - test-clib-assembly-mac:
# target-arch: arm64
#
# - deploy-cpp-snapshot-unix
# - test-cpp-assembly-mac:
# target-arch: arm64
- deploy-pip-snapshot-unix

- deploy-maven-jni-snapshot-unix

- run: brew install cmake

- deploy-clib-snapshot-unix
- test-clib-assembly-mac:
target-arch: arm64

- deploy-cpp-snapshot-unix
- test-cpp-assembly-mac:
target-arch: arm64

- deploy-dotnet-runtime-snapshot-unix

Expand All @@ -561,19 +561,19 @@ jobs:
- install-bazel-brew:
bazel-arch: amd64

# - deploy-pip-snapshot-unix
#
# - deploy-maven-jni-snapshot-unix
#
# - run: brew install cmake
#
# - deploy-clib-snapshot-unix
# - test-clib-assembly-mac:
# target-arch: x86_64
#
# - deploy-cpp-snapshot-unix
# - test-cpp-assembly-mac:
# target-arch: x86_64
- deploy-pip-snapshot-unix

- deploy-maven-jni-snapshot-unix

- run: brew install cmake

- deploy-clib-snapshot-unix
- test-clib-assembly-mac:
target-arch: x86_64

- deploy-cpp-snapshot-unix
- test-cpp-assembly-mac:
target-arch: x86_64

- deploy-dotnet-runtime-snapshot-unix

Expand All @@ -587,15 +587,15 @@ jobs:
- checkout
- run: .circleci\windows\prepare.bat

# - run: .circleci\windows\python\deploy_snapshot.bat
#
# - run: .circleci\windows\java\deploy_snapshot.bat
#
# - run: .circleci\windows\clib\deploy_snapshot.bat
# - run: .circleci\windows\clib\test_assembly.bat
#
# - run: .circleci\windows\cpp\deploy_snapshot.bat
# - run: .circleci\windows\cpp\test_assembly.bat
- run: .circleci\windows\python\deploy_snapshot.bat

- run: .circleci\windows\java\deploy_snapshot.bat

- run: .circleci\windows\clib\deploy_snapshot.bat
- run: .circleci\windows\clib\test_assembly.bat

- run: .circleci\windows\cpp\deploy_snapshot.bat
- run: .circleci\windows\cpp\test_assembly.bat

- run: .circleci\windows\csharp\deploy_snapshot.bat

Expand All @@ -605,10 +605,10 @@ jobs:
- checkout
- install-bazel-apt:
bazel-arch: amd64
# - deploy-crate-snapshot-unix
# - deploy-maven-snapshot-unix
# - install-npm-apt
# - deploy-npm-snapshot-unix
- deploy-crate-snapshot-unix
- deploy-maven-snapshot-unix
- install-npm-apt
- deploy-npm-snapshot-unix
- deploy-dotnet-snapshot-unix

test-snapshot-linux-arm64:
Expand All @@ -617,9 +617,9 @@ jobs:
- checkout
- install-bazel-yum:
bazel-arch: arm64
# - test-pip-snapshot-unix
# - install-maven-linux
# - test-maven-snapshot-unix
- test-pip-snapshot-unix
- install-maven-linux
- test-maven-snapshot-unix
- install-dotnet-linux
- install-libicu-linux
- test-dotnet-snapshot-unix
Expand All @@ -630,9 +630,9 @@ jobs:
- checkout
- install-bazel-yum:
bazel-arch: amd64
# - test-pip-snapshot-unix
# - install-maven-linux
# - test-maven-snapshot-unix
- test-pip-snapshot-unix
- install-maven-linux
- test-maven-snapshot-unix
- install-dotnet-linux
- test-dotnet-snapshot-unix

Expand All @@ -642,9 +642,9 @@ jobs:
- checkout
- install-bazel-brew:
bazel-arch: arm64
# - test-pip-snapshot-unix
# - install-maven-mac
# - test-maven-snapshot-unix
- test-pip-snapshot-unix
- install-maven-mac
- test-maven-snapshot-unix
- install-dotnet-mac
- test-dotnet-snapshot-unix

Expand All @@ -655,9 +655,9 @@ jobs:
- checkout
- install-bazel-brew:
bazel-arch: amd64
# - test-pip-snapshot-mac-rosetta
# - install-maven-mac-rosetta
# - test-maven-snapshot-mac-rosetta
- test-pip-snapshot-mac-rosetta
- install-maven-mac-rosetta
- test-maven-snapshot-mac-rosetta
- install-dotnet-mac-rosetta
- test-dotnet-snapshot-mac-rosetta

Expand All @@ -670,8 +670,8 @@ jobs:
steps:
- checkout
- run: .circleci\windows\prepare.bat
# - run: .circleci\windows\python\test_deploy_snapshot.bat
# - run: .circleci\windows\java\test_deploy_snapshot.bat
- run: .circleci\windows\python\test_deploy_snapshot.bat
- run: .circleci\windows\java\test_deploy_snapshot.bat
- run: .circleci\windows\csharp\test_deploy_snapshot.bat

test-snapshot-any:
Expand Down Expand Up @@ -811,32 +811,32 @@ workflows:
- deploy-snapshot-linux-arm64:
filters:
branches:
only: [development, master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [development, master]

- deploy-snapshot-linux-x86_64:
filters:
branches:
only: [development, master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [development, master]

- deploy-snapshot-mac-arm64:
filters:
branches:
only: [development, master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [development, master]

- deploy-snapshot-mac-x86_64:
filters:
branches:
only: [development, master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [development, master]

- deploy-snapshot-windows-x86_64:
filters:
branches:
only: [development, master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [development, master]

- deploy-snapshot-any:
filters:
branches:
only: [development, master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [development, master]
requires:
- deploy-snapshot-linux-arm64
- deploy-snapshot-linux-x86_64
Expand All @@ -847,39 +847,39 @@ workflows:
- test-snapshot-linux-arm64:
filters:
branches:
only: [master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [master]
requires:
- deploy-snapshot-linux-arm64
- deploy-snapshot-any

- test-snapshot-linux-x86_64:
filters:
branches:
only: [master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [master]
requires:
- deploy-snapshot-linux-x86_64
- deploy-snapshot-any

- test-snapshot-mac-arm64:
filters:
branches:
only: [master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [master]
requires:
- deploy-snapshot-mac-arm64
- deploy-snapshot-any

- test-snapshot-mac-x86_64:
filters:
branches:
only: [master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [master]
requires:
- deploy-snapshot-mac-x86_64
- deploy-snapshot-any

- test-snapshot-windows-x86_64:
filters:
branches:
only: [master, csharp-docs-deployment] # TODO: Remove csharp-docs-deployment
only: [master]
requires:
- deploy-snapshot-windows-x86_64
- deploy-snapshot-any
Expand Down
3 changes: 1 addition & 2 deletions .circleci/windows/csharp/deploy_release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ REM by Chocolatey in prepare.bat is accessible
CALL refreshenv

ECHO Building and deploying windows package...
SET DEPLOY_NUGET_API_KEY=%REPO_TYPEDB_PASSWORD%
@REM TODO: Add new key for nuget as a new variable!
SET DEPLOY_NUGET_API_KEY=%REPO_NUGET_TOKEN%

SET /p VER=<VERSION
bazel --output_user_root=C:/b run --verbose_failures --define version=%VER% //csharp:driver-csharp-runtime-push --compilation_mode=opt -- release
Expand Down
Loading

0 comments on commit 035c7c3

Please sign in to comment.