Skip to content

Commit

Permalink
syncer common
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Avetisyan <[email protected]>
  • Loading branch information
havetisyan committed Oct 8, 2024
1 parent 40d6682 commit 93ebc0a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 23 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ossrh-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
36 changes: 19 additions & 17 deletions actions/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<maven-jacoco-plugin.version>0.8.12</maven-jacoco-plugin.version>
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
<maven-javadoc-plugin.version>3.7.0</maven-javadoc-plugin.version>
<maven-nexus-plugin.version>1.6.14</maven-nexus-plugin.version>
<maven-nexus-plugin.version>1.7.0</maven-nexus-plugin.version>
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
Expand Down Expand Up @@ -150,14 +150,14 @@
<module>libs/java/auth_core</module>
<module>libs/java/client_common</module>
<module>libs/java/cert_refresher</module>
<module>clients/java/zms</module>
<module>clients/java/zts</module>
<module>libs/java/server_common</module>
<module>libs/java/server_k8s_common</module>
<module>libs/java/dynamodb_client_factory</module>
<module>libs/java/server_aws_common</module>
<module>libs/java/syncer_common</module>
<module>libs/java/instance_provider</module>
<module>libs/java/dynamodb_client_factory</module>
<module>clients/java/zms</module>
<module>clients/java/zts</module>
<module>clients/java/zpe</module>
<module>clients/java/msd</module>
<module>libs/java/gcp_zts_creds</module>
Expand Down

0 comments on commit 93ebc0a

Please sign in to comment.