Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [continuous-deployment]

Use this tag for questions about automatically deploying software to a production environment as part of a CI pipeline. For questions about manual deployment to production use the [continuous-delivery] tag.

Filter by
Sorted by
Tagged with
38 votes
2 answers
19k views

What is an artifact repository?

What is an artifact repository? If it's just a place to store files, can't I just use a source control system?
Dave Swersky's user avatar
  • 4,068
26 votes
5 answers
2k views

How does continuous integration relate to continuous delivery / deployment?

Here is a quote from the current content of continuous-integration: ... process of merging developer's working code copies to a shared codebase frequently to prevent or minimize integration ...
Pierre.Vriens's user avatar
  • 7,205
21 votes
6 answers
2k views

What practices or tools enable Continuous Deployment of Databases?

Continuous Delivery or Continuous Deployment of infrastructure and code is comparatively simple compared to trying the same approaches for databases, specifically RDBMSs. Code and infrastructure will ...
Richard Slater's user avatar
17 votes
1 answer
6k views

A systematic way to test RESTful APIs with curl?

I have noticed during integration testing that I actually work on recurring use cases with restful APIs (or in general HTTP interfaces) I check here and there with bash+cURL. It starts looking quite ...
Ta Mu's user avatar
  • 6,782
13 votes
2 answers
1k views

How to implement the manual step at the end of continuous delivery?

The accepted answer to my question about "How does continuous integration relate to continuous delivery / deployment?" also explains the small difference between continuous delivery and continuous ...
Pierre.Vriens's user avatar
  • 7,205
12 votes
1 answer
566 views

Reconciling Continuous Deployment with strict change management policies

I'm curious how others architect their DevOps practices in a strict change management environment, such as with a Change advisory board (CAB) approval process. I understand that automation can ...
Erik Funkenbusch's user avatar
10 votes
2 answers
24k views

Can I run multiple pipelines in a single GitLab repo using GitLab CI/CD?

I know that I can't have multiple gitlab-ci.yml files in one repo, but it still seems fairly limited. Say for example I have one set of tests I want to run whenever a change is pushed or on PRs, and ...
Christian Legge's user avatar
10 votes
2 answers
6k views

How is it a good practice to version your helm charts for each deployment?

I'm trying to set up a process to release a web app with helm in my company and I can't find a satisfying way. Basically each for each push in a feature branch, I want to: Build a docker image and ...
Ervadac's user avatar
  • 241
9 votes
3 answers
276 views

Hosted CI/CD for iOS that's not in the US?

TL;DR: Do you know of any hosted CI/CD providers for iOS, who have their datacenter/build-boxes in Asia, or at least Europe? (Bonus points if they provide both build and deploy, but build is the MVP.) ...
XML's user avatar
  • 226
7 votes
2 answers
195 views

Does Immutable Servers imply no source code updates on the servers?

So once an Immutable Server is in place, nothing should change at all. Or is it only configuration. Are source code updates acceptable on Immutable Servers?
Basil A's user avatar
  • 173
7 votes
1 answer
339 views

How to automate submission to Amazon Marketplace?

Is anyone aware of a way to automate the submission of an AMI to Amazon's Marketplace? I want to take a public AMI and share it to the AWS Marketplace so it can be scanned for listing and then submit ...
lawnmowerlatte's user avatar
7 votes
1 answer
5k views

How can I deploy an AWS Lambda function from Jenkins?

I have a simple Lambda function that I'm trying to deploy through Jenkins - public String handleRequest(String input, Context context) { String output = ""; if (input.isEmpty()) { ...
Anish Sana's user avatar
7 votes
3 answers
682 views

Continuous Deployment best practices for managing application configuration

My CD pipeline: Get Docker image (created and pushed during CI stage). Copy docker-compose .yml template to target server. Run the app. Let's go straight to the 3rd point. I can run the app using ...
CryptoNewbie's user avatar
6 votes
1 answer
10k views

Changing the build intermediate paths for gitlab-runner

I have a server pointed as ab12.xy24.com in which the projects are placed as: Path-1 /home/ab12/public_html/project1/* /home/ab12/public_html/project2/* ................................ /...
Krishna Chalise's user avatar
6 votes
3 answers
220 views

Autoscaling on GoCD agents without terminating active builds?

At the moment I have an AutoScaling Group (ASG) of GoCD build agents without any scaling policies. I have created some custom metrics that indicate how many build agents are currently idle and I'd ...
user2640621's user avatar
  • 1,395
6 votes
1 answer
6k views

CI/CD for microservices in monorepo on Gitlab

I'm working on a project that consists of several different services in different languages (a React webapp, a Scala backend, some Python stuff etc). I currently have each of these services in ...
langkilde's user avatar
  • 335
6 votes
1 answer
1k views

How can Jenkins help to implement CI/CD for Drupal?

Assume you want to implement continuous-integration (= CI) and continuous-deployment (= CD) for building and maintaining websites using Drupal (let's assume for Drupal Version 7). Often times Jenkins ...
Pierre.Vriens's user avatar
  • 7,205
6 votes
1 answer
5k views

How to properly setup a multi-environment release pipeline in Azure YAML pipelines?

We have just migrated from TFS 2018 to Azure DevOps Services and we're having a hard time trying to figure out the new Azure YAML pipelines. We want to be able to: Run a build/test pipeline when a ...
empz's user avatar
  • 77
6 votes
0 answers
2k views

Kubernetes deployement with minimum disruption to websocket connections

Problem statement: Make a deployment with minimum disruption to clients connected via websockets. Stack: GKE (Regional cluster - 1.22.8-gke.200), helm, Node.js/websockets, HPA, Rolling Update. Our ...
thanosam's user avatar
5 votes
2 answers
249 views

What should I use for configuration management on AWS?

I am trying to find a solution for configuration management using AWS OpsWorks. What I can see is AWS offers three services for OpsWorks Chef Automate Puppet AWS stacks I have read basics of all ...
Parantap Parashar's user avatar
5 votes
3 answers
1k views

What's the relevance of periodicity in CI / CD processes?

Part of what (I think) CI and CD is about, is processes that get repeated over and over again (= the "continuous" part of it). However continuous in this context is not exactly (I think) like a river ...
Pierre.Vriens's user avatar
  • 7,205
5 votes
1 answer
214 views

How to keep many servers (5000+) up-to-date?

Initially asked here: https://stackoverflow.com/questions/60674502/how-to-keep-many-servers-5000-up-to-date-with-git-and-its-rate-limits The initial post: We're making a php service that will run on ...
patrick_vane's user avatar
5 votes
2 answers
15k views

Helm install or upgrade release failed on Kubernetes cluster: the server could not find the requested resource or UPGRADE FAILED: no deployed releases

Using helm for deploying chart on my Kubernetes cluster, since one day, I can't deploy a new one or upgrading one existed. Indeed, each time I am using helm I have an error message telling me that it ...
french_dev's user avatar
5 votes
2 answers
67 views

Recommendations about release convention or standard for Python scripts?

I have a lot of python scripts which I release to a python virtual environment on a remote machine. The virtual environment is rarely updated. The scripts are pulled from a git repository and a ...
Dawn555's user avatar
  • 51
5 votes
1 answer
4k views

What is difference between release and deployment?

What is the basic difference between software release and deploy? What is the relation between software release management and continuous deployment?
rohit.dagur's user avatar
5 votes
1 answer
2k views

Gitlab: Always having the possibility to launch a manual job (even if something failed before)

I'm using gitlab-ci. I have a pipeline that has the following steps : code-verification some tests deploy (manual) some more tests rollback (manual) Both the deploy and the rollback job have to ...
BelovedFool's user avatar
5 votes
1 answer
332 views

AWS CodePipeline staged deployments

I am implementing a CICD pipeline using CodePipeline, CodeCommit, CodeDeploy and CloudFormation (I skipped the build part of the pipeline and am going to commit built code for the moment). I already ...
Kappacake's user avatar
  • 171
4 votes
2 answers
7k views

Deploy to server after merge to master branch

I currently have continuous deployment set up with a Travis CI job. All pushes are sent to the staging server and merges to the master to the production server. The problem is that the deployment to ...
Moritz's user avatar
  • 1,217
4 votes
2 answers
936 views

What is the best way to install ArgoCD as code?

Working on getting a full deployment pipeline set up using GitOps and Everything as Code. I, therefore, need to be able to spin everything up and down with a single click (or pretty close to it!). My ...
James Geddes's user avatar
4 votes
1 answer
1k views

Is GitLab flow (or GitHub flow, etc) anti build-once deploy-everywhere?

Historically, especially in the Java world, build-once, deploy everywhere has been a very big thing for deployments. Artifacts should be built exactly one time when a release is made and stored ...
John Humphreys's user avatar
4 votes
1 answer
78 views

What are best practices for over-committing resources in a staging environment?

Suppose there is a staging environment very strapped for resources as new development, data workloads and other applications grow. Ideally one would like to maintain production parity, even at the ...
user avatar
4 votes
2 answers
216 views

On-Prem and Cloud Deployments

If I have a mix of cloud and "on-prem" (across different networks) systems to deploy to is there a common tool, technique, or software available? I've used Kubernetes for cloud deployments, but am ...
Wesley Rolnick's user avatar
4 votes
3 answers
278 views

How to automatically publish git releases/comments to the site?

Sorry if title isn't correct. I'm trying to figure out what to search for on this matter. I'm looking for the easiest way to automatically have my semantic versioning and commits visible on my site ...
gfrobenius's user avatar
3 votes
2 answers
3k views

Can Ansible alone be a complete CI-CD tool?

I am new to Ansible and was wondering about the capabilities of Ansible. Can Ansible alone be a complete CI-CD tool? Scenario that needs to be implemented: As soon as a developer perform a git commit, ...
Gaurav Parashar's user avatar
3 votes
2 answers
130 views

How to capture tools release to trigger upgrade?

We capture our applications release by using commits from source code management, new package into the artifactory system etc., How can we capture my tools release from vendor so that I will trigger ...
karthikeayan's user avatar
3 votes
1 answer
2k views

Using Azure Devops with Git Workflow

I have used Azure Pipeline for CI/CD on various small projects that I have worked and it has been a great experience. I am working now on a decent size project that has a web app, mobile(xamarin) app ...
Libin Joseph's user avatar
3 votes
1 answer
8k views

GitHub Actions Runner execute commands with sudo GitHub Actions

I have a GitHub action set on self hosted Ubuntu VPS on Linode. I ran sudo ./svc.sh install and then ./svc.sh start. The runner is up and working but I have a command in my yaml file that needs to run ...
Takasur's user avatar
  • 161
3 votes
1 answer
958 views

Combining CD and GitFlow

Firstly, I apologize if the title is not descriptive enough or does not describe my problem well enough. I'm struggling to figure out how to describe my issue in brief! It really seems like this ...
Jon's user avatar
  • 133
3 votes
2 answers
567 views

Best way to create a Ci/CD pipeline to reduce bugs and facilitate refactor

I started a project with a small team (3 people ) and we had to hack a lot and built a big application with no unit tests, relying only on manual. Now we have a huge technical debt and we started ...
Daniel Vianna's user avatar
3 votes
1 answer
210 views

How to handle large deployments using tools like gitlab and docker

How to deploy multiple instances (40+) of the same application with gitlab? (it is a simple tomcat web app) I want to be able to individually upgrade/downgrade them using web interface. We already ...
azeko's user avatar
  • 31
3 votes
1 answer
1k views

Setting up Jenkins and git-server on same server

I want to setup a Jenkins and git on the same server. What I am trying to do: I want Jenkins to be able deploy a folder to another server which runs IIS server (which is running .net). I don't have ...
Nishant sahu's user avatar
3 votes
1 answer
6k views

branch specific jenkins pipeline trigger

I am trying to trigger a jenkins pipeline job only when a pull request has been approved & merged to a specific github branch in our CI/CD implementation. currently whenever i merge a PR to ...
cross_handle's user avatar
3 votes
2 answers
5k views

Git Workflow with User Acceptance and Staging Environments

I'm trying to streamline/standardize a git workflow in my workplace. The current delopment process is as follows: Pull 'development' branch Write code and commit and push to 'development' branch ...
David's user avatar
  • 131
3 votes
1 answer
56 views

trigger command on registry update

I'm fairly new to CI/CD so this is probably a noob question. Anyway, here's my current setup: * Bitbucket repo * Registry service on AWS (ECS Registry) * Pipeline on Bitbucket that builds a docker ...
Simon Ertl's user avatar
3 votes
2 answers
562 views

Cross-Platform Deployment Tasks in Bamboo

Currently most of my deployments are using a dedicated agent and using Robocopy (windows) or SSH (linux/osx). A common scenario for my deployments are copying .dlls from a .net project to a server. ...
Wesley Rolnick's user avatar
3 votes
1 answer
221 views

Continuous delivery workflow: Build script for PHP Composer (Drupal) on Docker

I'd like to set up a continuous delivery workflow for our new Drupal site. When someone pushes to our Git repo (typically) master branch, a build job on our CI server is triggered. This job will check ...
protoken's user avatar
  • 133
3 votes
1 answer
95 views

What are the security risks of CD in an open source project?

In the processes of setting up continuous deployment for an open source project with Travis I came across a predicament, can the encrypted private key be easily exfilitrated? For context, the ...
Moritz's user avatar
  • 1,217
3 votes
2 answers
130 views

Is Azure WebDeploy safe for production Web Apps?

We use Azure Web Apps in production. We deploy using WebDeploy either by right-clicking the project in Visual Studio and choosing "Publish..." or via CI in AppVeyor, which is WebDeploy ready. My ...
Scotty H's user avatar
  • 131
3 votes
2 answers
73 views

Build user for Visual Studio Online

Using visual studio online, do I need a separate user for the purpose of ferrying code/builds across machines. I understand that the built in service account builds code and can publish, but with ...
xtreampb's user avatar
  • 433
3 votes
1 answer
886 views

Incorporating python linter(flake8) in the CI/CD pipeline that use GitHub, Github Actions in a code base that is not in compliance

I have a codebase that is not in compliance with flake8. The CI/CD pipeline uses GitHub/GitHub actions. I would like to start adding python flake8 (to check for complexity, errors and code smells) ...
MasterOfTheHouse's user avatar