Questions tagged [cicd]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
91 views

Which CI/CD tool(s) should a DevOps newbie learn?

I'm new to DevOps and I'm learning that: The adoption of containerization and GitOps have been clear trends Some CI/CD tools (e.g. Jenkins X) are more geared toward this trend than others (e.g. ...
user avatar
0 votes
0 answers
13 views

How traffic and scaling is handled when doing canary deployment in ArgoCD?

As the title suggests, I’m confused about when doing canary deployment using ArgoCD:
 What happens if I do - setWeight: 0 and test the canary. Full traffic will be going to the stable pods which ...
user avatar
  • 1
0 votes
0 answers
13 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 ...
user avatar
  • 1
1 vote
3 answers
57 views

How to apply DevOps with just one developer?

Background: I am a self-taught Java developer, focusing mostly on desktop JavaFX applications. I work for a large company and have developed a fairly large piece of software that is relied upon by my ...
user avatar
  • 111
0 votes
0 answers
15 views

Storing the path of changed items in a variable for gitlab CICD

We have a repo with a structure as below (simplified): Root |- vars | |- hostNameX | |- hostVarsForAnsible |- ... We want our pipeline to trigger only when changes are made within /vars/* (...
user avatar
  • 153
0 votes
0 answers
11 views

Question about Jenkins deployment based on .NET Projects

So I was tasked to automate the build/deployment process for our projects and since the project stucure is rather unique, I would like to ask if an automation is even possible in my case. The project ...
user avatar
  • 1
1 vote
0 answers
74 views

From dev to production workflow

We are creating micro services environment which needs to be delivered to prod, now we want to start the CICD design, is there any reference which talks about getting from a Commit ->PR-> tests-&...
user avatar
  • 111
3 votes
1 answer
44 views

Deliver docker container on the server with no internet

I have a project which is written in Python. After I push it's going to be pulled by another team and after that they are going to deliver the project to windows server machine wich has no internet. ...
user avatar
2 votes
1 answer
88 views

Gitlab pipeline + Jump host + execute HELM

What is worked: Steps: directly go to server via SSH (behind the JH) via SSH to another server pull from Artifactory for testing only executing HELM chart to pull from artifactory and deploy on k8s ...
user avatar
0 votes
2 answers
62 views

Recommended starting guide on CICD

I'm new to the community, and I looked around a bit but didn't find a good point to start from. I have a specific problem I want to solve, but while trying to think of a solution I realized I need a ...
user avatar
0 votes
1 answer
71 views

CICD with dockerized web app

I am having troubles understanding the following DevOps concept. I have developed a dockerized web app using docker-compose. It is in my local and I can upload it to any cloud service I want and it ...
user avatar
  • 101
2 votes
1 answer
111 views

Do GitLab Runner worker nodes need to have network access to GitLab?

GitLab runner has an autoscale feature that allows the Runner Manager to dynamically spawn new worker nodes on demand. The documentation says that: "GitLab Runner is going to need to talk to your ...
user avatar
  • 121
0 votes
0 answers
14 views

Salesforce Devops :- Powershell script for fetching aura or lwc folder

I am working with azure devops with salesforce. My query is :- I wrote a powershell script by which if anyone do changes in any single file inside aura component or LWC component folders , the script ...
user avatar
2 votes
1 answer
127 views

Why should I tag a commit to create a release?

I work on a new CICD, replacing Jenkins-X 2 by GitHub Actions. After seeing a lot of actions to create a release + changelog, I found that a lot of them are trigger by a tag on a commit to launch the ...
user avatar
  • 41
1 vote
0 answers
220 views

GitLab CI/CD get CI_MERGE_REQUEST_LABELS after merge successfully

I know that the docs say, that the variable CI_MERGE_REQUEST_LABELS is available if pipeline is a merge request pipeline and the MR is open. My dream was it to label my MR's with patch, minor or major ...
user avatar
  • 11
0 votes
1 answer
48 views

GitLab variable false but job is running

I'm triggering job via API, passing custom variables. Here is example request: curl -X POST -F token=${TRIGGER_TOKEN} -F ref=${branch} -F "variables[SHOULD_COPY_ASSETS]=false" This how job ...
user avatar
1 vote
1 answer
231 views

What means "Reconciliation" from Argo CD

I m looking a metric in Grafana from a official Dashboard from Argo CD, the panel its named "Reconciliation Activity" and use the following metric: argocd_app_reconcile_count I look for a ...
user avatar
2 votes
1 answer
258 views

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: ...
user avatar
  • 315
2 votes
1 answer
251 views

How do I fail a gitlab pipeline job?

I am currently using dependency checker to scan my applications via gitlab This is how my pipeline looks like. dependency_scanning: stage: security_scan script: # Run dependency check on all ...
user avatar
  • 123
0 votes
0 answers
24 views

Gitlab review k8s role with postgres-operator

I want to integrate review enironments of kubernetes cluster and crunchy postgres-operator. I have integrated group k8s cluster with enabled “Namespace per environment” option. My review deploy ...
user avatar
0 votes
1 answer
864 views

ERROR This job is stuck because the project doesn't have any runners online assigned to it. even though i have added runner and it is alive

Despite of the fact runner is alive. Why this error is coming
user avatar
1 vote
1 answer
108 views

Modularizing CI/CD pipelines in Jenkins or in other tools?

I have the following case: There are a couple of repositories (well, two-digit number). Each of them has some sort of (declarative) Jenkins pipeline - it would be one of three types: run tests -> ...
user avatar
  • 123
0 votes
1 answer
84 views

How can I deal with container "patching" in a strict release process?

I am building a new Container and Kubernetes system for my company. Overall it is going well, but container patching has me a bit confused. We follow a fairly strict release process. New versions ...
user avatar
  • 172
2 votes
1 answer
330 views

How to only include directory contents in Azure Publish Artifact without full filepath?

I've been using Azure Pipelines and Releases to build and publish artifacts. In SolutionX, there are projects ProjectY and ProjectYTests. I build everything in the solution (to run the tests) and then ...
user avatar
  • 283
0 votes
1 answer
1k views

How to build, package and deploy a react-native-web app in a Docker container?

Given there is a react-native-web solution, what needs to be done to build it and run inside a Docker container? What is the build environment/toolchain? Which environment is required to run? From ...
user avatar
0 votes
1 answer
40 views

Jenkins and Kubernetes Design Involving GitHub

I am new to DevOps and am currently designing a CI/CD pipeline that involves integrating GitHub webhooks with Jenkins in a Kubernetes environment, and I would like to see whether this is feasible or ...
user avatar
  • 1
0 votes
1 answer
32 views

How to create pipeline with jenkins? [closed]

I followed this tutorial and when i get to 29:32 the option "Build Pipeline View" is not displayed in the list i only get list view and my view.What can be the cause of this ? ( i followed ...
user avatar
1 vote
1 answer
71 views

Sonarqube taking massive amounts of memory

I am running Sonarqube on a monolithic application on our CI server and the scanner (not the Sonarqube server) is taking over 60GB of memory. Is this normal? What can I do so the scanner will not use ...
user avatar
  • 1,153
1 vote
0 answers
109 views

Monorepo manifests image tag replacement in Github Actions

I have a mono repo with NodeJS app (or better said, components of an app). There are 3 apps in the repo, each has its own directory and Dockerfile: /core /worker /frontend There’s also /deployments ...
user avatar
  • 111
5 votes
1 answer
2k views

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 avatar
  • 51
1 vote
1 answer
74 views

gitlab kubernernetes integration: configuring the installed runner

I connected my existing kubernetes cluster to gitlab using the gitlab integration in myproject/operations/kubernetes on the left tab pane in the gitlab gui. After having installed helm + gitlab runner ...
user avatar
  • 115
0 votes
1 answer
227 views

how can I import python module tkinter in gitpod

I can't import pyton module tkinter in my gitpod workspace. My .gitpod.Dockerfile contains: FROM gitpod/workspace-full-vnc USER root RUN apt update && apt install -y python-tk python3-tk tk-...
user avatar
0 votes
1 answer
91 views

Gitlab CI - Deploy to an active docker container

I am running production code within an active docker container. I would like to use the Gitlab CI tool to auto deploy changes to the production environment WITHIN the docker container. I am having ...
user avatar
1 vote
1 answer
48 views

Is there any other approach for tagging git branch using pipeline without credentials in pipeline code?

I was trying to tag a git branch using Gitlab CI. With the help of this answer from this community, How to tag source code using gitlabCI I can successfully tag a git branch from Gitlab CI pipeline. ...
user avatar
0 votes
2 answers
466 views

Gitlab CI - Change branch dynamically

I have a nodeJS application which I deploy with Gitlab CI. When pushing to branch XYZ, the corresponding script runs, let's assume on stage 'dev'. That's working. So far so good. Is it possible to ...
user avatar
  • 101
1 vote
1 answer
129 views

GitLab keeps loading and finally fails when deploying a dockerized node.js app

GitLab Job Log [0KRunning with gitlab-runner 13.2.0-rc2 (45f2b4ec) [0;m[0K on docker-auto-scale fa6cab46 [0;msection_start:1595233272:prepare_executor [0K[0K[36;1mPreparing the "docker+machine&...
user avatar
  • 121
1 vote
1 answer
135 views

golang and circle CI setup

Go and devops are both new things for me. I'd like to setup a CI that tests and builds my module, then stores artifacts for download. In addition it'd be good to cache dependencies for next builds. I ...
user avatar
  • 11
7 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 ...
user avatar
  • 191
1 vote
2 answers
159 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 ...
user avatar
5 votes
2 answers
416 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 ...
user avatar
2 votes
1 answer
75 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 ...
user avatar
1 vote
2 answers
159 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 ...
user avatar
  • 21
2 votes
2 answers
7k 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 ...
user avatar
3 votes
1 answer
462 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 ...
user avatar
  • 131
4 votes
1 answer
773 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 ...
user avatar
2 votes
0 answers
68 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 ...
user avatar
  • 435
2 votes
0 answers
208 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 ...
user avatar
  • 435
2 votes
1 answer
1k views

Database Backup using jenkins

I would like to take MSSQL server db backup. Is there any plugin available for it.
user avatar
  • 41
0 votes
1 answer
54 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,...
user avatar
1 vote
1 answer
41 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 ...
user avatar
  • 435