From f95fc5f7ae9cf1832eae2451be883477bbd08f16 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Wed, 21 Nov 2018 16:06:17 -0600 Subject: Batch upgrades for ONAP Issue-ID: AAF-641 Change-Id: I7b5e8b97d8c6c484418c995b6e51507af78fc765 Signed-off-by: Instrumental --- auth/auth-cass/docker/Dockerfile.cass | 2 ++ auth/auth-cass/docker/dbuild.sh | 2 ++ 2 files changed, 4 insertions(+) (limited to 'auth/auth-cass/docker') diff --git a/auth/auth-cass/docker/Dockerfile.cass b/auth/auth-cass/docker/Dockerfile.cass index a540fb78..e79b33fc 100644 --- a/auth/auth-cass/docker/Dockerfile.cass +++ b/auth/auth-cass/docker/Dockerfile.cass @@ -26,6 +26,8 @@ LABEL version=${AAF_VERSION} COPY cass_init/*.cql /opt/app/aaf/cass_init/ COPY cass_init/*.sh /opt/app/aaf/cass_init/ +COPY cass_init/*.props /opt/app/aaf/cass_init/ +COPY aaf-auth-batch-${AAF_VERSION}-full.jar /opt/app/aaf/cass_init/ COPY cass_data/*.dat /opt/app/aaf/cass_init/dats/ ENTRYPOINT ["/bin/bash","/opt/app/aaf/cass_init/cmd.sh"] diff --git a/auth/auth-cass/docker/dbuild.sh b/auth/auth-cass/docker/dbuild.sh index 92f3e87c..100b8cb9 100644 --- a/auth/auth-cass/docker/dbuild.sh +++ b/auth/auth-cass/docker/dbuild.sh @@ -34,6 +34,7 @@ sed -e 's/${AAF_VERSION}/'${VERSION}'/g' $DIR/Dockerfile.cass > Dockerfile cd .. cp -Rf sample/cass_data auth-cass/cass_data cp sample/data/sample.identities.dat auth-cass +cp auth-batch/target/aaf-auth-batch-$VERSION-full.jar auth-cass echo $DOCKER build -t ${ORG}/${PROJECT}/aaf_cass:${VERSION} auth-cass $DOCKER build -t ${ORG}/${PROJECT}/aaf_cass:${VERSION} auth-cass @@ -44,5 +45,6 @@ cd - rm Dockerfile rm -Rf cass_data rm sample.identities.dat +rm aaf-auth-batch-$VERSION-full.jar cd $DIR -- cgit 1.2.3-korg