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

deploy eb package from folder (instead of requiring a zip file as an input) #107

Open
augustoproiete opened this issue Feb 27, 2020 · 3 comments
Labels
feature-request A feature should be added or improved. module/cli-ext p3 This is a minor priority issue queued

Comments

@augustoproiete
Copy link

My team follows a common deployment workflow where binaries are built once, deployed to a testing environment, and at a later time (after passing tests) the same binaries are then deployed to other environments - the only difference between environments are configuration settings stored in files that are included in the deployment package itself, and are updated at deployment time.

image

Our process is all automated in our CI/CD pipeline, and we use dotnet eb package to create the .zip file that (at a later time) is deployed to the different environments via dotnet eb deploy-environment --package.

Given configuration settings differ between environments, we are required to unzip the package created by dotnet eb package just before deployment, in order to perform variable replacement in config files, run XSD transforms, etc. to prepare the configuration settings to match the target environment.

At this point, we have a folder with all the files in the desired state to be deployed to the target environment.

Because dotnet eb deploy-environment --package requires a .zip file as an input, we end up creating a new .zip file with the contents of the folder and deploy the new .zip file.

It would be useful if dotnet eb deploy-environment --package could take a folder as an input, as an alternative to taking a .zip file.

@ashishdhingra ashishdhingra added feature-request A feature should be added or improved. module/cli-ext needs-triage This issue or PR still needs to be triaged. labels Jul 31, 2020
@github-actions
Copy link

github-actions bot commented Aug 1, 2021

We have noticed this issue has not recieved attention in 1 year. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Aug 1, 2021
@normj
Copy link
Member

normj commented Aug 3, 2021

I think having the tool check to see if the path pointed to by the --package switch is a directory and if so zip it up sounds like a reasonable feature request. Would you be interested in submitting a PR for the feature request?

@ashishdhingra ashishdhingra removed the needs-triage This issue or PR still needs to be triaged. label Aug 4, 2021
@github-actions
Copy link

github-actions bot commented Aug 5, 2022

We have noticed this issue has not received attention in 1 year. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Aug 5, 2022
@ashovlin ashovlin removed the closing-soon This issue will automatically close in 4 days unless further comments are made. label Aug 5, 2022
@ashishdhingra ashishdhingra added needs-review p2 This is a standard priority issue labels Dec 5, 2022
@ashishdhingra ashishdhingra added p3 This is a minor priority issue queued and removed needs-review p2 This is a standard priority issue labels May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. module/cli-ext p3 This is a minor priority issue queued
Projects
None yet
Development

No branches or pull requests

4 participants