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
0
votes
0answers
8 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
15 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
34 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
94 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
0answers
14 views

Building Jenkin 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 CICD pipeline,which will connect to gitlab subgroup, 1) ...
1
vote
1answer
26 views

Database Backup using jenkins

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

Which CI/CD system do/would space companies like SpaceX use for continuous integration in their devops practice? [closed]

Here is an industry specific question. I have also seen it on Reddit "What is the CI/CD tool at Tesla/SpaceX?" but there is no relevant answer so far. I wonder whether there are, or are ...
3
votes
1answer
31 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 ...
1
vote
2answers
74 views

Jenkins and docker login issue

I am trying to create a Jenkins pipeline that will pull a public image from docker hub and build a Vue.js application inside that container. In my Jenkins server I already have other pipelines that ...
2
votes
2answers
37 views

Jenkins triggered by multiple git repos

I've been looking around to see how to have ~10 different repos all on a git push trigger a single pipeline that does pretty much the same exact thing - build a docker image -except that the different ...
0
votes
1answer
73 views

Should I implement Devops on a small project. Is it too big for it? [closed]

Just like the headline suggested, is it too big to implement devOps on a private application I'm solely developing. I mean creating the pipelines, continuous testing and continuous deployment. And if ...
0
votes
2answers
14 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 ...
-1
votes
1answer
39 views

Last Question on CI-CD edx.org Final Exam [closed]

The problem: An organization is developing a solution that contains a web application project class library projectS You manage a continuous integration pipeline for the application. Each time ...
4
votes
1answer
267 views

Multi-language Monorepo

We currently have a "front-end" git repository that is all of our JavaScript client apps, and a "back-end" git repository containing all back end APIs written in .NET Core. There is also a few other ...
1
vote
1answer
15 views

Serve an application built by the pipeline

In the company that I work, the frontend application is very complex, so one of our layers of testing includes building/serving the application and testing with integrations mocked (The application ...
1
vote
2answers
20 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 ...
1
vote
1answer
20 views

Is it possible to send email notification for Input (GO/NOGO) from a pipeline

There is User input functionality in the declarative pipeline which prompt on the Jenkins console but it's a headache to login every time on console and select the appropriate action. So I want to ...
1
vote
1answer
34 views

How to deploy SQL Script in DevOps culture and Rollback situation too?

How we can manage database part in DevOps environment/CICD pipeline, Here taking about the SQL Script. For Example any deployment where Insert and Update SQL's, If we setup in CICD pipeline then I ...
0
votes
1answer
21 views

Cross-CI on Windows and Mac

I am deploying CI with several runners - however they are all based on the Docker executor on Linux. Is it possible to use Linux runners to test applications on Windows or Mac instead? I understand I ...
6
votes
1answer
172 views

What is the difference between DevOps and GitOps?

I am hearing nowadays a lot about GitOps. What is the difference between DevOps and GitOps? Is it just the SCM does the build and deploy when there is a commit instead of the CI/CD tool exclusively?
3
votes
2answers
94 views

Best way to create a Ci/CD pipeline to reduce bugs and facilitate refactor

I started a project with a small team (3 people ) and we had to hack a lot and built a big application with no unit tests, relying only on manual. Now we have a huge technical debt and we started ...
0
votes
1answer
35 views

Is Cypress ok for acceptance tests on APIs in a CI/CD pipeline?

I have a small team but a gigantic application. We don't have PHP unit testing, so we will be using Cypress as a baseline for quality. Everything will go through a CI/CD pipeline and use regression ...
0
votes
1answer
34 views

Continuous integration using bitbucket pipelines failed for OpenEdx

I am trying to set up CI process using bitbucket pipelines for my Openedx site. The script that i am using in my bitbucket-pipelines.yml file is given below. I am trying to just set up the build ...
1
vote
1answer
17 views

Pooled Build Server and Multibranch development to stabilize the trunk?

I'm a Dev in a big (40+ Devs) old (16+Years) SW project. We still work with SVN as source control but we are getting after automation as much as we can. One problem that hounts us is, that 40 devs ...
2
votes
2answers
72 views

Git Release branching strategy for Continuous integration and deployment

We have tried multiple branching strategies to adopt CI/CD. Developers develop on the feature branch and then merging to master which get deployed to QA for testing and then master is deployed to ...
0
votes
1answer
8 views

Mobile CI: Versioning and Tracking Builds in JIRA

We're in process of defining a workflow for mobile builds across multiple developers. We've only had one until recently, so we didn't have to worry too much about tracking simultaneous feature builds ...
1
vote
1answer
797 views

Git-based CI/CD Pipeline for Monorepo

Are there established CI/CD strategies & best practices for working with a distributed team on a project that is utilizing monorepos? I can provide two specific use-cases: Working on content ...
1
vote
2answers
50 views

How to handle different credentials in continuous integration?

I am using teamcity to automatically build and test a nodejs application. The problem I am facing is that the application needs to have some environment variables set during the build phase, as well ...
1
vote
1answer
34 views

Are using TestContainers safe for integration tests?

I have a discussion with our DevOps about using Testcontainers for integration tests. It's a tool to bring up throw-away containers for testing. The testcontainers need a environment variable ...
2
votes
1answer
126 views

CI platforms versus simple git hooks

Newbie to devops here and apologies this is probably a stupid question, but, what is the point of CI platforms? It seems to me that just by using git hooks I can automatically run all my unit tests ...
0
votes
2answers
1k views

Unable to parse YAML: mapping values are not allowed here

Good morning. I'm migrating from Gitlab to CircleCI and try to map out a simple pipeline ("workflow") that basically should look like this: [build] -> [tests] -> [release*] * only on tags I ...
2
votes
2answers
323 views

How to deploy a desktop application using Azure DevOps?

I'm using Azure DevOps and I need a way to release an internal desktop application. Right now I have a pipeline ready and generating artifacts, but I don't see anywhere in the documentation how can I ...
4
votes
1answer
163 views

Building a CI/CD pipeline on GCP

I have a containerized web application on GitHub and I would like to build a CI/CD pipeline on GCP consisting of a trigger stage, a build stage and a deployment stage and be able to do continuous ...
0
votes
3answers
105 views

How to deploy Node app via Jenkins to Ubuntu(18.04)?

I'm a very beginner in Jenkins and afraid that I ask you something not clear with a weird question. I'd like to deploy my simple node app server to Ubuntu via Jenkins. I tried to write a command in ...
2
votes
1answer
908 views

Is there a [ci skip] option in GitLab CI?

I'm debugging the use of a report creator. I forgot a line and would like to edit the code without triggering the build pipeline. I know that it's possible to write [ci skip] in the commit pipeline ...
3
votes
2answers
513 views

Jenkins Shared lib not working properly

Recently I tried to add Shared Libraries to my Jenkins instance to make it easier to maintain all code that runs in each project. I have a repo myorg/jenkins Inside of it I have Jenkinsfile and ...
0
votes
4answers
79 views

How is Continuous Integration different from using git to integrate external code?

I have a conceptual doubt about CI using Jenkins. I know Jenkins can help me to integrate all code built by developers. So the question is: How is this not already resolved with Github (or any other ...
0
votes
3answers
57 views

How to avoid build scripts duplication

Let's say you've got several code repositories on GitHub. You want to build, test and deploy them. You picked a continuous integration service (e.g. Travis CI, AppVeyor or something else) and wrote ...
2
votes
0answers
314 views

How to use shared runner (dind) for build stage and runner with shell executor on my server for deploy stage? [closed]

I want to do the build of my image on a shared runner and build it on gitlab registry. then I want to pull that image, on my server using the runner on my server using shell executor. but I face a ...
2
votes
3answers
226 views

What are the best practices of merging dev to master?

We have 2 branches (master/dev) + some feature branches and 2 environments (production/dev). Our team is a very small people. What are the best practices of merging dev to master? Every morning? ...
6
votes
2answers
149 views

How should CI/CD deploy to production environment - copy artifacts or git pull from the server?

We have an internal CI/CD server running private GitLab. It has the source code of our NodeJS project. We would like to run CI/CD and have it deploys to our on-premises production server. (Let's ...
1
vote
1answer
14 views

How can I test native macOS UI software in a container before deployment?

As part of the CI setup, I'd like to run (automated) tests on native macOS GUI software in a 'safe environment' (i.e. without messing with the host software installation too much). Virtual machines (...
0
votes
2answers
348 views

What is the cheapest way to get CI for a Qt project?

To build up my portfolio I'm writing an application to showcase all the best practices I'm aware of, including unit tests and continuous integration. The project was originally started in C++, and I ...
-1
votes
1answer
101 views

Maintaining Jenkins configuration with docker

I'm trying to configure CI with Jenkins for my private project. Problem: whenever I start building a pipeline project, it gives me ,,Docker is not found'' error whenever I try to work around this by ...
1
vote
2answers
62 views

How to deploy a ZIP or WAR equivalent (built locally via npm)?

I use NPM to build my web project, and it does so nicely to a little ZIP file. Keeps everything nice and light, and I can easily keep bloat down. My current process is to use an FTP client (Win SCP), ...
0
votes
1answer
211 views

Deploy to GKE from CI server outside of cluster

I'm setting up our CI (Jenkins pipeline) to deploy apps to a GKE cluster. Our Jenkins sever is running external to GKE or any Google Cloud infrastructure. I'm thinking of using a docker image with ...
2
votes
1answer
119 views

How to deal with untested features in the develop branch before deployment?

Our current software deployment lifecycle looks like this (using git-flow); We test locally or on a development environment. We submit a pull-request to merge the feature into the develop branch Our ...
0
votes
2answers
375 views

In Azure Devops and TFS, is it possible to create a build artifact and release definition in a different collection than the original code repository?

I have code repo held in Collection 1 and, using this code repo, I am trying to create a Build artifact and Release definition in a different Collection 2. Is this even possible?