Skip to content

Commit

Permalink
update package build list for docker image (#2763)
Browse files Browse the repository at this point in the history
* update package build list for docker image

Signed-off-by: Henry Avetisyan <[email protected]>

* Update coverage since github runner is in aws

Signed-off-by: Henry Avetisyan <[email protected]>

---------

Signed-off-by: Henry Avetisyan <[email protected]>
  • Loading branch information
havetisyan authored Oct 15, 2024
1 parent 85889e8 commit ce3c7ad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/util/athenz-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LABEL org.label-schema.vcs-ref=$VCS_REF
WORKDIR /athenz
COPY . .

RUN mvn -B install -pl core/zms -pl core/zts -pl core/msd -pl libs/java/auth_core -pl libs/java/client_common -pl libs/java/server_common -pl libs/java/server_k8s_common -pl libs/java/syncer_common -pl libs/java/dynamodb_client_factory -pl libs/java/instance_provider -pl libs/java/cert_refresher -pl clients/java/zms -pl servers/zms -pl clients/java/zts -pl servers/zts -pl containers/jetty -pl assembly/zms -pl assembly/zts -DskipTests -Djacoco.skip=true -DdockerBuild=true
RUN mvn -B install -pl core/zms -pl core/zts -pl core/msd -pl libs/java/auth_core -pl libs/java/client_common -pl libs/java/cert_refresher -pl clients/java/zms -pl clients/java/zts -pl libs/java/server_common -pl libs/java/server_k8s_common -pl libs/java/dynamodb_client_factory -pl libs/java/server_aws_common -pl libs/java/syncer_common -pl libs/java/instance_provider -pl servers/zms -pl servers/zts -pl containers/jetty -pl assembly/zms -pl assembly/zts -DskipTests -Djacoco.skip=true -DdockerBuild=true

RUN mkdir -p /tmp/zms \
&& mkdir -p /tmp/zts \
Expand Down
15 changes: 11 additions & 4 deletions docker/util/athenz-mvn-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,29 @@ COPY ./rdl/rdl-gen-athenz-java-model/pom.xml ./rdl/rdl-gen-athenz-java-model/pom
COPY ./rdl/rdl-gen-athenz-java-client/pom.xml ./rdl/rdl-gen-athenz-java-client/pom.xml
COPY ./core/zms/pom.xml ./core/zms/pom.xml
COPY ./core/zts/pom.xml ./core/zts/pom.xml
COPY ./core/msd/pom.xml ./core/msd/pom.xml
COPY ./libs/java/auth_core/pom.xml ./libs/java/auth_core/pom.xml
COPY ./libs/java/client_common/pom.xml ./libs/java/client_common/pom.xml
COPY ./libs/java/cert_refresher/pom.xml ./libs/java/cert_refresher/pom.xml
COPY ./clients/java/zms/pom.xml ./clients/java/zms/pom.xml
COPY ./clients/java/zts/pom.xml ./clients/java/zts/pom.xml
COPY ./libs/java/server_common/pom.xml ./libs/java/server_common/pom.xml
COPY ./libs/java/server_k8s_common/pom.xml ./libs/java/server_k8s_common/pom.xml
COPY ./libs/java/syncer_common/pom.xml ./libs/java/syncer_common/pom.xml
COPY ./libs/java/dynamodb_client_factory/pom.xml ./libs/java/dynamodb_client_factory/pom.xml
COPY ./libs/java/server_aws_common/pom.xml ./libs/java/server_aws_common/pom.xml
COPY ./libs/java/syncer_common/pom.xml ./libs/java/syncer_common/pom.xml
COPY ./libs/java/instance_provider/pom.xml ./libs/java/instance_provider/pom.xml
COPY ./libs/java/cert_refresher/pom.xml ./libs/java/cert_refresher/pom.xml
COPY ./clients/java/zms/pom.xml ./clients/java/zms/pom.xml
COPY ./clients/java/zts/pom.xml ./clients/java/zts/pom.xml
COPY ./clients/java/zpe/pom.xml ./clients/java/zpe/pom.xml
COPY ./clients/java/msd/pom.xml ./clients/java/msd/pom.xml
COPY ./libs/java/gcp_zts_creds/pom.xml ./libs/java/gcp_zts_creds/pom.xml
COPY ./servers/zms/pom.xml ./servers/zms/pom.xml
COPY ./servers/zts/pom.xml ./servers/zts/pom.xml
COPY ./containers/jetty/pom.xml ./containers/jetty/pom.xml
COPY ./syncers/auth_history_syncer/pom.xml ./syncers/auth_history_syncer/pom.xml
COPY ./syncers/zms_aws_domain_syncer/pom.xml ./syncers/zms_aws_domain_syncer/pom.xml
COPY ./clients/go/zms/pom.xml ./clients/go/zms/pom.xml
COPY ./clients/go/zts/pom.xml ./clients/go/zts/pom.xml
COPY ./clients/go/msd/pom.xml ./clients/go/msd/pom.xml
COPY ./libs/go/zmscli/pom.xml ./libs/go/zmscli/pom.xml
COPY ./libs/go/zmssvctoken/pom.xml ./libs/go/zmssvctoken/pom.xml
COPY ./libs/go/athenzutils/pom.xml ./libs/go/athenzutils/pom.xml
Expand Down
2 changes: 1 addition & 1 deletion libs/java/server_aws_common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<packaging>jar</packaging>

<properties>
<code.coverage.min>0.9604</code.coverage.min>
<code.coverage.min>0.9590</code.coverage.min>
<aws.secretmanager.version>2.0.2</aws.secretmanager.version>
</properties>

Expand Down

0 comments on commit ce3c7ad

Please sign in to comment.