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.
136
questions
1
vote
1
answer
64
views
how to deploy a docker compose project in gitlab CI/CD
New to the Devop world so my terminology may be limited or incorrect. I have a self-hosted gitlab server. I had a "hello world" container project that spun up a "hello world" ...
0
votes
0
answers
26
views
Using IaC for docker image management/update?
I was building a simple infrastructure using terraform (for AWS), I came accross the chicken egg of Lambda functions needing an image to be created. The options I envisioned are two:
1 - I decouple ...
0
votes
1
answer
69
views
Green/Blue Deployments with multiple development teams
I am working in Azure in an AKS cluster environment. The environment has several clusters separated from each other. Each cluster is hosting several containers of services, each of them is developed ...
1
vote
0
answers
38
views
Liquibase - CICD pipeline failure
Question:
Azure CICD pipeline is failing with the below error. There hasnt been any recent changes to the environment/YAML. The "Replace tokens in Liquibase properties" step in the Deploy ...
0
votes
1
answer
41
views
Tool for deployment via series of Powershell Scripts
I am responsible for continuing to develop legacy software. The software is run as a service on a handful of servers. For making a new release of a component of the software the following steps are ...
1
vote
1
answer
81
views
What would be the best approach or tool to deploy one-off SQL scripts?
A vendor is supplying one-off "hot fixes" and I am trying to streamline these deployments best I can. Currently I am going out to an FTP site, downloading the SQL scripts and manually ...
0
votes
1
answer
231
views
Full deployment of Azure Function via bicep
We have a deployment running in an azure devops server and base currently on az cli, now we want to go for bicep. I created bicep definitions for the resources what works easily. But now I got stuck ...
1
vote
1
answer
52
views
Is there a distinction between Flux and GitOps Toolkit?
What is the difference between Flux and the GitOps Toolkit?
Is Flux v2 simply a distribution of the GitOps Toolkit components (such as the source controller for polling/scraping git repos, the ...
2
votes
1
answer
348
views
Best practice multiple pipelines into production
Working with a larger corporate. They are planning on opening a second pipeline for a hybrid mobile app. This second pipeline will be for hotfixes straight into production. My gut feeling is that this ...
0
votes
1
answer
191
views
How are you managing automated deployments with active development on the next release while features are still being tested in QA?
CI/CD tool: Azure Devops Services
Branching Strategy: Git Flow
Build Triggers: Auto build Dev branch on PR merges, Auto build on PR creation
Release Triggers: Create release on every build
Deploy ...
0
votes
1
answer
105
views
Release rollback approaches?
I've got an old monolithic project using MariaDB and PHP that I'm trying to put on CI/CD. The project has DB migrations to update the DB state. My current CD is built on top of AWS CodeCommit + ...
0
votes
1
answer
71
views
How do you deploy a container to AWS Lambda?
I am working on this little project.
https://github.com/jamesgeddes/itsbeginningtolookalotlikechristmas
It's currently a work-in-progress - don't judge!
As you can see, I have configured CircleCI to ...
4
votes
2
answers
1k
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 ...
0
votes
0
answers
371
views
What's the way to add values to helm deployments in Argo?
I want to deploy apps via ArgoCD with Helm and use the provided Helm charts. I also want to specify custom values but in a declarative way (not setting them after deployment with Argo gui or cli). ...
1
vote
1
answer
39
views
Deploying environment secrets to services
I know I can use CD pipelines to deploy an app to a given environment (dev/stage/prod)
Given that each environment should have its own environment variables/secrets for each app, how can I streamline ...
0
votes
1
answer
16
views
Why is the development of a REST-API Webserver Application with less expected changes after its short term initial build a DevOps project?
I am thinking about setting up a project where a one-year development / built phase of a rest-API Server is planned. Providing an initial version in three months and deploying updates every month ...
0
votes
1
answer
580
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 ...
0
votes
3
answers
181
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 (...
0
votes
1
answer
26
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'...
1
vote
1
answer
135
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 ...
1
vote
1
answer
684
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
2k
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:
...
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 ...
1
vote
3
answers
2k
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 ...
2
votes
3
answers
184
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 ...
2
votes
1
answer
2k
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
1k
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
383
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
497
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
200
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
2
answers
79
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
69
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
115
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 ...
4
votes
2
answers
4k
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
353
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
55
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 ...
10
votes
2
answers
27k
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 ...
2
votes
1
answer
1k
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 ...
0
votes
0
answers
29
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 ...
0
votes
1
answer
537
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
178
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
1k
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 ...
3
votes
1
answer
7k
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
44
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 ...
2
votes
1
answer
2k
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
837
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 ...
1
vote
1
answer
470
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
201
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 ...
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 ...
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 ...