Questions tagged [continuous-integration]

Continuous-Integration (CI) is the process of merging developer's working code copies to a shared codebase frequently to prevent or minimize integration problems. For questions about a specific CI system like [Jenkins] or [Travis-CI] use those tags instead.

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

Branching strategy and CI/CD

We are planning to use the Git-flow branching strategy with CI/CD. It's a conscious decision not to use Trunk based development. Here's what the pipeline looks like: Here's what the process looks ...
0
votes
0answers
9 views

Setting up PR Build in Jenkins when raised from stash

Setting up a PR request to have a build run in Jenkins. Our source repository is Stash. Essentially, the PR will be from any branch (each developer will create their own branches) to develop I have ...
0
votes
1answer
19 views

Pull request and merge actions in CI/CD

The CI/CD pipeline supports pipelines per branch but no pipeline for feature branches is triggered automatically. There are pipelines deployed for the following branches: development, master. The ...
0
votes
0answers
8 views

How to lunch a Digital Ocean dropplet directly into a container Image?

From a CI pipeline I would like to be able to do the following. Launch a droplet of a specific cpu/ram configuration with metadata to run a specific container image on start up have the droplet run a ...
1
vote
0answers
11 views

Azure DevOps issue with GIT, Visual Studio and Azure (Umbraco)

I am completely new to Visual Studio, .net and Azure DevOps I have a problem with GIT using the GIT bits (rather than CMD), in Visual Studio I have a .Net application (Umbraco), that has been built ...
-1
votes
1answer
26 views

invalid base hashes in `extends` with 'include' — gitlab-ci

I have a huge .gitlab-ci.yml file that I am trying to turn into the "main" ci file by moving some parts to another files which will then be called with the use of the "include" ...
2
votes
1answer
46 views

Using Docker images as vehicles for binary deployment artifacts

Let's say we're in an environment where we have a modern CI/CD pipeline for a number of containerized apps. We also have a number legacy apps which haven't been containerized yet. I'm wondering how ...
0
votes
1answer
20 views

Trigger gitlab downstream pipeline from a upstream pipeline in a multi-project using trigger, rules and custom configuration variables

I have this scenario where I want to run the trigger in build stage only when $FLAG variable has been set by the .pre stage. However, the build stage never runs. How should I conditionally trigger a ...
0
votes
0answers
5 views

How can I provide an unpackaged vendor binary to my build environment?

I want to run CI processes that depend on a vendor application which is released periodically as a new ZIP file (about 500MB), downloaded from behind a login on the vendor's website. When a new ...
0
votes
1answer
10 views

iptables rules to permit GitHub Actions from breaking (chains default to DROP)

Assuming my iptables rules default to DROP on the INPUT and OUTPUT chains, what is the bare minimum set of rules that I must add to my chains to prevent a script running in GitHub Actions from ...
0
votes
0answers
8 views

Deploying angular app to Azure with Github Actions failed. package.json not found

I am trying to deploy an Angular(10) WebApp to Azure with CI/CD using the Github Actions but I get an error saying the package.json cannot be found while running the npm install command. This is my ...
0
votes
0answers
11 views

Can OLTP be an option to mock my database in my CI Tests?

I am working on some .NET applications with a rest API. These comprise both .NET Core and .NET Framework applications. In the CI build process, unit tests are running on Azure Devops Server. My unit ...
0
votes
1answer
28 views

devops - Optomizing gitlab cicd pipeline's caching

I have a gitlab yaml I've been working on for a bit and while everything works it seems like each job takes quite a bit longer than it should. I tend to think the culprit is that npm files are fetched ...
0
votes
0answers
25 views

Automated Benchmarking Environment based on Github Actions/Docker/AWS-EC2

We set up a benchmarking platform that allows to easily run docker containers which execute a (self-written) benchmark program with different encryption libraries and write the measured results to a ...
0
votes
0answers
59 views

How to test a core pipeline repo against another, dependent repo with Azure DevOps PR build validation?

Context In my Azure DevOps project, I have multiple project repos using a common Azure DevOps pipeline. I have accomplished this by defining the pipeline in a core pipeline repo and then referring to ...
1
vote
0answers
14 views

Single Build Command / Continuous Integration

I was reading the Continuous Integration by Martin Fowler article yesterday, the article is from 2006 but I think it is still very applicable today, the statement around a single command stuck in my ...
0
votes
0answers
5 views

How to assign stages each to a different artifact in azure release pipeline (TFVC)

I have one release pipeline that has artifacts from multiple build pipelines. I want to have certain stages using a specific artifact (e.g. dev artifact to dev stage). Note that I am using TFVC. How ...
1
vote
2answers
73 views

gitlab CI job fails after manual ftp deploy (lftp) command completes successfully

Scenario I'm using LFTP to deploy files via sftp. The transfer completes successfully and all files get to the destination but for some reason the job fails. Question How can I find out what is ...
1
vote
1answer
13 views

How to render assets when building a static website with GitLab Pages and Jekyll

I'm using Jekyll to build a static site and deploy it with GitLab Pages. This site is compounded of posts (contained in the site/_posts folder) and refer to other HTML and Markdown documents that I ...
1
vote
1answer
12 views

How to copy library source code from other Git repo to an Android Gradle application GitLab build process?

There is an Android application using Grandle for build. It uses a "library" stated in build.gradle file: dependencies { api project(path: ':specialproject.speciallibrary', configuration:...
1
vote
1answer
27 views

Devops CICD run ReactJS application while testing with jest + puppeteer [closed]

Scenario I'm working on getting my end-to-end tests to work in a GitLab pipeline. Currently all the tests run locally but I'm having an issue getting them to run using GitLab's continuous integration ...
0
votes
1answer
77 views

Gitlab CI push to docker-registry fails

I have GitLab server and a separate docker-registry. I have created a testuser with a testpassword. My .gitlab-ci.yml image: docker:latest services: - docker:18.09.7-dind variables: ...
1
vote
0answers
14 views

Pipeline gitlab showned as “running” even though it isn't

I'm using gitlab CI/CD and I have a pipeline which does the following things : code verification build some test deploy in a test environment (manual) Some more tests If we don't do the deploy, ...
2
votes
0answers
23 views

Gitlab: Always having the possibility to launch a manual job (even if something failed before)

I'm using gitlab-ci. I have a pipeline that has the following steps : code-verification some tests deploy (manual) some more tests rollback (manual) Both the deploy and the rollback job have to ...
0
votes
0answers
4 views

Getting job-id inside a job in Concourse Pipeline

Is it possible to get the current job's ID (or any other metadata for that matter) within a given running job in a concourse pipeline? I saw this documentation of metadata in resources . However, I ...
0
votes
0answers
15 views

TeamCity Error Unable to update database to match the current model because there are pending changes and automatic migration is disabled

During the last step of the build process, I use a command prompt runner to use migrate.exe to migrate the target database to latest based on the code-first models in the solution and I'm getting the ...
2
votes
1answer
38 views

How to specify 'os' for free gitlab runners ('runs-on' equivalent)

How can I specify the operating system in the .gitlab-ci file to indicate which underlying OS on which the gitlab-runner should be running when using the 2,000 minutes of free execution in with gitlab....
2
votes
1answer
50 views

Create pull request for docker dependency package if outdated

Platform: GitHub CI/CD: GitHub Actions Additional technologies: Docker with Ubuntu base image I'm creating a Dockerfile and I need to install a package (such as Terraform). Every time the '...
1
vote
3answers
50 views

Run integration test with ansible playbook using terraform provisioning

Ok so I am totally new to devops! I am an experienced developer, but at my new job I have been tasked to automate CI/CD. Non-existing so far. Only CI with Travis. So the ideal workflow is: Push to CI ...
1
vote
1answer
21 views

Does Buildbot support complicated build/deploy scenarios?

I need a tool/framework for CI/CD which can: Support multi-repository project Build and ship only changed part (frontend/backend) using revison hashes to decide Ship some branches (release candidate ...
5
votes
2answers
69 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 ...
0
votes
0answers
82 views

SonarQube SCA fails on projects without Unit tests\VC++ and on projects where few Unit tests fail. How to fix this?

I finally started using SonarQube for code analysis in my projects recently, by setting up a community version of SonarQube server(offline) and was successfully able to integrate it on 2 of my .Net ...
1
vote
0answers
11 views

How do I add my own package to a GitHub workflow?

I am trying to use the basic .NET Core Github workflow as shown here, but I am having trouble with a GitHub package I created. When the workflow gets to the Install Depedencies which performs a donet ...
0
votes
0answers
31 views

How to deploy docker images on a remote Docker daemon without rebuilding the image

I want to deploy docker images that are built on our GitLab CI runner to a server. I would very much like to avoid rebuilding the images on the server, as the build is very time-consuming. I have ...
0
votes
1answer
43 views

What are the daily job duties of a devops? [duplicate]

I have been working for linux management over 10 years. In the last 5 years, I have added a lot of coding experience through software development like php, ruby, go, etc. I wanna be a devops, but I ...
1
vote
1answer
42 views

Continuous deployment

I have a nodejs application using expressjs. This server is handing a website built on vuejs, an application using angular and another angular app. Everything is working and I deployed to AWS eb using ...
0
votes
1answer
46 views

How comes a GitLab CI/CD job cant' find its artifacts?

In the Open Source ventilator project, we aim to provide those who focus on testing with a ready-to-go flash file for the Arduino controller board. While the binaries seem to be there, for some ...
1
vote
1answer
131 views

What can be considered as an artifact [duplicate]

Recently, I have had a lecture at my university about advanced testing and CI. To understand all concepts, I was searching what artifact represents, specifically in DevOps sphere. I found many ...
2
votes
1answer
40 views

On Premise CI / CD recommendations for Docker images

We have TFS building Docker images, and loading them into a Private Registry on one network, our Development Network. Everything works well, and we are generally happy with the CI process in that ...
4
votes
1answer
39 views

What are best practices for over-committing resources in a staging environment?

Suppose there is a staging environment very strapped for resources as new development, data workloads and other applications grow. Ideally one would like to maintain production parity, even at the ...
1
vote
0answers
142 views

Spinnaker vs GitLab CI

Does Spinnaker have any features that make it worth using on top of GitLab CI (assuming a Gold GitLab plan with all features available)? GitLab seems to support canary deploys, review apps, manual ...
4
votes
1answer
223 views

What is a gating continuous integration (CI) system?

I often find myself in the position of mentioning gating CI systems and I thought it would be good to have a post I can easily reference explaining what that is. So here goes: What is a gating CI ...
2
votes
2answers
41 views

Application version and Database Schema version mapping

I am trying to integrate database schema versioning in an existing project where schema is not versioned at all. Is it a good practice to create a tight mapping between application version and ...
0
votes
1answer
66 views

Mail logs with Jenkins

I am deploying my software on different OS ( Red hat & suse) and I need to know if my latest version of the software will work. In order to check if the installation works it's enough to check ...
1
vote
1answer
269 views

Azure DevOps - Conditionally Build and Deploy

Say we have 6 microservices in a monorepo, each with their own CI build pipeline that is currently only building each project and running unit tests. Is there a way to identify which projects have had ...
2
votes
2answers
131 views

How to avoid wasting time/resources in a CI/CD workflow?

Ideally, a team should be able to run all the pipelines on every commit and automatically deploy to production. However, I don't understand how to most effeciently use our resources so that hours ...
1
vote
1answer
35 views

Building Jenkins pipeline with GitLab info

I am new to DevOps world and desperately looking for your help. We have multiple API depositors in GitLab subgroup, I am trying to establish a CI/CD pipeline, which will connect to GitLab subgroup, ...
1
vote
1answer
587 views

Database Backup using jenkins

I would like to take MSSQL server db backup. Is there any plugin available for it.
0
votes
1answer
48 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
81 views

How to automate installing an ISO in a VM?

We're trying to develop CI/CD processes to automate testing and installing our builds. Ya know, as one does in DevOps. The end result of our build process are ISOs that use Red Hat Kickstart to ...

1
2 3 4 5