amazon-cloudwatch-agent icon indicating copy to clipboard operation
amazon-cloudwatch-agent copied to clipboard

Unify Building Procedure

Open okankoAMZ opened this issue 2 years ago • 2 comments

Description of the issue

We were testing and releasing the agent on different build environments, which causes parity issue between testing and release.

Description of changes

  • Created Custom AMIs using EC2 image builder, which have built-in Lifecycles.
  • Wrote a script using aws-go-sdk-v2 that:
    • Finds latest custom AMIs
    • Launches EC2 instance with these AMIs
    • Run Commands on them using SSM
  • These commands builds and upload builds to S3

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Ran integration test

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

okankoAMZ avatar Oct 12 '23 20:10 okankoAMZ

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 62.60%. Comparing base (96d4763) to head (e5ed07a). :warning: Report is 991 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #904      +/-   ##
==========================================
+ Coverage   57.58%   62.60%   +5.02%     
==========================================
  Files         370      337      -33     
  Lines       17548    17047     -501     
==========================================
+ Hits        10105    10673     +568     
+ Misses       6848     5817    -1031     
+ Partials      595      557      -38     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Oct 17 '23 20:10 codecov-commenter

This PR was marked stale due to lack of activity.

github-actions[bot] avatar Oct 31 '23 00:10 github-actions[bot]