summaryrefslogtreecommitdiff
path: root/scripts/package-build/amazon-cloudwatch-agent/package.toml
blob: 120a17f9942d2eadee72c5efa496c8dccf1d53fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[packages]]
name = "amazon-cloudwatch-agent"
commit_id = "v1.300050.0"
scm_url = "https://github.com/aws/amazon-cloudwatch-agent"

build_cmd = """

make clean test check_secrets amazon-cloudwatch-agent-linux package-deb
ARCH=$(dpkg --print-architecture)
TAG=$(git describe --tags --abbrev=0)
COMMIT=$(git rev-parse --short HEAD)
cp ./build/bin/linux/${ARCH}/*.deb ../amazon-cloudwatch-agent_${TAG}_${COMMIT}_${ARCH}.deb

"""