Questions tagged [cicd]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
15 views

How to manually specify variables for child pipeline in bridge job?

Right now i have this gitlab-ci.yml. stages: - Build - Deploy ... Deploy: stage: Deploy when: manual trigger: services/service1 variables: BUILD_NAME: "${BUILD_NAME}" ...
0 votes
0 answers
10 views

What is the best practice for containerising a cross-platform CI/CD environment?

I'm looking for advice on what the best practice is for implementing a containerized CI/CD environment within GitHub Actions, which supports Windows, MacOS & Linux (Ubuntu) environments, used for ...
0 votes
0 answers
10 views

Why does my merge job always end with everything up-to-date?

I want to merge dev and master branch every midnight and create a logfile of the application date wise. i.e dev-app-dd-mm-yy.log or master-app-dd-mm-yy.log. My app is running on docker and ci is done ...
  • 3
0 votes
1 answer
20 views

Azure Devops solution for max excution time

Azure Devops has a 60 minutes max execution time for pipelines but sometimes my deployment takes much more than this, the pipeline time out and, since is a time out, no further tasks are run in the ...
0 votes
1 answer
27 views

Deployment with manual confirmation of each change

I am new to CI/CD and gitlab. I have a python project for parsing latex book to html and uploading those htmls to online course platform. Without CI/CD my pipeline would look like this: Fix latex ...
0 votes
0 answers
21 views

Dev/prod tagging strategy with large docker images

I am currently implementing a CI/CD pipeline for a machine learning docker image that is to be deployed on a Kubernetes cluster after the image is built and sent to a Harbor image registry. There is a ...
  • 1
0 votes
0 answers
95 views

How to get Kubernetes manifest from the terraform kubernetes provider?

We have all our Kubernetes applications defined in Terraform using the terraform-kubernetes-provider. We're trying to move to a GitOps approach (using ArgoCD) but can't find a way to get Terraform to ...
  • 101
0 votes
0 answers
16 views

Minimize `docker build` execution time inside Docker-in-Docker containers

The use case: We have several "Release jobs" in Jenkins that build and push a Docker image of the application to a docker registry, update the project version in various files and finally ...
  • 13
3 votes
1 answer
103 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. ...
0 votes
0 answers
21 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 ...
  • 101
0 votes
0 answers
15 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 ...
  • 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 ...
  • 111
0 votes
0 answers
19 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/* (...
  • 153
0 votes
0 answers
12 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 ...
  • 1
1 vote
0 answers
82 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-&...
  • 111
3 votes
1 answer
59 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. ...
2 votes
1 answer
161 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 ...
0 votes
2 answers
67 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
1 answer
84 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 ...
  • 101
3 votes
1 answer
239 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 ...
  • 141
0 votes
0 answers
15 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
1 answer
166 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 ...
  • 41
2 votes
0 answers
359 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 ...
  • 21
0 votes
1 answer
83 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
1 answer
424 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 ...
3 votes
1 answer
507 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: ...
  • 325
2 votes
1 answer
413 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 ...
  • 123
0 votes
1 answer
3k 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
1 vote
1 answer
191 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 -> ...
  • 123
0 votes
1 answer
179 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 ...
  • 184
2 votes
1 answer
415 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 ...
  • 323
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 ...
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 ...
  • 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 ...
1 vote
1 answer
104 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,213
1 vote
0 answers
121 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 ...
  • 111
6 votes
1 answer
3k 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 ...
  • 61
1 vote
1 answer
77 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 ...
  • 115
0 votes
1 answer
284 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
1 answer
101 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
1 answer
51 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
2 answers
556 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 ...
  • 101
1 vote
1 answer
139 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&...
  • 121
1 vote
1 answer
162 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 ...
  • 11
8 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 ...
  • 201
1 vote
2 answers
171 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 ...
5 votes
2 answers
510 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
1 answer
90 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
2 answers
240 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 ...
  • 21
2 votes
2 answers
9k 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 ...