GHA: debug exe signing concurrency
This commit is contained in:
2
.github/scripts/sign-exe-in-zip-file.sh
vendored
2
.github/scripts/sign-exe-in-zip-file.sh
vendored
@@ -17,7 +17,7 @@ unzip -q $file -d ./${destination_folder_name}
|
||||
echo "Successfully extracted ${filename}"
|
||||
sts_folder=`find ./${destination_folder_name} -maxdepth 1 -type d -name 'sts-*' -print -quit`
|
||||
echo "Found STS distro folder: ${sts_folder}"
|
||||
echo "About to sign win exe file: ${sts_folder}/SpringToolSuite4.exe"
|
||||
echo "About to sign win exe file: ${sts_folder}/SpringToolSuite4.exe (id = ${id})"
|
||||
$sign_script ${sts_folder}/SpringToolSuite4.exe ${sts_folder}/SpringToolSuite4.exe $id
|
||||
echo "Adding to zip contents of a folder ${destination_folder_name}"
|
||||
cd ${destination_folder_name}
|
||||
|
||||
3
.github/scripts/sign-exe.sh
vendored
3
.github/scripts/sign-exe.sh
vendored
@@ -4,8 +4,9 @@ out_file=$2
|
||||
id=$3
|
||||
|
||||
in_filename="$(basename -- $in_file)"
|
||||
echo "Setting up folder ${id} on the remote machine"
|
||||
ssh -i $SSH_KEY $SSH_USER@vm-tools.spring.vmware.com -- mkdir /opt/bamboo/$id
|
||||
echo "Copying $in_filename to remote machine..."
|
||||
echo "Copying $in_filename to remote machine into /opt/bamboo/${id}..."
|
||||
scp -i $SSH_KEY $in_file $SSH_USER@vm-tools.spring.vmware.com:/opt/bamboo/$id
|
||||
echo "Signing $in_filename..."
|
||||
ssh -i $SSH_KEY $SSH_USER@vm-tools.spring.vmware.com -- /build/apps/signing/signserver/signc -v --input=/opt/bamboo/$id/$in_filename --keyid=authenticode_SHA2 --signmethod="winddk-8.1" --output=/opt/bamboo/$id/$in_filename --hash sha256
|
||||
|
||||
Reference in New Issue
Block a user