Skip to content

Conversation

rohkat-aws
Copy link
Contributor

Theses changes will make the current Github repo in sync with current released and Approved Changes

asaf-erlich and others added 17 commits May 11, 2018 14:47
    1. Merging in Deepankar (intern) concurrent deployment changes - Launching a separate ruby thread for executing commands

    Issue he solved: If a CodeDeployment runs for more than 5 mins and the user starts another deployment, it fails after 5 minutes due to timeout as the Agent is busy executing the scripts. These changes makes the Agent    to execute commands on separate threads which fixes the above mentioned issue..

    Original cr shipped for Deepankar: https://code.amazon.com/reviews/CR-320735

    2. Had to make modifications to fix bug: convert single thread.new to threadpool and gracefully shutdown waiting for all threads to finish, otherwise windows agent kills agent on restart in the middle of a deployment step

Dry-run build: https://build.amazon.com/1810132858

cr https://code.amazon.com/reviews/CR-1007891
1. Because windows doesn't know about shebang lines it doesn't know
bin/codedeploy-local must be called with ruby so I fixed it to run with
ruby prefix only if it's windows.
2. The appspec needed to be updated to include all the same hooks as
linux.
3. Moved windows certificate configuration to before the first time aws sts is called instead of later on in the code path

Dry-run build: https://build.amazon.com/1810143965

cr https://code.amazon.com/reviews/CR-1020258
other changes that had to be made to fix the tests to run on CodeBuild

1. Only try to upload to s3 bucket once (since both times are identical)
- otherwise the permissions get messed up because of the assume role
  call
2. Not force permissions to be the shared file credentials so it can use
the instance profile credentials.
3. Update the assume role policy since CodeBuild uses an assumed role so
its role is a new one each time.

cr https://code.amazon.com/reviews/CR-1255775
…commit hash (only available as an environment variable at build time) - this will let TOD check if a build succeeded

cr https://code.amazon.com/reviews/CR-1334262
This fix has been added to ensure that agent safely fails to update or rollback
during an ongoing deployment.Will make sure that our update event is an idempotent
event.

https://sim.amazon.com/issues/P11706277

cr https://code.amazon.com/reviews/CR-1814241
 Prior to this change, We had removed the validation of the signed message
 during https://code.amazon.com/reviews/CR-1228125/revisions/1#/diff.

 This change will address the security concern the AWS Security team had about
 our validation.https://tt.amazon.com/E035418734 has more details.

cr https://code.amazon.com/reviews/CR-2042604
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.9%) to 91.873% when pulling a9026ac on rohkat-aws:master into 528b8f1 on aws:master.

@rohkat-aws rohkat-aws merged commit c3860f7 into aws:master May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants