Modified prepare-workspace.sh and access permissions for bin files

Signed-off-by: Jadin Luong <Jadin.Luong@ibm.com>
This commit is contained in:
Jadin Luong
2020-11-24 17:21:35 -05:00
parent 2d4ec240f9
commit 79b53b9a9b
5 changed files with 7 additions and 3 deletions

View File

@@ -34,6 +34,10 @@ echo "[${SCRIPT_NAME}] cleaning PAX workspace ..."
rm -fr "${PAX_WORKSPACE_DIR}/content"
mkdir -p "${PAX_WORKSPACE_DIR}/content"
cp manifest.yaml "${PAX_WORKSPACE_DIR}/content"
cp README.md "${PAX_WORKSPACE_DIR}/content"
cp LICENSE "${PAX_WORKSPACE_DIR}/content"
# build client
echo "[${SCRIPT_NAME}] building client ..."
cd "dist"
@@ -59,10 +63,10 @@ sed -e "s|{{build\.branch}}|${BRANCH_NAME}|g" \
-e "s|{{build\.number}}|${BUILD_NUMBER}|g" \
-e "s|{{build\.commitHash}}|${commit_hash}|g" \
-e "s|{{build\.timestamp}}|${current_timestamp}|g" \
"${PAX_WORKSPACE_DIR}/ascii/manifest.yaml" > "${PAX_WORKSPACE_DIR}/ascii/manifest.yaml.tmp"
mv "${PAX_WORKSPACE_DIR}/ascii/manifest.yaml.tmp" "${PAX_WORKSPACE_DIR}/ascii/manifest.yaml"
"${PAX_WORKSPACE_DIR}/content/manifest.yaml" > "${PAX_WORKSPACE_DIR}/content/manifest.yaml.tmp"
mv "${PAX_WORKSPACE_DIR}/content/manifest.yaml.tmp" "${PAX_WORKSPACE_DIR}/content/manifest.yaml"
echo "[${SCRIPT_NAME}] manifest:"
cat "${PAX_WORKSPACE_DIR}/ascii/manifest.yaml"
cat "${PAX_WORKSPACE_DIR}/content/manifest.yaml"
echo
rsync -rv \

0
bin/configure-2.sh Normal file → Executable file
View File

0
bin/configure.sh Normal file → Executable file
View File

0
bin/env.sh Normal file → Executable file
View File

0
bin/start.sh Normal file → Executable file
View File