[package] name = "ecs-agent" version = "0.1.0" edition = "2021" publish = false build = "../build.rs" [lib] path = "../packages.rs" # ECS agent [package.metadata.build-package] releases-url = "https://github.com/aws/amazon-ecs-agent/releases" [[package.metadata.build-package.external-files]] url = "https://github.com/aws/amazon-ecs-agent/archive/v1.70.2/amazon-ecs-agent-1.70.2.tar.gz" sha512 = "1cfbe51d87f63958b2c86df41dd2d42c7b96924a42be9889f0b7d3a6874c6787e9e65e6d03f974dd6fb75de74868a78f937e47908032b96272770eac39646cbc" # The ECS agent repository includes two CNI plugins as git submodules. git # archive does not include submodules, so the tarball above does not include # the source of those plugins. Instead, we include the CNI plugin source # directly. # You can get the commit SHA for the submodules for a particular ecs-agent release here: # https://github.com/aws/amazon-ecs-agent/blob/ECS_AGENT_VERSION/agent/ecscni/plugin_test.go#L29-L34 [[package.metadata.build-package.external-files]] url = "https://github.com/aws/amazon-ecs-cni-plugins/archive/db5864722987c34ba309e6e7a7628fd1ccad1520/amazon-ecs-cni-plugins.tar.gz" sha512 = "550681f5cd9bdf46dd1a3353b9d328217a4d1b8697633fb70c19a0e2ddd839fb08bc764b63b1c23bc77b0d1c125ee8fbb5de0ad55628b1449261e9700e486387" [[package.metadata.build-package.external-files]] url = "https://github.com/aws/amazon-vpc-cni-plugins/archive/24d6bd87707d1b1801086fc507ebab8d32067412/amazon-vpc-cni-plugins.tar.gz" sha512 = "70ee8b238ba05528c89042b2cf3102c77bd71ea3a3fef6d7645f420842d82da1c2b3798022b02feec73253c130497b706ea24ae1088f53730baa415cdcfcd606" # RPM BuildRequires [build-dependencies] glibc = { path = "../glibc" } # RPM Requires [dependencies] # `docker-engine` is only needed at runtime, and is included in the variant # definition. # docker-engine = { path = "../docker-engine" } # `iptables` is only needed at runtime, and is pulled in by `release`. # iptables = { path = "../iptables" } amazon-ssm-agent = { path = "../amazon-ssm-agent" }