Skip to content
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

Issue-332 : Added feature to check whether the deployment is on ECS or Lambda #333

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

waseemahammed
Copy link

@waseemahammed waseemahammed commented Oct 21, 2024

  • Please check if the PR fulfills these requirements
  • The commit message describes your change
  • Tests for the changes have been added if possible (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Changes are mentioned in the changelog (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Bug Fix :
    The code deploy step of Jenkins was set to use "DISALLOW" as default behavior of 'fileExistsBehavior'. This works with EC2 like deployment however, this option is not applicable for ECS or Lambda deployments using code deploy.

  • What is the current behavior? (You can also link to an open issue here)
    The code deploy step of Jenkins was set to use "DISALLOW" as default behavior of 'fileExistsBehavior'. This works with EC2 like deployment however, this option is not applicable for ECS or Lambda deployments using code deploy.

  • What is the new behavior (if this is a feature change)?
    The code will now check whether the deployment platform is ECS or Lambda, if so then will set fileExistsBehavior to null and for EC2 'DISALLOW' as default value.

Issue link here: [https://github.com//issues/332]

  • Does this PR introduce a breaking change? (What changes might users need to make in their setup due to this PR?)
    No

  • Other information:

waseemahammed and others added 5 commits October 21, 2024 22:34
Added check to check whether the platform is ECS or Lambda since fileExistsBehavior is not required in ECS & Lambda but the code is setting this to DISALLOW by default
@waseemahammed waseemahammed changed the title issues 332 : Added feature to check whether the deployment is on ECS or Lambda Issue-332 : Added feature to check whether the deployment is on ECS or Lambda Oct 21, 2024
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.

1 participant