Questions tagged [continuous-integration]

In software engineering, continuous integration (CI) implements the continuous building and automated testing of the full software product on a frequent schedule. At least once a day, often several times a day and sometimes as often as after every check in to the version control system.

-3
votes
0answers
47 views

Use tags or branches for CI release builds? Or both? [duplicate]

Currently we use a branch "stable" from which our CI takes (by default) the last commit when building a new release. However I also keep seeing people suggest using tags for this, and just use "...
0
votes
0answers
19 views

Efficiently sharing a large node_modules directory between TeamCity build agents

The CI flow for our Node.js app looks roughly like this: Currently, this all takes place in a single TeamCity 'job' with three 'steps' (the Test step runs 4 concurrent child processes). Problems ...
0
votes
0answers
30 views

Packaging for distribution: include CI config and other files the end user doesn't need in the package?

(Disclaimers: I have checked on Google and this site. I have read this answer, which is the only related one I could find here. Additionally, that answer is from 2017, and I wonder if things have ...
2
votes
1answer
95 views

Blue-Green Deployment - What about data updates?

A lot of articles online give very simple examples on Blue-Green deployments. However, how would data update be handled? Say I have a column called Category with values (A, B, C, D). In my next ...
2
votes
1answer
49 views

Is infrequent syncing in DVCS trunk based development similar to a long-lived feature branch in GitFlow?

I'm working on a project and trying to understand the differences and trade-offs between variations of trunk based development and feature branching like git flow so I can help implement an ...
0
votes
0answers
19 views

AWS codepipeline deployment

I currently have an AWS Codepipeline that is setup to automatically pull an Express, NodeJS API and deploy it with Lambda and API Gateway. It pulls the code from my GitHub repo production branch and ...
0
votes
0answers
17 views

Using Azure Artifacts views for hiding in-development packages

My team are looking to push our shared code to a private NuGet feed in Azure Artifacts. At present the plan is to set the package version in our csproj files and set up CI on the master branch of each ...
-1
votes
1answer
77 views

Is it possible to disable all pull request merges into a particular branch while a build is running for that branch?

We are using GitHub and CircleCI. I know that pull request mergeability can be made to be dependent on the most recent commit, using status checks. Is there any way to make it depend on whether or not ...
3
votes
1answer
112 views

Automated Testing: where do I put Selenium?

I'm working on a Java application, it's a middleware between two ticketing webapps. I want to write end2end tests using Selenium to test functionality. Let's say my testing process goes like this: I ...
1
vote
4answers
261 views

Git Flow: should develop branch be unit tested in CI?

We have a Git Flow type workflow (in rails) where our 'testing' (aka develop) branch has feature branches merged into it for UAT. So: master has the current running production system. feature ...
-1
votes
1answer
111 views

Best practice - Single or Multiple source code repository

As mentioned here: The main aim of CI is to prevent integration problems, referred to as "integration hell" Our project is a 3-tier web application, with frontend(Angular 6), backend(Springboot) &...
3
votes
5answers
694 views

How to Differentiate Unit Tests from Integration Tests?

In my C# solution, I have a Tests project containing unit tests (xUnit) that can run on every build. So far so good. I also want to add integration tests, which won't run on every build but can run ...
1
vote
2answers
203 views

Are CCQ (Continuous Code Quality) tools like SonarQube expected to deny version control changes? [closed]

I am getting into SonarQube and everything looks quite and simple so far, but I am not sure what is the final purpose of CCQ overall. Yes it gives you a lot of tips about whats going on inside your ...
1
vote
1answer
35 views

Should I run my tests against production build transforms (i.e. Babel)?

A coworker of mine recently setup testing in a new project (a JS library) where a transform step hooks in to the babel config for Webpack in the production config. For reference, this is the setting ...
4
votes
2answers
326 views

Is it a good idea to lock svn

I have to define the new way of working for a development team which goes from a one man unit, to a distributed team with programmers al over the world. The team will work with svn. This is a non-...
1
vote
2answers
62 views

Any patterns for extracting tooling from multiple repositories?

I'm working on a project where an increasing number of small mini apps all share nearly the same tooling - makefiles, dockerfiles, jenkinsfiles and webpack configs, along with a couple of scripts, are ...
2
votes
1answer
105 views

Would This Workflow Work For a Distributed Team With CI/CD

Because the reaction of @DanCornilescu I understood that my question was not clear. That is why I edited the question heavily. I was brought in on a project where there was only one developer. All ...
1
vote
0answers
23 views

Multiple apk's on Play Store for multiple feature testing

We have different teams working on multiple features. The feature release dates for each team are simultaneous. I want to create a mechanism so that each team is able to push an APK to the Play Store ...
6
votes
3answers
357 views

How to run long (>10 hours running time) verification test for continuous integration of scientific software

This question continues on a previous question asked here about continuous integration for scientific software. Like the poster of that question, I am developing software for numerical simulations and ...
22
votes
6answers
1k views

continuous integration for scientific software

I'm no software engineer. I'm a phd student in the field of geoscience. Almost two years ago I started programming a scientific software. I never used continuous integration (CI), mainly because at ...
4
votes
1answer
677 views

Git Flow w/ VSTS Build Pipelines

I am trying to marry the git flow approach (w/ dev, test, uat, staging, prod env) & automated build and releases in Visual Studio Team System (VSTS). Slightly struggling due to VSTS needing a ...
3
votes
2answers
159 views

How could a test engineer aid test-driven-development in continuous integration?

In an environment where you can't merge code that fails tests you obviously can't merge new, failing tests. But how to deal with a newly found bug exploit, meaning you wrote a new test exposing an ...
5
votes
1answer
479 views

Managing private NPM packages and CI/CD

At work we have an application that is run directly on dev machines, but deployed to Docker swarms (a QA swarm and production swarm). The code and CI/CD pipelines are all in GitLab CE. It uses ...
4
votes
1answer
60 views

How do I automate build-publish tasks for my web server?

I'm developing a node.js web server which will have built source code of server and client part at once. I mean, my web server is on the isomorphic level. this means editing source code of client part ...
1
vote
0answers
108 views

Automate writing of API tests(postman or other)

I am currently using Postman, Newman and Jenkins to automate the process of testing API end points. The API is being written in Node.js and Express.js. Currently the tests I write with Postman are ...
2
votes
0answers
53 views

Where in your pipeline does a company that does X+ of deployments per day deal with running E2E/UA Tests [closed]

The ideal goal for my system is the ability to perform an arbitrary number of deployments per day to production while making sure each 'push' goes through the full test suite to make sure it holds up ...
1
vote
3answers
134 views

How can mainline/trunkd development work when we have multiple versions in prod at the same time?

I am not a developer myself so please bear with me. We are providing solutions for various customers and it is common to have a situation like this: Our customer has a version 1.1, and wants us to ...
1
vote
1answer
154 views

We're having some deployment issues with Git Flow

We support multiple umbraco websites for a client. We have our local dev env, staging and live for each of them. Some time ago we started building and deploying all the websites with appveyor. ...
0
votes
1answer
205 views

How cross platform and different programming languages deployment is done?

I'm interested to know how software deployment for cross platforms as well as different programming languages happen. Like, Customers is on - linux and Windows Languages - Java, .Net, Ruby and ...
2
votes
3answers
258 views

What advantages do daily builds provide specifically over continuous builds in practice?

I have seen this question and do not believe this to be a duplicate What software models are appropriate for daily builds and continuous integration? . I don't fully understand what advantage ...
1
vote
1answer
86 views

Integration of code generators in CI / CD pipeline

In my company, I'm currently working on a project with some (REST) web services involved. The development is based on the OpenAPI specification and the Swagger tooling. The target platform is an ...
2
votes
1answer
73 views

Can we interrupt our service if we use CI/CD

I am a consultant for a large organization. I work with CI/CD. Now sometimes the organization actually interrupts its services for upgrading the systems - I never do that with my own apps (where I use ...
-1
votes
2answers
139 views

Solutions for preventing build breakage

Some background to my question: We have a traditionally windows-only C++ code-base which we are in the process of porting to linux. Parts of the system have been running on linux for many years, but ...
1
vote
2answers
286 views

Why the devops pipeline reads “Code, Build, Integrate, Test”..why build is second?

I might be missing something but I do not get why in the commonly described worklow the Build follows the Code phases. I mean, isn't it the other way around? We code, we integrate the changes, build ...
0
votes
1answer
551 views

Building docker images in Gitlab CI and pushing to AWS ECR.

I want to do something fairly simply in my Gitlab CI pipeline - I want to build the docker image and push it to an AWS ECR repo. I've looked at this Gitlab CI guide and one of the suggestions it ...
4
votes
1answer
383 views

Continuous Deployment Database Project VSTS

Looking for continuous deployment strategies regarding SQL server database projects targeting Azure SQL using VSTS. My scenario... Using VSTS for CI/CD Using a SQL Server Database Project to define ...
0
votes
2answers
297 views

Deploy a NodeJs (FrontEnd) and a Spring (BackEnd) project as one artefact

I have a current project which consist out of two independently developed projects: Spring REST as back end Angular as front end I do have a Jenkins instance available for building my projects and I'...
0
votes
2answers
287 views

Should Java (fat) JARs be published before containerization?

There doesn't seem to be a lot of literature around the best practices when it comes to containerization of Java applications and I'm curious as to what the logical approaches are. It used to be that ...
-2
votes
1answer
135 views

Finding convincing arguments to explain a poorly designed continuous integration pipeline

I'm designing a continuous integration pipeline using Bitbucket & Jenkins with only master and feature branches. I'm failing to find convincing arguments to the fact that my design is better. * ...
0
votes
1answer
312 views

Software Integration Tests Host vs Target

What criteria do you use to decide whether execute a test on target or on host in a sprint? We have integration testing using a server for an embedded system project. We are starting to learn and ...
0
votes
1answer
47 views

How can I do production like deployments using a artifact server that enforces semantic versioning with artifacts that haven't received a version yet?

Just a small bit of background. Right now my team tags release candidates in version control. I've learned that this may not be the best thing to do because we still have to go through user acceptance ...
2
votes
3answers
767 views

Manual testing in the deployment pipeline

Our company still uses a lot of manual testing of software (and this will not change in the coming years). We try to improve our build and deployment process by using a deployment pipeline which ...
5
votes
1answer
1k views

shared CD (Continuous Deployment) for multiple Git repositories

Long story short What is the best way to design a shared CD for multiple Git repositories (frontend and backend)? I'm struggling to find the best design for our CD. The whole picture (The details ...
1
vote
1answer
280 views

How to find out what change broke the build from multiple commits? [closed]

Given that we cannot build on every commit, we end up building from multiple commits. Typically this is about 30 commits to a build. Eventually, we break the build. How does one go about identifying ...
7
votes
4answers
530 views

What does “continuous” mean in “continuous deployment”, “continuous delivery” and “continuous integration”?

What does "continuous" mean in "continuous deployment", "continuous delivery" and "continuous integration"? What is it opposed to? Does "continuous" make "deployment", "delivery" and "integration" ...
0
votes
2answers
107 views

Sync mismatches - CI/CD Pipeline

We are implementing CI/CD in our company and we have a regulatory project which takes a long time to test. There is no way to break it down since the project contains around 300 rules, each of which ...
-1
votes
1answer
114 views

Proper way to deploy and test ASP.NET applications with databases in 2017

I'm currently developing a quite large ASP.NET application which uses SQLExpress as the underlying database. The project is currently under heavy development and is covered with unit tests and ...
1
vote
0answers
101 views

Integration tests in different environments

Our microservices are going to be deployed on AWS, using Pipelines. A step on this pipeline will execute integration tests using a dedicated database on AWS, a MySQL instance. My question is: since I ...
11
votes
2answers
617 views

How is continuous integration organized in large companies?

In my company, it's common not to do any intermediate build to check how each feature/bugfix branch is merged in dev. There is only daily build, which always elicit a lot of test fails and build ...
0
votes
1answer
138 views

Git and continuous integration [duplicate]

After using SVN for years I'm finally trying to learn Git. The tutorial explains how with Git you commit to your local repo for much of the time. I thought Git was supposed to make continuous ...