You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Foremost, thank you, thank you, thank you for this fork!
The "artefacts" manifest present on the release page is built from static text, and not the actual output of tree or tar or something executable, meaning it says that it includes ssm-session-worker but in fact does not:
$ bash -ex ./opsgang-release-binaries.sh+ echo '... copying built binaries ' amazon-ssm-agent ssm-cli ssm-document-worker ssm-session-logger ssm-session-worker+ cp -a /go/src/github.com/aws/amazon-ssm-agent/bin/linux_amd64/amazon-ssm-agent /go/src/github.com/aws/amazon-ssm-agent/bin/linux_amd64/ssm-cli /go/src/github.com/aws/amazon-ssm-agent/bin/linux_amd64/ssm-document-worker /go/src/github.com/aws/amazon-ssm-agent/opsgang/bin## ...+ tar czvf /go/src/github.com/aws/amazon-ssm-agent/release-artefacts/binaries.tgz -C /go/src/github.com/aws/amazon-ssm-agent/opsgang/bin .././ssm-cli./amazon-ssm-agent./ssm-document-worker+ tar czvf /go/src/github.com/aws/amazon-ssm-agent/release-artefacts/default-cfgs.tgz -C /go/src/github.com/aws/amazon-ssm-agent/opsgang etc
as best I can tell, this is caused by using a hard-coded shell expansion instead of the ls -1 | grep -v updater output used directly above it:
cp -a $d/bin/linux_amd64/{amazon-ssm-agent,ssm-cli,ssm-document-worker} $bin_dir
The text was updated successfully, but these errors were encountered:
it didn't feel like it deserved its own issue, but there is also a variable assignment that prevents the build-binaries.sh script from being able to run under set -euo pipefail:
--- opsgang-build-binaries.sh~ 2020-06-22 13:49:37.569240417 -0700+++ opsgang-build-binaries.sh 2020-06-22 13:51:22.233874799 -0700@@ -34,8 +34,8 @@
echo "INFO $0: ... making agent modules available in libs dirs"
ln -s `pwd` `pwd`/vendor/src/github.com/aws/amazon-ssm-agent
- echo "INFO $0: ... updating VERSION to $version because amazon did not bother ..."
version=$(version_from_branch $(git_branch)) || return 1
+ echo "INFO $0: ... updating VERSION to $version because amazon did not bother ..."
echo "$version" >VERSION
Foremost, thank you, thank you, thank you for this fork!
The "artefacts" manifest present on the release page is built from static text, and not the actual output of
tree
ortar
or something executable, meaning it says that it includesssm-session-worker
but in fact does not:as best I can tell, this is caused by using a hard-coded shell expansion instead of the
ls -1 | grep -v updater
output used directly above it:The text was updated successfully, but these errors were encountered: