Questions tagged [cicd]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
24 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 ...
0
votes
1answer
30 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 ...
2
votes
1answer
17 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 ...
0
votes
0answers
13 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 ...
2
votes
1answer
102 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 ...
1
vote
0answers
29 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 ...
0
votes
1answer
26 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 ...
1
vote
1answer
36 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 ...
1
vote
0answers
47 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: ...
2
votes
1answer
100 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 ...
0
votes
0answers
15 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 ...
0
votes
1answer
88 views
0
votes
0answers
20 views

CI upgrade vs new secnario verfication

we are creating a new CI system for our k8s services, the services (most of them are API's )are deployed to k8s and on each PR we are trigger our CI process Currently we thought about 2 scenarios ...
1
vote
1answer
43 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 -> ...
0
votes
1answer
31 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 ...
2
votes
1answer
103 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 ...
0
votes
1answer
539 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 ...
0
votes
1answer
33 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 ...
0
votes
1answer
31 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 ...
1
vote
1answer
44 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 ...
1
vote
0answers
84 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 ...
3
votes
1answer
1k 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 ...
1
vote
1answer
60 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 ...
0
votes
1answer
103 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-...
0
votes
1answer
75 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 ...
1
vote
1answer
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. ...
0
votes
2answers
293 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 ...
1
vote
1answer
116 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&...
1
vote
1answer
85 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 ...
6
votes
2answers
1k 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
131 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 ...
4
votes
2answers
231 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 ...
2
votes
1answer
55 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
2answers
112 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 ...
2
votes
2answers
5k 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 ...
3
votes
1answer
402 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
603 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 ...
2
votes
0answers
53 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
172 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 ...
2
votes
1answer
1k views

Database Backup using jenkins

I would like to take MSSQL server db backup. Is there any plugin available for it.
0
votes
1answer
49 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
36 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 ...
3
votes
1answer
175 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, ...
4
votes
1answer
679 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
176 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
700 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
777 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
32 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
128 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
67 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 ...