Questions tagged [cicd]

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

From Wikipedia:

In software engineering, CI/CD or CICD may refer to the combined practices of continuous integration and continuous delivery.

More recently the combination of and was expanded to (optionally) cover as well, if/where applicable.

In general such combinations are commonly referred to as CI/CD pipelines.

References

119 questions
11
votes
2 answers

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 push it to a registry Upgrade the app through…
6
votes
2 answers

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 be followed? I have installed the Kubernetes…
Daniel Johns
  • 113
  • 1
  • 5
6
votes
1 answer

Where is the git submodule revision actually stored?

I understand how to use git submodule to reference a specific commit in another repo, but where is that reference actually stored? It doesn't seem to be in .gitmodules as plain text?
Gaius
  • 1,096
  • 10
  • 18
6
votes
1 answer

Where does the string docker.example.com in my GitLab CI job come from?

I am trying to have a Docker image deployed to my server by GitLab CI, but it only worked once¹ and then dies with the error message below. Here is the .gitlab-ci.yml snippet: deploy-image: image: docker:latest services: - docker:dind …
mcnesium
  • 375
  • 1
  • 2
  • 7
6
votes
1 answer

Ansible: register variable with loop

What’s the best way to use registered variable ‘audit_tools’ to check if all items are own by root ? Do I need to use Jinja2 filter or something ? Thanks - name: Verify audit tools are own by root user. block: - name: check if audit tools are…
sudoi
  • 61
  • 1
  • 4
5
votes
3 answers

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 Integration/Continuous Deployment) environment and doing…
5
votes
2 answers

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 Configuration repo with newly built image tags. A…
Slim Shady
  • 153
  • 5
4
votes
2 answers

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 there still a place for versioning APIs if I am…
4
votes
1 answer

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 query service connection API: 'JenkinsURL'. Error…
ankit thakkar
  • 119
  • 4
  • 11
4
votes
1 answer

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 Build the code npm run build run the application nohup…
Sunil Bhoi
  • 61
  • 2
4
votes
2 answers

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 target is to Terraform a Kubernetes cluster in…
4
votes
1 answer

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 somewhere like Nexus or Artifactory where they are…
3
votes
1 answer

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, prioritize and eventually get there. I feel that its not…
VKR
  • 71
  • 1
  • 3
3
votes
1 answer

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 should be a problem that has been solved already, but…
Jon
  • 133
  • 4
3
votes
2 answers

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 implementing CI/CD. Our goal is to start doing…
1
2 3 4 5 6 7 8