-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge latest ecs-init & initAgentIntegration into dev #3234
Merged
Conversation
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
* Resolve go modules/vendor conflicts and add dockerfree-all make target * add build-time configuration and update scripts/comments
Note -- windows tests failing due to unrelated volume size change.
…lding with codesuite
* separated the merge-build and pr-build buildspecs * aim the codebuild stack at the right buildspec * updated the buildspecs to release and sign arm variants as well * updated the build infrastructure to build for arm as well as amd archs * added a note about adding more artifacts to be signed and copied * fixing a couple of other things found in review * added a bucket stack with a bucket policy * missed a letter in the arm build naming * added a missed file in the build directory structure * updated the descriptions for all of the codebuild projects
Author: Ray Allan <[email protected]>
…ot being found (aws#3210) * updated the build infrastructure to build for arm as well as amd archs * added a note about adding more artifacts to be signed and copied * fixing a couple of other things found in review * updated the descriptions for all of the codebuild projects * added a buildspec to pull logs from cloudwatch logs and put them in s3 * give cloudwatch access to write logs to the release bucket * added a logs puller codebuild project that just gets logs from the preceding steps * refactored the adding a new artifact steps to be less wall-of-text-y * resolved an issue where the buildspec wouldn't be found by actions not pulling the whole source
This reverts commit 6f0f7c5e90e8111329e2baa3bc53c32674f4ce58.
This reverts commit 0a867c7710ce53ea3134be9f85eac19fdc79412b.
…-anywhere-install.sh
…h0 if none can be found (aws#498) check ipv4 routes for default network interface, only fall back to eth0 if none can be found
fierlion
changed the title
[WIP] Init agent integration
merge latest ecs-init & initAgentIntegration into dev
May 31, 2022
fierlion
changed the title
merge latest ecs-init & initAgentIntegration into dev
Merge latest ecs-init & initAgentIntegration into dev
May 31, 2022
fierlion
force-pushed
the
initAgentIntegration
branch
from
May 31, 2022 23:07
0bb97fb
to
861f585
Compare
Realmonia
approved these changes
May 31, 2022
prateekchaudhry
approved these changes
Jun 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Our updated build process will build the ecs agent container (complete with cni plugins and pause container), then build the ecs-init binary and finally wrap all that up in either an rpm/deb.
This pr merges the
initAgentIntegration
branch which includes only fully reviewed PRs.Implementation details
For the most part the changed files in
agent/
below add build directive changes to allow us to build for old (<=1.15) and new (1.17) go versions.The changed files in the new integrated
ecs-init/
are mostly to just update the import paths.We also have updates to the vendor directory (from
go mod vendor
).The more substantive changes here are in the following locations:
build-infrastructure/
andbuildspecs/
directories have our codebuild/codepipeline cloudformation templates and the project definitions.Makefile
has multiple new build targets including dockerfree targets and ecs-init targets, as well as end-to-end "integrated" rpm/debian build targets.agent-container/
has the files necessary for the agent dockerfree build processmisc/pause-container/
now has precompiled pause tars included for amd/arm to avoid a dependency onglibc-static
packaging/
has multiple updates to support the integrated build processes -- these build the rpm/deb from scratch without dockerscripts/
also has multiple updates to support both the integrated build process as well as the dockerfree build targets.Testing
the changes have been built and tested using the codepipelines defined in
build-infrastructure
andbuildspecs
; all new targets have been tested in their respective environments (Ubuntu/AL2)updated: rpm/deb integrated builds tested on AL2 and Ubuntu.
New tests cover the changes: no
Description for the changelog
Integrate new/updated build targets and processes.
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.