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
0 votes
1 answer
40 views

Why are Release and Build pipeline separated?

Most of the time I have seen that Infrastructure build and deployment have separate YAML configuration build and release respectively. Why do we do that? What If infrastructure build and deployments ...
  • 3
0 votes
2 answers
30 views

Does Jenkins essentially function like a package manager for your software product?

I'm a relatively new IT Ops guy in a software (web) development company. Recently I deployed a virtual machine on OpenStack, because some developer needs it, and then I installed their application (...
  • 101
0 votes
1 answer
23 views

Continuous deployment question

This question is not in case of kubernetes but when you use servers or docker for deployment using CICD tool like Jenkins or gitlab. In jenkins or gitlab I've agents/runners and in pipeline stages I'...
  • 3
0 votes
0 answers
21 views

Load balancing while deployment

How does a L4 or L7 load balancer knows how to route traffic during deployments. Say, In Canary deployment strategy, how does LB route only 10% traffic to a certain server or in case of Blue-Green ...
  • 101
1 vote
1 answer
27 views

What permission is required to deploy release?

What permission is required to allow a user to manually deploy (or redeploy) a stage in an Azure DevOps Release Pipeline?
0 votes
1 answer
153 views

Is it possible to create multiple tags out from docker-compose?

While creating a CI/CD via Azure Devops, my goal is to push two tags to the artifactory: latest build version (For example 1.0.X) My docker-compose looks like: version: '3.4' services: ...
0 votes
0 answers
14 views

Missing values: gaps during deployments

Some context: I have little experience with ci/CD and manage a fast paced growing application since it saw the light of the day for the first time. It is composed by several microservices at different ...
3 votes
0 answers
713 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 ...
0 votes
0 answers
24 views

Unsupported certificate option "-t" at cpanel terminal

I'm creating a ssh key authentication in the cpanel terminal as recommended by cpanel, So I'll be able to integrate git version control: https://support.cpanel.net/hc/en-us/articles/4404218477207-How-...
0 votes
0 answers
15 views

Deployment strategies and Traffic management

Canary deployments for example redirect a small percentage of the traffic to the updated instances. I can't understand how this is feasible for the final user. If we redirect for example 10% of the ...
  • 1
0 votes
2 answers
485 views

What is the best practice for a multibranch pipeline configuration?

I'm messing around with a multibranch pipeline in jenkins. Currently we have zero pipelines in production and everything is using freestyle jobs which is very sloppy. I have my own multibranch ...
0 votes
0 answers
15 views

Codepipeline , bitbucket cloud, and deployments dashboard

After reviewing this post, https://aws.amazon.com/blogs/devops/aws-codepipeline-build-status-in-a-third-party-git-repository/, I was able to set up feedback from AWS codepipeline in bitbucket and have ...
2 votes
3 answers
51 views

What is the idiomatic way to reload EKS/Kube configs when a new image is pushed to ECR

We are using CircleCI to automate the building of images when merges are detected on our release branch. Those images are then being pushed to ECR, but I am unsure of the best way to refresh some or ...
  • 121
1 vote
0 answers
43 views

What's the best practice for managing / deploying multi-environments in production app?

I'm spinning up a production site and wanted to get advice on the latest best practices to manage and deploy multiple environments. At a high level, I'd like to have a good balance between keeping ...
3 votes
1 answer
147 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) ...
1 vote
1 answer
180 views

Unable to use AWS ECS docker context in bitbucket pipelines deployment step

I'm trying to add a deployment step to bitbucket pipelines that works successfully when I simulate locally but fails when executing the steps in bitbucket. I have created a simple docker image that ...
0 votes
1 answer
173 views

Setting up CircleCI to AWS EC2 for a simple node application deployment

I have a simple node application running on the EC2 instance, everything is working just fine and I want to integrate this application with CircleCI for the continuous deployment. I have been ...
0 votes
1 answer
106 views

Kubernetes deploy workflow

I have an application (Django web app alongside couple of microservices) and have done deployment previously via Ansible tasks. Playbook was invoked from Ansible Tower and essentially breaks down into ...
1 vote
0 answers
23 views

Our code is behind a firewall and we don't want to put source code in cloud. Are there any good CI/CD using local agents for Azure/Github actions

Our source code is in our servers and we don't have approval to put it in cloud. We don't have a seamless CI/CD. Can we use Azure pipeline agents or any local agents to build our code and only export ...
2 votes
1 answer
60 views

Continuous deployment strategies vs DevSecOps

How do you implement security requirements in CI/CD while taking care of security requirements? What are best practices here? Security requirements may differ, let's assume this simple level of ...
2 votes
1 answer
102 views

Should I struggle for minimalistic context in GitLab CI jobs?

I'm designing a build & deploy pipeline for our project. We have two jobs: build -- builds a docker image with our app and pushes it to a container registry. deploy -- communicates with an ...
  • 123
2 votes
2 answers
1k views

Container Image Promotion across environments in ECR/ECS

We have started doing some initial work on deploying containers on ECS Fargate service. However we are not yet completely figured out how to manage our image promotion across different environments. ...
0 votes
1 answer
210 views

Advantages of using Code-pipeline and Codebuild for CI/CD over Bitbucket pipeline?

What are the advantages of using AWS Codepipeline/code build for our pipeline over the bitbucket pipeline. ? Some of the factors that I can think of: Pricing? Pipeline for a serverless application ...
2 votes
1 answer
43 views

Is there a better model for my CI/CD cycle?

I am having some troubles finding a better model for my CI/CD cycle. This is mainly gitflow issue. My current model : We have 2 bitbucket branches : master and develop. Both are linked via webhooks to ...
4 votes
2 answers
8k 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 ...
  • 143
2 votes
1 answer
423 views

Azure Devops - workflow/strategy for uploading only changed files to shared hosting provider after a build of static website (Jekyll)

Scenario: I'm using the Ruby/Jekyll build process to generate a static website from markdown etc files via a templating process -- the same flow as the one used by Github Pages but instead of hosting ...
1 vote
0 answers
23 views

In what time ranges do you verify your canary deployments?

I am currently implementing a canary deployment strategy for the services of an Have you already worked with carary deployments? After which timeframe do you decide to roull out 100%? Which factors do ...
  • 11
0 votes
1 answer
333 views

Pull request and merge actions in CI/CD

The CI/CD pipeline supports pipelines per branch but no pipeline for feature branches is triggered automatically. There are pipelines deployed for the following branches: development, master. The ...
0 votes
1 answer
42 views

How to deploy static website from public repo via Github Actions to private web server

I like to start an open-source project via Github where topics (markdown pages) can be created from the community. Via PR the changes get merged to the main repo and then it triggers a Github Action ...
0 votes
1 answer
925 views

Trigger gitlab downstream pipeline from a upstream pipeline in a multi-project using trigger, rules and custom configuration variables

I have this scenario where I want to run the trigger in build stage only when $FLAG variable has been set by the .pre stage. However, the build stage never runs. How should I conditionally trigger a ...
  • 101
3 votes
1 answer
3k 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 ...
0 votes
1 answer
32 views

Gradual rollout management for client applications

I want to rollout software to clients (1m+) devices in a gradual fashion due to high risk. Ideally i would be able to target users based on analytical data i posses and decide if they should receive ...
  • 101
1 vote
1 answer
815 views

How do I use Jenkins to maintain versioning on a Python project?

An independent Jenkins server monitors my develop branch in Team Foundation Server's Git repository and builds a new package when it's updated. The problem I'm having is that it uses the same version, ...
1 vote
2 answers
508 views

gitlab CI job fails after manual ftp deploy (lftp) command completes successfully

Scenario I'm using LFTP to deploy files via sftp. The transfer completes successfully and all files get to the destination but for some reason the job fails. Question How can I find out what is ...
  • 133
1 vote
1 answer
147 views

How to copy library source code from other Git repo to an Android Gradle application GitLab build process?

There is an Android application using Grandle for build. It uses a "library" stated in build.gradle file: dependencies { api project(path: ':specialproject.speciallibrary', configuration:...
1 vote
1 answer
102 views

Deploying a single-page web application with a java backend on kubernetes and haproxy

My team (full stack) team develops single-page web applications using react as a client and spring-boot java apps as back-end. We deploy the applications on kubernetes. However, we have troubles ...
  • 123
3 votes
1 answer
4k 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 ...
  • 151
2 votes
1 answer
604 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 ...
2 votes
1 answer
57 views

Create pull request for docker dependency package if outdated

Platform: GitHub CI/CD: GitHub Actions Additional technologies: Docker with Ubuntu base image I'm creating a Dockerfile and I need to install a package (such as Terraform). Every time the '...
5 votes
1 answer
3k 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 ...
  • 67
1 vote
1 answer
33 views

Does Buildbot support complicated build/deploy scenarios?

I need a tool/framework for CI/CD which can: Support multi-repository project Build and ship only changed part (frontend/backend) using revison hashes to decide Ship some branches (release candidate ...
  • 21
8 votes
2 answers
3k 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 ...
  • 201
1 vote
1 answer
52 views

Continuous deployment

I have a nodejs application using expressjs. This server is handing a website built on vuejs, an application using angular and another angular app. Everything is working and I deployed to AWS eb using ...
  • 111
3 votes
1 answer
1k 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 ...
5 votes
1 answer
130 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 ...
4 votes
1 answer
66 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 ...
  • 141
2 votes
1 answer
90 views

Bitbucket pipelines: Deployment destination dependent on commit author

I'd like to create a deployment pipeline triggered on PR creation that would deploy to e.g. 'staging1' environment if it's my commit and 'staging2' if it's a commit of other team member (the idea is ...
2 votes
1 answer
69 views

Continuous deployment of package to virtualenv

My colleagues don't want to create their own virtualenv and deploy my tools from git on their own as part of their automation. Instead they want the tools pre installed on a shared server. So I was ...
  • 137
2 votes
2 answers
286 views

Application version and Database Schema version mapping

I am trying to integrate database schema versioning in an existing project where schema is not versioned at all. Is it a good practice to create a tight mapping between application version and ...
4 votes
1 answer
882 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 ...