Questions tagged [cicd]

For questions about Continuous Integration/Continuous Delivery/Continuous Deployment (CI/CD) tools and or processes

Filter by
Sorted by
Tagged with
4
votes
1answer
34 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 ...
1
vote
2answers
77 views

How do we move to a modern CICD approach

This may also be a general pulse; but here lies the issue We use EKS, we have Jenkins, we have Ansible, we have Terraform, we have BitBucket; but none of these really form a pipeline and I'm stuck ...
3
votes
2answers
41 views

What is the way to update images in a configuration git repository when doing gitops?

i'm trying to do gitops I have a Configuration repo containing k8 manifests and different app repos. 1) App repo's CI build docker images and pushes into registry. 2) App repo's CI commits into ...
0
votes
0answers
6 views

Is it possible to run a local shell script on a remote host via AWS SSM?

I'm trying to find any documentation or articles that describe the pattern I'm attempting to achieve, but have had no luck so far. The summary of the situation is: I need to deploy an application to ...
2
votes
1answer
25 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 ...
1
vote
0answers
64 views

Spinnaker vs GitLab CI

Does Spinnaker have any features that make it worth using on top of GitLab CI (assuming a Gold GitLab plan with all features available)? GitLab seems to support canary deploys, review apps, manual ...
0
votes
2answers
38 views

How to check minimum code coverage in pull request changes?

I want to force the developers to write unit tests for all new code they wrote. The code is written in python. I want to do it in the Jenkins pipeline. And here is a question. Is there any available ...
1
vote
2answers
452 views

Error from server (Forbidden): error when retrieving current configuration of: Resource: “apps/v1, Resource=deployments”,

I integrate the existing kubernetes cluster to the gitlab instance (omnibus). I get the below error in the deployment stage of CI/CD pipeline: Error from server (Forbidden): error when retrieving ...
1
vote
1answer
99 views

How do i connect docker pipeline on jenkins to kubernetes cluster

I am trying to setup a pipeline on jenkins that uses docker containers to execute tasks like for example deploy an helm charts using a docker image with helm here is what my Jenkinsfile looks like ...
3
votes
1answer
153 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 ...
0
votes
0answers
11 views

What are alternative CI/CD autoscaling approaches with isolation allowing users running own containers?

Imagine you operate a DevOps platform as an alternative to the situation where every project has to set up their custom DevOps environment from scratch as the only alternative. With GitLab Runner, ...
2
votes
0answers
21 views

Issue with Spinnaker automated trigger

I am trying to get Spinnaker to have a pipeline use an automated trigger which is an image pushed to an ECR repo. I can add different repos fine but can't seem to see the images. I am following this ...
2
votes
0answers
57 views

Spinnaker not showing images in pipeline trigger

I have a Spinnaker pipeline which I am trying to add an automated trigger from an ECR repo. Spinnaker lets me add the docker registry as per the following spinnaker doc link, however I am unable to ...
1
vote
1answer
261 views

Database Backup using jenkins

I would like to take MSSQL server db backup. Is there any plugin available for it.
0
votes
1answer
48 views

Using 32 bit for savings

What are the downsides for CI servers to use 32 bit Docker images? For example, using FROM i386/python:3.6.9-alpine3.9 instead of python:3.6.9-alpine3.9 in Dockerfile. python:3.6.9-alpine3.9 (32 bit,...
1
vote
1answer
27 views

Issue connecting to ECR using Spinnaker on Kubernetes

I installed Spinnaker onto a Kubernetes cluster via Helm. I have tried to add the ECR registry as per the docs and so far not working. I found that the aws cli is missing even though in issue 2394 it ...
2
votes
1answer
79 views

Trunk Based Development - release branch testing

We are currently using Git flow branching strategy and looking to go to a trunk based strategy - although we are quite a ways away from getting there I am trying to get all my ducks in a row, ...
3
votes
1answer
138 views

feature flags vs versioning for APIs

We are looking at moving to a trunk based development branching strategy rather than gitflow that we currently use. I understand that feature flags are crucial to trunk based development. However, is ...
0
votes
2answers
41 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 ...
3
votes
1answer
86 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 ...
4
votes
1answer
194 views

Trigger Jenkins Job from Azure DevOps

I want to trigger Jenkins Job when anyone pushes the code in Azure DevOps Repository. However, when I set up Jenkins Service Connection in Azure DevOps I am getting the following error: Failed to ...
2
votes
1answer
26 views

Multiple Microservices in CI environment

hey we have a GitLab stage and inside that we need to start an environment with several containers we pull from a local registry. We use compose and a docker in docker solution for that at the moment....
1
vote
2answers
44 views

How to mange data access in a CICD pipeline for multiple users with different permissions

TLDR Question; Is it possible to setup a CICD pipeline so that it executes with the permissions of the user who triggered the build? If so which tools support this? Full Question; Apologies if this ...
2
votes
1answer
21 views

How to set a Circle CI environment variable for a project?

I've set the environment variable with a "context" (I have no idea if thats the right place - it's really confusing!) None the less, it's now doing a build - and I don't see the environment variables ...
2
votes
1answer
71 views

Trying to migrate CI/CD process from Jenkins to Gitlab Runner + Docker on Windows

I need to improve the CI process of my projects, which is basically composed of the following things: a Linux server, that contains a Jenkins master a VM with Windows 10, with a Jenkins slave, ...
1
vote
1answer
422 views

Setting up CI/CD for an AWS CDK app using AWS CodeBuild/Deploy/Pipeline

I'm trying to setup a CI/CD pipeline for a dotnet app which uses AWS Lambda and AWS CDK for infrastructure. The source is on github and we have a Jenkins pipeline which runs the tests and publishes ...
3
votes
2answers
136 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
32 views

Can Cypress with cucumber replace php unit and regression tests in CI/Cd pipeline?

Or there a language agnostic unit and regresion testing? My team built an MVP with manual tests only and we got into the inverted icecream antipattern. Now to transform into production we need to fix ...
3
votes
1answer
102 views

Connect external Jenkins Master to GKE with Kubernetes plugin

I find the documentation at https://github.com/jenkinsci/kubernetes-plugin quite unclear when it comes to step by step configuration of external Jenkins master. What are the exact steps that need to ...
0
votes
1answer
12 views

How to build Java project on existing virtual machine in Azure?

In my project we are using Azure DevOps in which we have a pipeline which pulls code from code repository downloads Ubuntu container installs Maven downloads all the dependencies then tries to build ...
1
vote
1answer
642 views

What's are the advantages of using CloudBees Core over Jenkins?

I have tried Jenkins on my own and about to propose an enterprise grade CI/CD product to my development team which is around 40 people. CloudBees Core come at the top of my selected list since it is ...
0
votes
1answer
33 views

CICD using jenkins which is installed in other machine

Suppose I have two machine ( A & B ) and i have jenkins installed in machine A , can I deploy in machine B using Jenkins installed in machine A? I am using Jenkins Multibranch pipeline
0
votes
1answer
233 views

Gitlab CI/CD fails to build docker image

I have built a custom base image from alpine and use it as the base for ruby services that we develop. FROM ruby:2.4.2-alpine ... I use Gitlab and Gitlab's docker registry along with it. Each ...
2
votes
0answers
483 views

Rancher Pipeline: How to pass environment variables from one stage to another [closed]

Currently I am trying to move our existing build infrastructure to Rancher with its CICD pipelines. My main question is: Is it possible to pass environment variables from one stage to another? Our ...
1
vote
2answers
140 views

Trigger a GitlabCI pipeline after it detects a change via a curl callback

I would like to trigger a GitlabCI pipeline that builds a Packer image, whenever there is a new version of a binary released in Github. How could I do that via the ci yaml configuration? Should I ...
1
vote
1answer
559 views

How to integrate firebase functions into devops pipeline

I have a project which has firebase functions From my local I can run firebase deploy --only functions and it will build and deploy firebase functions to firebase. Now I want to enable CICD via ...
2
votes
0answers
42 views

How to add status flags or manual steps to CI/CD process with GitLab Pipelines [closed]

I'm trying to set up a CI/CD GitLab Pipeline with feature branches with various stages of testing, both automated and manual, culminating with an automatic merge to master at the end. I'm struggling ...
0
votes
3answers
192 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
75 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 ...
1
vote
1answer
67 views

Overview of Gitlab CI/CD process for multi-project SOA application. Releasing and Versioning

I have a SOA-application. Each service is a separate project in Gitlab with its own Dockerfile. So, in terms of structure it looks as follows \UserService Dockerfile \src \OrderService ...
1
vote
2answers
319 views

what is better between Jenkins & AWS CodeDeploy for CI/CD

I'm considering what is better and easier to use for CI/CD pipeline between Jenkins and AWS CodeDeploy. e.g. Jenkins server request webhook to git repo(github), and deploy to EC2. e.g. When push to ...
0
votes
2answers
63 views

How do I automate the process of pulling the latest code and restarting a service on git push?

I have an application (Logstash) running on a Linux VM and the settings for it are on a GitLab repo. What I want is for the VM to pull the latest version of the settings file and restart the service ...
0
votes
4answers
84 views

How is Continuous Integration different from using git to integrate external code?

I have a conceptual doubt about CI using Jenkins. I know Jenkins can help me to integrate all code built by developers. So the question is: How is this not already resolved with Github (or any other ...
1
vote
0answers
21 views

Trigger SaaS CI Build (i.e. CircleCI, AppVeyor or Travis) based upon a GitHub Release of a 3ʳᵈ Party Repository [closed]

I want to automate the build of a Chocolatey package every time an author creates a new GitHub release. The specific example I am talking about is the HIBPOfflineCheck plugin for KeyPass2, but it ...
3
votes
1answer
95 views

node js deployment on production server

I wanted to know standard process to deploy nodejs app on production. As of now I am following the process as below Pull the source code git pull git_url Install npm dependencies npm install ...
0
votes
1answer
485 views

How to deploy to Appengine standard from gitlab CI?

How to deploy from Gitlab CI to AppEngine Standard environment?
0
votes
2answers
569 views

In Azure Devops and TFS, is it possible to create a build artifact and release definition in a different collection than the original code repository?

I have code repo held in Collection 1 and, using this code repo, I am trying to create a Build artifact and Release definition in a different Collection 2. Is this even possible?
2
votes
1answer
254 views

VSTS Azure for DevOps: Unit test checking mechanism on pull request

Is there a way in VSTS Azure for DevOps to implement unit test checking mechanism on pull request. The condition is to only allow commits that change something in the unittest folder for example. ...
2
votes
2answers
330 views

Gitworkflow and testing short lived feature branches in Openshift/Kubernetes

Recently my team started adapting git workflow for agile-based delivery, we've been using JIRA, TeamCity and various other CI tools to complete the pipeline. The workflow works great for monolith or ...
5
votes
3answers
179 views

What are tools that lend themselves for backup and recovery in a CI/CD environment?

I have used tar, dump, Amanda, Legato (EMC) Networker and other backup software for making backups of systems. However, I don't know the best tools for making backups in a CI/CD (Continuous ...