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
0 answers
7 views

How to work with krew in Jenkins?

I'm new to jenkins . I have written a jenkins pipeline to create blockchain network using HLF Operator. I've installed kubectl on the vm and used it as node in jenkins. The kubectl commands and other ...
Haaris Khatri's user avatar
0 votes
0 answers
13 views

Strange behavior while listing directories in Jenkinsfile where docker is running as agent

I am running a very basic Jenkinsfile, docker as agent. Below is the Jenkinsfile. pipeline{ agent none stages{ stage('Tomcat version'){ agent{ docker {image ...
rebel_roar's user avatar
1 vote
1 answer
44 views

Github Actions : Reusable workflow across multiple organizations

I have a query in regards with Github workflows. Consider the below scenario : Github Organization 1 : sample_one Github Organization 2 : sample_two sample_one organization has one repository ...
Rezzerk's user avatar
  • 11
0 votes
0 answers
54 views

Tekton run Git-Clone with non-root-user

I am new to tekton I want to clone a public github repo. I created the service account and pv/pvc. However, when I try to run the pipelinerun I got permission denied error. {"level":"...
Kaan Ateşel's user avatar
1 vote
1 answer
47 views

Spacelift - external state access - cannot create a workspace error

I am trying to use Spacelift's external state access however I get the following error: Error: Error loading state error │ │ with module.service.data.terraform_remote_state.environment, │ on ../...
Danielle Murphy's user avatar
0 votes
0 answers
24 views

How to manage a system release containing multiple packages?

What we need to do is be able to find a consistent solution to create a single package (lets call it Master package) that contains multiple packages, check that these packages are compatible with each ...
Stepness's user avatar
0 votes
0 answers
36 views

CI/CD ArgoCD - how can we schedule a nightly build with ArgoCD? So deploy a temporary set of Kubernetes resources

Each night we run a nightly build. A 'docker-compose' stack is deployed, a Test docker container runs the tests. Works fine. We started migrating to Kubernetes with ArgoCD. How can we deploy a ...
tm1701's user avatar
  • 101
2 votes
1 answer
174 views

What are the differences between Azure DevOps (Pipelines) and GitHub Actions?

My team is thinking of switching from Azure DevOps to GitHub Actions, currently we are using Azure DevOps Pipelines to handle code deployments. Our release pipelines are configured in a way where they ...
Eric Swiggum's user avatar
0 votes
0 answers
10 views

Concourse Pipeline Not Retrieving Configuration Values from AWS Secrets Manager

I'm experiencing an issue where my Concourse pipeline isn't picking up configuration values from AWS Secrets Manager. I have set everything up according to the documentation, ensured the necessary IAM ...
Vizeet Srivastava's user avatar
0 votes
0 answers
45 views

Gitlab ci variables disappearing in pipeline run

We have a large, fairly complex set of yaml files that defines pipeline configurations for multiple apps using gitlab ci. A single pipeline consists of a dozen or more separate yaml configs that use ...
Sabien's user avatar
  • 1
0 votes
0 answers
29 views

Helm and cicd in a multi-repository environment: how to introduce a concept of build?

We have a set of microservices stored in multiple repositories which we deploy on k8s. Currently we use a simple cicd which is triggered by commit to repo. The cicd then builds an image, places image ...
MiamiBeach's user avatar
0 votes
2 answers
1k views

GitLab CI: How to properly push file to a repo using ci file?

I'm trying to setup a GitLab CI pipeline which runs a script (convert-inventory-format.sh) that update a yaml file. I would then like to commit that file to a Git repository and push it. However, the ...
DiklaS's user avatar
  • 1
1 vote
0 answers
87 views

Why i cant include a .yml in CI/CD, using rules with mine variables?

Why my pipeline doesn't work? I just want include this .yml if "NATIVE_COMPILE" is "true". variables: NATIVE_COMPILE : "true" include: - project: 'pipelines/cicd' ...
Alan Michel's user avatar
0 votes
1 answer
1k views

How to wait for gitlab downstream pipelines to finish before going to next stage?

I'm not sure this is the way to proceed, but I'm starting using downstream pipelines. I have 3 projects : Project A : web-frontend-1 Project B : web-frontend-2 Project C : global-e2e-testing I'm ...
Lionep's user avatar
  • 113
0 votes
0 answers
36 views

How to run pytorch on gitlab-runner via docker?

I am learning gitlab ci/cd with a AI/Deep learning application in mind. But I wasn't sure how pytorch could be used in a gitlab-runner. According to documentation: The following multi-platform Docker ...
tinlyx's user avatar
  • 111
0 votes
0 answers
578 views

Unsecure container registry declaration in Gitlab CI/CD

I have the following .gitlab-ci.yml file : stages: - publish - deploy variables: TAG_LATEST: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_NAME:latest TAG_COMMIT: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_NAME:$...
baks's user avatar
  • 1
1 vote
1 answer
168 views

What is the point of starting pipeline when MR creating?

Can you explain what the point of starting pipeline for source branch again when I do MR in default branch? I mean, when I did git push before in my feature branch which I want to merge with master, ...
VladF's user avatar
  • 35
0 votes
0 answers
85 views

Azure Veracode Upload and Scan Integration

What are the steps required to integrate a .NET (.NET 6.0) web application with Veracode Upload and Scan task in an Azure CI/CD pipeline? According to Veracode's packaging requirements outlined in the ...
rajasuryars's user avatar
1 vote
0 answers
11 views

How to find failed steps with `gh`

I have a Github Actions workflow which contains several steps that allow continuation on error via continue-on-error: true. It is a scheduled workflow; the steps are independent of each other, and one ...
AnoE's user avatar
  • 4,876
0 votes
0 answers
48 views

Comparison of two CI/CD strategies with k8s deployment previews

I am implementing a new CI/CD strategy across my organization's several dozen repos. The main goal is to move from a dedicated QA environment branch to deployment previews in ad-hoc environments ...
amacrobert's user avatar
0 votes
0 answers
119 views

How to deploy a Docker image from DockerHub to AWS Beanstalk using Gitlab CI/CD?

I am not very familiar with Gitlab CI/CD, Docker (Hub) and AWS but I am trying to deploy a Docker image from Docker Hub to an AWS Beanstalk environment (so basically as a new version to a running ...
user007's user avatar
0 votes
1 answer
194 views

In Gitlab is there a way to automatically change a tag on a ticket when an MR is created and/or when a deployment is completed

In Gitlab we have a flow where our tickets go from "In Progress" to "Code Review" when an MR is created and from "Code Review" to "Ready for Testing" when a ...
Agreene's user avatar
  • 51
2 votes
1 answer
4k views

Run GitLab job only if variable is provided

I have two jobs in my gitlab ci pipeline 'job a' and 'job b'. I want only 'job a' to run if variable x is provided and run 'job b' if variable b isn't provided. Something like this. job a: rule: ...
Alan's user avatar
  • 23
1 vote
2 answers
76 views

Simple CICD workflow for small-scale deployments?

I work for a small startup. We have 3 environments (Production, Development, and Staging) and GitHub is used as VCS. All env runs on EC2 with docker. Can someone suggest me a simple CICD solution that ...
Atharva Unde's user avatar
4 votes
2 answers
783 views

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 ...
James Geddes's user avatar
0 votes
0 answers
133 views

How do I associate a git branch to a kubernetes namespace?

Say I want to map git branches to k8s namespaces, like this: master branch -> prd namespace devel branch -> dev namespace for my Gitlab CI pipeline to deploy helm charts to the right ...
emivespa's user avatar
1 vote
0 answers
38 views

Proper separation of IaC and code deployment via CI / CD

We're about to implement infrastructure-as-code on our project. We already have CI/CD pipelines that deploy: A CloudFormation stack for an ECS service Several CloudFormation stacks for AWS lamdbas (...
DmytroL's user avatar
  • 111
2 votes
0 answers
288 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}" ...
Dmirii Berrington's user avatar
1 vote
1 answer
5k 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 ...
Joao  Vitorino's user avatar
0 votes
1 answer
184 views

Deployment with manual confirmation of each change

I am new to CI/CD and Gitlab. I have a Python project for parsing a LaTeX book to HTML and uploading those HTMLs to our online course platform. Without CI/CD my pipeline would look like this: Fix ...
Ivan Pavlov's user avatar
3 votes
1 answer
432 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. ...
Omar Shazly's user avatar
1 vote
3 answers
71 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 ...
Zephyr's user avatar
  • 111
1 vote
0 answers
95 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-&...
Alberto's user avatar
  • 111
3 votes
1 answer
144 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. ...
Dmitry Sazhnev's user avatar
2 votes
1 answer
424 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 ...
Marin Sagovac's user avatar
0 votes
2 answers
163 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 ...
CIsForCookies's user avatar
0 votes
1 answer
126 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 ...
CarlosSR's user avatar
  • 101
3 votes
1 answer
619 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 ...
Moritz's user avatar
  • 141
2 votes
1 answer
274 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 ...
benCat's user avatar
  • 71
2 votes
0 answers
893 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 ...
Neneil's user avatar
  • 21
0 votes
1 answer
234 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 ...
monz777's user avatar
1 vote
1 answer
1k 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 ...
Enrique Benito Casado's user avatar
6 votes
1 answer
2k 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: ...
mcnesium's user avatar
  • 375
2 votes
1 answer
880 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 ...
shadow's user avatar
  • 123
0 votes
1 answer
8k 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
maria khalid's user avatar
1 vote
1 answer
562 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 -> ...
cyau's user avatar
  • 123
0 votes
1 answer
633 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 ...
Vaccano's user avatar
  • 206
2 votes
1 answer
777 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 ...
JohnFF's user avatar
  • 403
0 votes
1 answer
2k 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 ...
Ta Mu's user avatar
  • 6,812
0 votes
1 answer
42 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 ...
Bosies's user avatar
  • 1