question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redeploy: DeploymentBundle Settings are lost

See original GitHub issue

Describe the bug DeploymnetBundle Settings like DotnetPublishBuildConfiguration and DotnetPublishAdditionalBuildArguments in Elastic Beanstalk recipe and DockerBuildArgs in Fargate deployments are not persisted. When doing a redeploy, you have to re-endter these values.

To Reproduce Steps to reproduce the behavior:

  1. In a web project run dotnet aws deploy.
  2. Select Beanstalk
  3. Customize the DotnetPublishAdditionalBuildArguments: "/p:DefineConstants=TEST"
  4. Deploy
  5. Run dotnet aws deploy.
  6. Select previously deployed stack
  7. Notice that DotnetPublishAdditionalBuildArguments is blank.

Expected behavior DotnetPublishAdditionalBuildArguments should have value "/p:DefineConstants=TEST"

Screenshots If applicable, add screenshots to help explain your problem. image

image

Environment (please complete the following information):

  • CLI Version: [eg. 1.0.0] 0.1.1-beta.20210315205437.06db70a
  • Include the output of dotnet --info 5.0.201
  • OS Info: Windows 10

Additional context Add any other context about the problem here.


This is a 🐛 bug report

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ashishdhingracommented, Feb 17, 2023

Appears to be fixed in version 1.10.4:

Current settings (select number to change its value)
----------------------------------------------------
1 . EC2 Instance Type: 
2 . Beanstalk Platform: arn:aws:elasticbeanstalk:us-east-1::platform/.NET Core running on 64bit Amazon Linux 2/2.5.0
3 . Managed Platform Updates: 
	Enable Managed Platform Updates: True
	Preferred Start Time: Sun:00:00
	Update Level: minor
4 . Enable AWS X-Ray Tracing Support: False
5 . Reverse Proxy: nginx
6 . Environment Variables: 
7 . Virtual Private Cloud (VPC): 
	Use a VPC : False
8 . Dotnet Build Configuration: Release
9 . Dotnet Publish Args: /p:DefineConstants=TEST
10. Self Contained Build: False
0reactions
github-actions[bot]commented, Feb 17, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Settings bundle not showing up in iPhone settings
I am trying to add a Settings bundle in my iPad app, but it randomly shows up in the iPad settings menu. When...
Read more >
Quick question on rolling back bundle deployment : r/Netsuite
If you are using any of the fields it has created then you will lose all that data. If it changed any settings...
Read more >
How to deploy bundled applications
A list of options that can be changed is available in the help for the cap task. To see it, run cap -e...
Read more >
Troubleshoot EC2/On-Premises deployment issues
The redeployment fails because even though the application and deployment group names are the same, CodeDeploy still references the ID of the deployment...
Read more >
Use the deployer to distribute apps and configuration ...
The deployer distributes the configuration bundle in response to your command ... You use the deployer to deploy configuration updates only.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found