Skip to content

Commit

Permalink
feat: NVSHAS-9494 make manager SLSA capable
Browse files Browse the repository at this point in the history
  • Loading branch information
holyspectral committed Dec 12, 2024
1 parent 7c21211 commit 673c8f5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package/build_manager.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

STAGE_DIR=stage

Expand Down Expand Up @@ -48,12 +49,12 @@ env JAVA_OPTS="-Xms2g -Xmx3g" sbt admin/assembly
zip -d admin/target/scala-3.3.4/admin-assembly-1.0.jar rest-management-private-classpath\*
rm -rf admin/webapp/root/.sass-cache

mkdir -p ${STAGE_DIR}/licenses/ ${STAGE_DIR}/usr/local/bin/ ${STAGE_DIR}/usr/lib/jvm/java-17-openjdk/lib/security/java.security
mkdir -p ${STAGE_DIR}/licenses/ ${STAGE_DIR}/usr/local/bin/ ${STAGE_DIR}/usr/lib/jvm/java-17-openjdk/lib/security ${STAGE_DIR}/usr/lib64/jvm/java-17-openjdk-17/conf/security/
cp licenses/* ${STAGE_DIR}/licenses/
cp cli/cli ${STAGE_DIR}/usr/local/bin/
cp cli/cli.py ${STAGE_DIR}/usr/local/bin/
cp -r cli/prog ${STAGE_DIR}/usr/local/bin/
cp scripts/* ${STAGE_DIR}/usr/local/bin/
cp java.security ${STAGE_DIR}/usr/lib/jvm/java-17-openjdk/lib/security/java.security
cp java.security ${STAGE_DIR}/usr/lib64/jvm/java-17-openjdk-17/conf/security/java.security
cp java.security ${STAGE_DIR}/usr/lib/jvm/java-17-openjdk/lib/security/
cp java.security ${STAGE_DIR}/usr/lib64/jvm/java-17-openjdk-17/conf/security/
cp admin/target/scala-3.3.4/admin-assembly-1.0.jar ${STAGE_DIR}/usr/local/bin/

0 comments on commit 673c8f5

Please sign in to comment.