From 93ebc0aa5973d061e0ee545f9bde4064f1b52b2a Mon Sep 17 00:00:00 2001 From: Henry Avetisyan Date: Tue, 8 Oct 2024 00:21:29 -0700 Subject: [PATCH] syncer common Signed-off-by: Henry Avetisyan --- .github/workflows/ossrh-publish.yaml | 6 +++-- actions/scripts/publish.sh | 36 +++++++++++++++------------- pom.xml | 8 +++---- 3 files changed, 27 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ossrh-publish.yaml b/.github/workflows/ossrh-publish.yaml index 87146558ab5..1d62433c780 100644 --- a/.github/workflows/ossrh-publish.yaml +++ b/.github/workflows/ossrh-publish.yaml @@ -2,8 +2,10 @@ name: Publish Athenz packages to Maven Central on: push: - tags: - - 'v1.12.*' + branches: + - '1.12.1' +# tags: +# - 'v1.12.*' env: GOLANG_VERSION: 1.22 diff --git a/actions/scripts/publish.sh b/actions/scripts/publish.sh index 83871c07438..98003ee9b25 100755 --- a/actions/scripts/publish.sh +++ b/actions/scripts/publish.sh @@ -28,18 +28,19 @@ function deployProject () if [[ "$MODULE_TYPE" = "client" ]]; then - deployProject "com.yahoo.athenz:athenz" - deployProject "com.yahoo.athenz:athenz-zms-core" - deployProject "com.yahoo.athenz:athenz-zts-core" - deployProject "com.yahoo.athenz:athenz-msd-core" - deployProject "com.yahoo.athenz:athenz-auth-core" - deployProject "com.yahoo.athenz:athenz-client-common" - deployProject "com.yahoo.athenz:athenz-cert-refresher" - deployProject "com.yahoo.athenz:athenz-zms-java-client" - deployProject "com.yahoo.athenz:athenz-zts-java-client" - deployProject "com.yahoo.athenz:athenz-zpe-java-client" - deployProject "com.yahoo.athenz:athenz-msd-java-client" - deployProject "com.yahoo.athenz:athenz-gcp-zts-creds" + echo "Publishing client packages..." +# deployProject "com.yahoo.athenz:athenz" +# deployProject "com.yahoo.athenz:athenz-zms-core" +# deployProject "com.yahoo.athenz:athenz-zts-core" +# deployProject "com.yahoo.athenz:athenz-msd-core" +# deployProject "com.yahoo.athenz:athenz-auth-core" +# deployProject "com.yahoo.athenz:athenz-client-common" +# deployProject "com.yahoo.athenz:athenz-cert-refresher" +# deployProject "com.yahoo.athenz:athenz-zms-java-client" +# deployProject "com.yahoo.athenz:athenz-zts-java-client" +# deployProject "com.yahoo.athenz:athenz-zpe-java-client" +# deployProject "com.yahoo.athenz:athenz-msd-java-client" +# deployProject "com.yahoo.athenz:athenz-gcp-zts-creds" else mvn -B install --projects "com.yahoo.athenz:athenz" -Dmaven.test.skip=true mvn -B install --projects "com.yahoo.athenz:athenz-zms-core" -Dmaven.test.skip=true @@ -50,9 +51,10 @@ else mvn -B install --projects "com.yahoo.athenz:athenz-cert-refresher" -Dmaven.test.skip=true mvn -B install --projects "com.yahoo.athenz:athenz-zms-java-client" -Dmaven.test.skip=true mvn -B install --projects "com.yahoo.athenz:athenz-zts-java-client" -Dmaven.test.skip=true - deployProject "com.yahoo.athenz:athenz-dynamodb-client-factory" - deployProject "com.yahoo.athenz:athenz-server-common" - deployProject "com.yahoo.athenz:athenz-server-k8s-common" - deployProject "com.yahoo.athenz:athenz-server-aws-common" - deployProject "com.yahoo.athenz:athenz-instance-provider" +# deployProject "com.yahoo.athenz:athenz-server-common" +# deployProject "com.yahoo.athenz:athenz-server-k8s-common" +# deployProject "com.yahoo.athenz:athenz-dynamodb-client-factory" +# deployProject "com.yahoo.athenz:athenz-server-aws-common" + deployProject "com.yahoo.athenz:athenz-syncer-common" +# deployProject "com.yahoo.athenz:athenz-instance-provider" fi diff --git a/pom.xml b/pom.xml index e388c567aa2..220906cd31b 100644 --- a/pom.xml +++ b/pom.xml @@ -120,7 +120,7 @@ 0.8.12 3.4.2 3.7.0 - 1.6.14 + 1.7.0 3.1.1 3.6.0 3.3.1 @@ -150,14 +150,14 @@ libs/java/auth_core libs/java/client_common libs/java/cert_refresher + clients/java/zms + clients/java/zts libs/java/server_common libs/java/server_k8s_common + libs/java/dynamodb_client_factory libs/java/server_aws_common libs/java/syncer_common libs/java/instance_provider - libs/java/dynamodb_client_factory - clients/java/zms - clients/java/zts clients/java/zpe clients/java/msd libs/java/gcp_zts_creds