-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
T6879: Add build amazon-cloudwatch-agent and amazon-cloudwatch-agent
- Loading branch information
1 parent
b455954
commit 365ae51
Showing
7 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
amazon-cloudwatch-agent/ | ||
*.buildinfo | ||
*.build | ||
*.changes | ||
*.deb | ||
*.dsc | ||
*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../build.py |
14 changes: 14 additions & 0 deletions
14
scripts/package-build/amazon-cloudwatch-agent/package.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[[packages]] | ||
name = "amazon-cloudwatch-agent" | ||
commit_id = "v1.300050.0" | ||
scm_url = "https://github.com/aws/amazon-cloudwatch-agent" | ||
|
||
build_cmd = """ | ||
make prepackage 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 | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
amazon-ssm-agent/ | ||
*.buildinfo | ||
*.build | ||
*.changes | ||
*.deb | ||
*.dsc | ||
*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../build.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
""" |