-
Notifications
You must be signed in to change notification settings - Fork 117
Include amazon-ecs-volume-plugin in Debian and Generic RPM Packages #433
Conversation
Fixes #431 |
Hi, Could you elaborate on testing performed for this? |
I am not quote sure how to answer this for changes to the packaging of a product... We are running Ubuntu in our environment, and I copied the existing I followed a similar approach with the generic RPM package, except that I ran |
Thanks for the change. I have built the Debian package for 18.04 as well and we have included this in our AMI and we have had this running in ops environments for about a month and production for about a week. We have only needed EFS in our ops environment so far but we build one AMI for all environments so the ECS agent bootstrapping definitely works reliably. |
@mssrivas Do you require anything else from me? You keep releasing new versions which we then manually need to patch to deploy it to our servers. |
@@ -125,8 +125,11 @@ BUILDROOT/ecs-agent.tar: | |||
|
|||
.generic-rpm-done: | |||
./scripts/update-version.sh | |||
curl -O ${AGENT_URL} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why have you added this curl command here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the reason i ask is because my understanding is that the rpm build already knows how to grab this file by referencing the "Source3" and "Source4" in the rpm spec file: https://github.com/aws/amazon-ecs-init/pull/433/files#diff-db47b4ac84229ffbd6d0d4460faf19f18306e70fc7cf7758f3e1197dbdf3b658R40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sparrc,
Thank you for your comment! Unless someone else can fix the generic RPM build, I am going to close this PR and open a new one like my original one (#432) with only the generic deb changes. I see that there have been quite a few changes to the amazon-linux RPM build since opening this one, but I unfortunately do not have the time to read any deeper into the RPM build system.
Is this PR merged and released? |
Summary
This PR ensures the
amazon-ecs-volume-plugin
binary and startup scripts are included in the Debian and generic RPM packages built via the Makefile.Implementation details
Modify Debian and generic RPM build scripts and Makefile.
Testing
Tested on Ubuntu 18.04 Bionic and Red Hat Enterprise Linux 8.4.
New tests cover the changes: no
Description for the changelog
Include amazon-ecs-volume-plugin in Debian and Generic RPM Packages
Licensing
This contribution is under the terms of the Apache 2.0 License: yes