summaryrefslogtreecommitdiff
path: root/scripts/package-build/amazon-ssm-agent/package.toml
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-11-16 11:39:38 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-11-16 13:10:33 +0000
commit365ae51ecd8cf39da421eb2e04182524e2cea3d3 (patch)
treeec810fd1455d6acca4898e8cbe3c9fd1712b4e99 /scripts/package-build/amazon-ssm-agent/package.toml
parentb455954ecde603a76521e4b0f1f955cbd87ff599 (diff)
downloadvyos-build-365ae51ecd8cf39da421eb2e04182524e2cea3d3.tar.gz
vyos-build-365ae51ecd8cf39da421eb2e04182524e2cea3d3.zip
T6879: Add build amazon-cloudwatch-agent and amazon-cloudwatch-agent
Diffstat (limited to 'scripts/package-build/amazon-ssm-agent/package.toml')
-rw-r--r--scripts/package-build/amazon-ssm-agent/package.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/package-build/amazon-ssm-agent/package.toml b/scripts/package-build/amazon-ssm-agent/package.toml
new file mode 100644
index 00000000..ecd2fdf6
--- /dev/null
+++ b/scripts/package-build/amazon-ssm-agent/package.toml
@@ -0,0 +1,16 @@
+[[packages]]
+name = "amazon-ssm-agent"
+commit_id = "3.3.1311.0"
+scm_url = "https://github.com/aws/amazon-ssm-agent"
+
+build_cmd = """
+
+ARCH=$(dpkg --print-architecture)
+TAG=$(git describe --tags --abbrev=0)
+COMMIT=$(git rev-parse --short HEAD)
+
+make build-linux
+make package-deb
+cp ./bin/debian_${ARCH}/*.deb ../amazon-ssm-agent_${TAG}_${COMMIT}_${ARCH}.deb
+
+"""