Questions tagged [continuous-deployment]

A software engineering approach in which teams keep producing software in short cycles and ensure that the software can be released to production at any time.

Continuous Deployment (CD) is a continuous automation process where deployment of software to production systems is fully automated. This ensures that fixes and new features can be brought to production quickly.

This usually includes having a good set of automated tests to automatically verify the fitness of the software for production use.

See the article Continuous Delivery on Wikipedia for more information.

2667 questions
19
votes
2 answers

Saving cache on job failure in GitHub Actions

I am using the GitHub cache action, but I noticed that the no cache will be created if the job fails. From the docs: If the job completes successfully, the action creates a new cache with the contents of the path directory. A stripped down version…
19
votes
3 answers

Is there a way to test AppSync code locally and/or in CI/CD?

I am looking to dive into a project using AppSync. So far I have been able to find plenty of articles and such online giving all the steps as to what buttons to click in order to get a sample project running, but none of them seem to touch on how…
19
votes
2 answers

Revert commit on remote branch without force pushing

How can I revert some remote repository to an old commit without force pushing and losing history? I know I could do git reset --hard git push -f origin master but I don't have permissions to force push and I also don't want to lose…
bpoiss
  • 13,673
  • 3
  • 35
  • 49
19
votes
2 answers

Amazon Web Service CodeDeploy appspec.yml problems

I have a Node.js application which is being automatically deployed to Amazon Web Service through Codeship using the CodeDeploy AWS deployment system. During the deployment process I've set in my appspec.yml for the currently running web application…
18
votes
1 answer

Not able to see Add->Existing Project as Azure Web Job Option when I right click on Web project in Solution Explorer of Visual Studio 2017

When I right click on the Web Project in the Solution Explorer of Visual Studio 2017, I don't see an option 'Add Existing Project as Azure Web Job'. I did install Nuget-packages such as Microsoft.Web.WebJobs.Publish for the web project. I am…
18
votes
3 answers

How Docker and Ansible fit together to implement Continuous Delivery/Continuous Deployment

I'm new to the configuration management and deployment tools. I have to implement a Continuous Delivery/Continuous Deployment tool for one of the most interesting projects I've ever put my hands on. First of all, individually, I'm comfortable with…
18
votes
3 answers

Continuous deployment & AWS autoscaling using Ansible (+Docker ?)

My organization's website is a Django app running on front end webservers + a few background processing servers in AWS. We're currently using Ansible for both : system configuration (from a bare OS image) frequent manually-triggered code…
17
votes
3 answers

How to programmatically invalidate Bitbucket Pipeline's cache?

I have a node_modules cache in my Bibucket Pipeline and I added new module (eg yarn add react-modal) - how to make Bitbucket pipelines detect new yarn.lock and invalidate its cache?
Marecky
  • 1,924
  • 2
  • 25
  • 39
17
votes
6 answers

How to deploy a create-react-app to a web host (ex. Siteground)?

I'm building a react project using create-react-app and am trying to figure out how to deploy my code to my hosting server on Siteground. Does anyone know the best way to do this? Do I import my build folder through FTP? Can I automate the…
17
votes
2 answers

When should we use a parameter when to use variable in ARM templates

I am confused about where to use a variable and where to use a parameter in ARM templates. How do we make this call ? The referenced script uses both. I am more curious of the justification of using variables. Reference Sample Service Fabric Azure…
17
votes
2 answers

Why would azure be restarting website when i do a deployment slot swap?

I've a .net 4.5 website running on Azure Websites. I've a staging deployment set up. I warm up both sites and then i run the swap process (both from azure portal and from Azure powershell). No matter what I try the swapping process restarts my…
16
votes
1 answer

How to disable displaying "New version of Jenkins (2.62) is available for download (changelog)"?

seems jenkins is getting updated very frequently. I dont want to see those message where jenkins is popping with red button saying "New version of Jenkins (2.62) is available for download (changelog)". any one know how to disable this feature in…
16
votes
3 answers

Continuous Deployment of a NodeJS using GitLab

I have an API developed in NodeJS and have successfully set up continuous integration via a .gitlab-ci.yml file. The next stage is to set up continuous deployment to Heroku if all tests pass on the master branch. There are plenty of tutorials…
Mark Tyers
  • 2,961
  • 4
  • 29
  • 52
16
votes
1 answer

How to get runtime access to version number of a running Clojure application?

I have a web service written in Clojure which is continuously delivered. To allow our automated deployment tools to know which version of the codebase has been deployed, the web service should provide a way to query which version it is. The version…
16
votes
6 answers

Continuous Deployment with TeamCity

I recently set up a CI server in TeamCity and now want to take it to the next step, continuous deployment. Basically, we host a suite of restful services and about 3 web applications for each one of our customers. All customers get 3 environments…
dalcantara
  • 1,613
  • 2
  • 21
  • 35