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
0answers
8 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 ...
1
vote
0answers
31 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 ...
1
vote
0answers
8 views

Are keys directly under `only` section treated as a union or intersection (or/and)?

From the GitLab CI/CD documentation on only/except it is suggested that the keys directly under the only section of a yaml CI pipeline specification are logically joined by an AND. Regarding only: ...
1
vote
1answer
34 views

Azure DevOps - Conditionally Build and Deploy

Say we have 6 microservices in a monorepo, each with their own CI build pipeline that is currently only building each project and running unit tests. Is there a way to identify which projects have had ...
2
votes
2answers
94 views

How to avoid wasting time/resources in a CI/CD workflow?

Ideally, a team should be able to run all the pipelines on every commit and automatically deploy to production. However, I don't understand how to most effeciently use our resources so that hours ...
0
votes
1answer
24 views

Relation/interplay of deployment pipeline stages (dev-stage-prod) with blue/green deployment mechanisms?

I'm building some new infrastructure in AWS and plan on having separate accounts for dev, stage, and prod environments. I'd like to implement a blue/green deployment strategy at least for production, ...
1
vote
1answer
13 views

What's the equivalent of `heroku container:release web` without using heroku-cli?

I have a bitbucket pipeline that almost working: image: atlassian/default-image:2 pipelines: default: - step: services: - docker script: #Build the ...
0
votes
1answer
73 views

Should I implement Devops on a small project. Is it too big for it? [closed]

Just like the headline suggested, is it too big to implement devOps on a private application I'm solely developing. I mean creating the pipelines, continuous testing and continuous deployment. And if ...
0
votes
2answers
14 views

TeamCity - CI w/ Multi-project .NET solution using SOA build and delivery issues

I have a multi-project .NET solution that I'm trying to set-up with TeamCity (TC) for CI and Octopus Deploy (OD) for CD. I originally set-up TC to pull the latest from SVC, build the solution and ...
1
vote
2answers
20 views

On-Site Octopus Deploy - How to deploy projects in a multi-project solution to different IIS locations

I'm tasked with setting up CI/CD for my company. I'm using TeamCity which I have configured using the Octopus Deploy plugin to create a Nuget package to the appropriate dev server (alternatively, I ...
3
votes
1answer
40 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 ...
1
vote
1answer
29 views

How to use feature toggles and frequent deployment under SOX compliance?

Feature toggles (or feature flags) enable me to deploy unfinished features without comprehensive manual testing of features toggled off. We can toggle the feature on for certain users, try it out, and ...
2
votes
1answer
51 views

Octopus server installation on Linux

I learnt that, Octopus server can be installed on Windows 2008, 2012, 2016 server editions I see msi packages on Download page Can Octopus server be installed on Ubuntu? Can tentacle software be ...
1
vote
1answer
34 views

How to deploy SQL Script in DevOps culture and Rollback situation too?

How we can manage database part in DevOps environment/CICD pipeline, Here taking about the SQL Script. For Example any deployment where Insert and Update SQL's, If we setup in CICD pipeline then I ...
2
votes
1answer
35 views

Recommended Design - Communication among Jenkins + Vault + App

Design A: CD tool communicate with Vault to fetch App secrets on its behalf Jenkins ( CD tool ) computes the Vault path according to the app/project & according to which environment the app will ...
3
votes
2answers
62 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 ...
3
votes
2answers
94 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 ...
2
votes
1answer
17 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. ...
2
votes
2answers
72 views

Git Release branching strategy for Continuous integration and deployment

We have tried multiple branching strategies to adopt CI/CD. Developers develop on the feature branch and then merging to master which get deployed to QA for testing and then master is deployed to ...
1
vote
1answer
33 views

Microservices Deployment Manager

I was wondering how information on deployed applications are kept in real, production environments (yeah, I am a novice) . For example, in a microservices based set up, if 5 microservices-based ...
1
vote
1answer
513 views

Gitlab CI\CD Error: Failed to create container volume for /builds/root Unable to load image

I've installed the Gitlab local server and also install the Gitlab-runner and everything needs to use the CI/CD tools. After that When I run the CI/CD tools to build and deploy the project, it makes ...
0
votes
3answers
122 views

Auto Deploy after push to git

I have some Codeigniter projects on some domains (on the same server), and the project is already in git. How to ensure server gets the new update when I push the code to git? Can anyone explain ...
0
votes
1answer
46 views

How to keep previous containers on docker-compose up?

I am running a CI/CD pipeline that builds my service and ends with docker-compose up -d which brings up the service with a new docker image tag (my-service:tag1). But when I look at docker ps -a the ...
2
votes
0answers
314 views

How to use shared runner (dind) for build stage and runner with shell executor on my server for deploy stage? [closed]

I want to do the build of my image on a shared runner and build it on gitlab registry. then I want to pull that image, on my server using the runner on my server using shell executor. but I face a ...
2
votes
3answers
226 views

What are the best practices of merging dev to master?

We have 2 branches (master/dev) + some feature branches and 2 environments (production/dev). Our team is a very small people. What are the best practices of merging dev to master? Every morning? ...
4
votes
2answers
4k 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 ...
1
vote
2answers
62 views

How to deploy a ZIP or WAR equivalent (built locally via npm)?

I use NPM to build my web project, and it does so nicely to a little ZIP file. Keeps everything nice and light, and I can easily keep bloat down. My current process is to use an FTP client (Win SCP), ...
1
vote
1answer
41 views

How do Django deployments happen on Servers?

I am new to Django six months ago and I learned how to deploy the Django projects to EC2 instances. Basically 1st time when the Django project is deployed to EC2, the instance will be configured ...
1
vote
3answers
61 views

What are the tools you recommend for deploying / automating / organizing vm in the private cloud

I manage a set of virtual servers in a private cloud on vSphere. In this private cloud we have several sets of servers that host several web applications such as: -Webpress web sites -Phone ...
0
votes
1answer
43 views

Release based on restricted timeline with CI/CD

There is possibility that client may want certain functionality or feature to be available based on certain season or specific date/time/zeo location. This could grow more complex based on code logic ...
1
vote
2answers
61 views

Tools used in enterprise level to transfer build artifacts from CI server to live server

I recently learnt some basic devops and set my server on Digitalocean droplet with travis CI. As there is no travis deploy provider supports for Digitalocean, I have to write my own deploy script. ...
3
votes
1answer
141 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 ...
2
votes
0answers
48 views

How to deploy large web app in container minimal data transfer? [closed]

In current deployment of a web app we are using svn to deploy a specific revision from a repository. The amount of data transferred is just the diff between the currently deployed revision and the ...
0
votes
2answers
133 views

Fully enabled End to End CI/CD Solution

I've been working in the field of DevOps for some time now and have learned about some tools like Jenkins, Docker, Kubernetes, Puppet, Artifactory, etc.. Although I know where each of these tools ...
2
votes
1answer
40 views

How to prevent group from deploy to environment but allow same to redeploy?

In our pipeline, the dev team will do multiple releases to their own test environment, when they are satisfied, they will queue a release for test. This signifies to our QA team that the devs are ...
-1
votes
1answer
232 views

CD (Continuous Deployment) best practices for managing configuration [duplicate]

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 ...
6
votes
3answers
312 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 ...
0
votes
1answer
43 views

Advice needed - automate everything or only new/current projects

I watched Klaus Ita Keynote on FreeCodeCamp YouTube channel about devops and got inspired. In previous job we had very good deployment system. We begun with Jenkins and pulling source from SVN, and ...
1
vote
0answers
346 views

Kubernetes Continuous deployment stage in Gitlab Online fails [closed]

I am working on setting up a cloud DevOps deployment pipeline using Gitlab CI online, Kubernetes, and docker. I am following an example post at Continous delivery of a spring boot application with ...
0
votes
1answer
133 views

How do I achieve Continuous Integration and Continuous Delivery (Ci-Cd) via JMeter?

I have prepared the JMeter test script for my project and it tests (both functionally and performance wise) various Rest Apis. I have even coupled it with Jenkins on my local machine and also ...
2
votes
0answers
231 views

Continuous integration azure slow or fails [closed]

Two weeks ago the deployment time for my Azure Bots started to be totally atypical Before it was running between 2-4 minutes max. but since then it takes more than 30mins or most of the times ...
1
vote
1answer
270 views

CI/CD free for hobby side projects. Jenkins on Heroku as alternative, with ephemeral dyno

I have four side projects which are my hobby (NOT A JOB! NOT A WORK!). I work on that at night, when I have time and when I want to. All projects are javascript backend and frontend. Just ...
2
votes
1answer
227 views

Pros and cons of different deploy strategies

I am not sure about the best way to deploy my program. Lets assume i have two relevant branches release(tested and ready to deploy code) and master. I have two options 1.Merge the release to master ...
4
votes
1answer
204 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 ...
2
votes
2answers
1k 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 ...
4
votes
2answers
3k 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 ...
3
votes
1answer
136 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 ...
6
votes
1answer
146 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?
3
votes
1answer
34 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 ...
3
votes
1answer
65 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 ...