Skip to content

binaries.tgz is missing ssm-session-worker and logger #3

@mdaniel

Description

@mdaniel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions