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
9 views

EC2 Image builder power shell execution arguments ineffective

I am trying to create a Windows C++ Ci build machine image using EC2 image builder. In order to install the needed MSVC compiler, I use the Visual Studio build tools bootstraper to install it ...
2
votes
1answer
25 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
37 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 ...
0
votes
0answers
17 views

Docker image with mercurial-server service in Bitbucket Pipelines can't connect to another container

I have this bitbucket-pipelines.yml with this description: image: python:3.7.2 pipelines: default: - step: script: - pip install -U tox - tox -r services: ...
0
votes
0answers
17 views

Deploying to a server on-prem from GitHub Cloud

Looking for a recommendation on how to implement GitHub CI/CD. I am not DevOps master, so bear with me. We are looking to move to GitHub this year and would eventually like to take advantage of their ...
0
votes
0answers
38 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
66 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 ...
1
vote
2answers
18 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
19 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
86 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
110 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
23 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
131 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
56 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
50 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
81 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
387 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
198 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
76 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
20 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
695 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
27 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
21 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
41 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
23 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
300 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
120 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
38 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 ...
1
vote
1answer
50 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
18 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
124 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 ...
2
votes
2answers
2k 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
54 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
46 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
219 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 ...
1
vote
2answers
3k 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
458 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
229 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
148 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 ...
3
votes
1answer
2k 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
703 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
81 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
58 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
332 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
480 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
234 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 ...