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.

Filter by
Sorted by
Tagged with
0 votes
6 answers
188 views

How to use trunk based development when using Scrum [closed]

In Scrum we do a 2 week sprint and ship the features after the sprint. I have heard a lot of good things about TBD, but does it conflict with Scrum? Can anyone share your workflow if it is possible ...
user34401's user avatar
  • 741
0 votes
0 answers
36 views

Automated API Versioning

I did research about this and I'm facing with two challenges: how to handle version deprecation in my CI/CD pipeline, when we have more than one major versions officially functional and others ...
Hirbod's user avatar
  • 1
1 vote
2 answers
238 views

Can 1.0.1 be "applied" in 1.0.0 and in 1.1.0?

Regarding my last question: Can 1.0.1 be launched right after 1.1.0?. I learned that releases can be maintained in parallel using SemVer and it is possible to apply it using Git Flow (Reference: Post ...
lvf23's user avatar
  • 47
4 votes
3 answers
2k views

How to automate version bumping, when version bumping involves changes in source code and a git tag?

I have a small open source package and I'm trying to automate parts of the release life cycle. I am very confused about how to automate version bumps. Here's the relevant information about my version ...
Jagerber48's user avatar
1 vote
2 answers
724 views

When should release versions be bumped?

I want my projects to be SemVer compliant. I follow a trunk-based development approach. I also want to keep things as simple as possible. I assume that each commit on main (default branch) is a ...
ebosi's user avatar
  • 119
0 votes
2 answers
134 views

Does Automated Pipeline Mean CI/CD Pipeline?

I am not sure if I have been using the term wrongly (and including it in my CV), so some inputs from the community will be appreciated. I am not a DevOps, but a noob machine learning engineer. So I ...
Della's user avatar
  • 121
9 votes
5 answers
4k views

Which comes first: CD/Trunk-based development or microservices?

My company* wants to move from using long-running feature branching (~up to a few weeks) to continuous integration with trunk-based development, and to break up our monolith into microservices. We'...
Jacob Archambault's user avatar
3 votes
1 answer
162 views

Best practices for managing software releases with CI/CD with distributed software components running on a customer on-site machine?

I'm looking for some resources on learning how to best manage our software releases in an efficient manner, as our current method slows release schedules down. My current team produces and administers ...
Thomas Smith's user avatar
0 votes
1 answer
1k views

What are the best practices for Github Actions when it comes to splitting a wofklow into multiple jobs?

I'm trying to understand the best practices of Github Actions when splitting a workflow into multiple jobs. First of all, is it generally a good idea to split a workflow if the steps are logically ...
heapOverflow's user avatar
4 votes
1 answer
193 views

I'm adding Windows Home support to my client application. How can I perform automated testing?

My team and I publish a client app as part of our solution. It includes a CLI but there are other components as well. Currently most of us develop locally on MacOS, and as part of our CI/CD we have a ...
data princess's user avatar
0 votes
1 answer
175 views

What is the correct way to deal with Pull Request updates concerning an interface with a Continuous Integration script: rebase or merge?

I work with other Software Engineers on a web app product. Also, the source code is hosted on GitHub. Recently, there was an introduction of a Continuous Integration procedure enabled by a script ...
Pedro Delfino's user avatar
0 votes
2 answers
218 views

If "others have modified components since you checked out the system", what would you do?

In Software Engineering by Pressman: The steps in continuous integration are: Check out the mainline system from the version management system into the developer's private workspace. Build the ...
Tim's user avatar
  • 5,455
0 votes
0 answers
76 views

GitLab repo architecture checks: on server or in CI?

I am currently seeking a solution to run sanity tests on my GitLab repos architecture. There are more than 20 repos in a GitLab group. My idea is to create a "Health Check Repo" (HCR) that ...
vvvvv's user avatar
  • 129
-4 votes
2 answers
162 views

Does Jenkins essentially function like a package manager for your software product?

I'm a relatively new IT Ops guy in a software (web) development company. Recently I deployed a virtual machine on OpenStack, because some developer needs it, and then I installed their application (...
Noob_Guy's user avatar
  • 159
2 votes
0 answers
305 views

Is branch-per-release trunk-based development incompatible with semantic versioning?

For the purposes of this question it will be assumed that the conventional commits spec is used as a version driver for semantic versioning. Given a project is in active development. Releases are ...
GDF's user avatar
  • 29
-1 votes
1 answer
119 views

Do you test your CI/CD scripts? [closed]

Is it common to write test for CI/CD scripts? Background: Some CI/CD jobs/scripts have become rather complex over the years (new features, edge cases) and I believe it would help rewriting them with e....
gebbissimo's user avatar
1 vote
0 answers
200 views

How to provide clang-format config for IDE and build system of multiple projects?

We have several C++ projects that use clang-format and clang-tidy and other similar tools. Currently the config files for these tools are stored in each project's Git repository. Now I'm trying to put ...
oliver's user avatar
  • 111
0 votes
3 answers
824 views

Improve CI process by testing against docker image and fail docker build if test fails

Our CI process goes as this cycle (I think it is quite normal), unit test => build docker image => run function test against the image => if test fails remove the failed docker image, figure ...
Qiulang 邱朗's user avatar
0 votes
2 answers
894 views

Should integration tests run after updating the feature branch from master?

We have a suite of integration tests that take about 2 hours to complete. Currently our flow is that each feature branch runs the integration tests, and only if the branch is updated from master and ...
Moshe Shaham's user avatar
0 votes
1 answer
182 views

Azure DevOps Change nuget.config in CI/CD process

I'm currently working on a project which uses azure function apps, we also create a data access layers for each function app which are built as nuget packages and are then published to a private nuget ...
morris295's user avatar
  • 109
0 votes
2 answers
384 views

How to reset state of exernal services when running Acceptance tests

What are the generic patterns and best practices for resetting state of a database, storage, external service, etc, in Acceptance Tests? I'm struggling with spaghetti, living in acceptance tests. It ...
berkes's user avatar
  • 111
1 vote
2 answers
76 views

How to use release toggles with Acceptance Test Driven Development?

One of the advantages of feature / release toggles is that you can integrate and deploy code without releasing it. But how does that work with ATDD? If I write some tests that are failing, because I'm ...
snowfrogdev's user avatar
-1 votes
2 answers
341 views

Nightly build, GitFlow and PR [closed]

My customer decided to have an automatic nightly build based on develop branch. We usually make a feature branch (and if it is necessary we provide a release compiled manually on that branch) and when ...
AP.'s user avatar
  • 107
0 votes
1 answer
133 views

How to manage concurrent build & test toolchains in (embedded) software development?

TL;DR: How do you manage the complex development toolchain in different (embedded) projects? In our company we are discussing the toolchain setups in different development teams and how to work ...
ThePMO's user avatar
  • 109
2 votes
0 answers
96 views

CI/CD artifacts -- should they include runtime?

It seems best practice is to build the final artifact, in full, at the earliest stage. And then the stages that follow (testing, deployment) should use same artifact throughout, to protect against ...
Coderino Javarino's user avatar
0 votes
2 answers
139 views

Platform that converts Documentation into Unit/Integration Tests? [closed]

I've seen many SO questions around auto-generating unit tests, or documenting unit tests, but I'd like to go the reverse direction. What I'd REALLY like is to have folks (devs, tech writers, etc) ...
aronchick's user avatar
  • 127
1 vote
1 answer
319 views

Python Unit Tests Mocking Imports - Removing Dependencies for CI/CD

I have a project written in python that I would like to create unit tests on. This project has a dependency on a database project which is a sort of abstraction layer to data connections. The issue ...
Simon Nicholls's user avatar
3 votes
1 answer
533 views

Setting up tests and a continuous integration pipeline in a polyrepo environment

In the past I've mainly worked with monorepos, specifically a Vue.js app that was served by a rails backend. Setting up E2E/integration tests in the CI was simple, because all the required parts were ...
Johannes Stricker's user avatar
0 votes
2 answers
185 views

What is the current definition of continuous integration?

It seems that there are at least two possible definitions of continuous integration: Frequent merging of a codebase to a common codebase (e.g. daily merge to the main branch of a VCS server). ...
Géry Ogam's user avatar
-1 votes
1 answer
63 views

Service-specific releases vs Releasing all services on every change

The following applies to a platform/company at an early stage in its life, moving quickly and cheaply with a small engineering team. Imagine a platform with the following components: Cloud ...
Dan's user avatar
  • 207
64 votes
5 answers
19k views

Is the usage of random values in unit testing a good practice? [duplicate]

Having worked in complex solutions that had Unit Tests and Integration Test in the CI/CD pipeline, I recall having a tough time with tests that failed randomly (either due to random values being ...
Vinicius Scheidegger's user avatar
0 votes
1 answer
81 views

Modernizing a legacy source control / deployment infrastructure

I've got a large, old application with a clunky, extremely manual deployment process (essentially, tribal knowledge combined with random scripts / build jobs scattered across servers). The application ...
redsoxfantom's user avatar
2 votes
2 answers
674 views

Integration Testing Stripe Payments - stripe-mock or Stripe's test mode?

I'm building an automated test suite to integration/feature test my organization's Stripe implementation within a GitLab CI pipeline. We're running Laravel 8 and using phpunit for testing. Within this ...
Oliver Lewis's user avatar
-1 votes
2 answers
1k views

Configuration of a staging environment vs production environment

For our software development process we used to set up 3 environments : integration , QA and master. Recently it was decided to add a new staging environment that shall mirror the production ...
Youssef's user avatar
  • 19
7 votes
3 answers
2k views

How to deal with SemVer in a build number based company

My company uses Major.Minor.Patch.Build for our version numbers. When a new release is started, the Major.Minor.Patch part is set. Then as work is done, the build number goes up until a build is ...
Vaccano's user avatar
  • 4,048
0 votes
1 answer
323 views

How to make the tests run faster?

I develop my current project with a very strict approach to TDD and try to make it as close to Kent Beck's TDD By Example book. So right now I've got code coverage of 93%, with 1290 unit test cases, ...
Bawenang Rukmoko Pardian Putra's user avatar
1 vote
2 answers
207 views

Automating performance tests for python code in a CI

My apologies in advance for a question that might seem trivial - I am a mostly solo dev in academic environment and a lot of industry best practices don't necessarily make it here. Several of my ...
Andrei Kucharavy's user avatar
1 vote
3 answers
2k views

Clarifying the steps in a CI/CD, but namely if if unit testing should be done building a Docker image or before

I'm building at a Build and Deployment pipeline and looking for clarification on a couple points. In addition, I'm trying to implement Trunk Based Development with short-lived branches. The process I ...
cjones's user avatar
  • 121
3 votes
1 answer
340 views

Efficiently updating a common repository used by multiple other repositories

Suppose we have a project consisting of many microservices, all of which use a common library. The common library has been put into a separate git repository, and each microservice is also in its own ...
Robin Green's user avatar
  • 1,253
-2 votes
3 answers
150 views

Nightly Builds Test against real database

Is it a good practice to hit actual database for Integrations test(Not prod but pre prod DB) for Jenkins Night builds? The reason I am asking this is because our DAO uses procedures to perform simple ...
Pale Blue Dot's user avatar
2 votes
1 answer
898 views

Which git workflow for micro-services and testing

I would like to know what best practices exists out there with regard to micro services, CI/CD, testing and Git workflow, especially the way of working given the constraints that a) nothing should ...
Tomas's user avatar
  • 137
0 votes
2 answers
99 views

How to address a common problem with automated testing on remote machine

CI/CD options such as bitbucket pipelines and github actions make use of virtual machines called runners. Changes in source code trigger the runners, which in turn trigger a set of commands. The ...
user32882's user avatar
  • 267
8 votes
2 answers
5k views

Should Docker be used in a Windows Production environment?

As my team's microservice architecture grows, as does the pain of manually deploying each individual service in the application. I've played with Docker before and am now learning to leverage the ...
Kurtis Jungersen's user avatar
1 vote
3 answers
296 views

How to create a release while implementing CI?

It may be a pretty simple question, but if I understand the concepts correctly, I can't really grasp how are you supposed to create releases with CI. Basically, if you merge unfinished branches into ...
Adam J.'s user avatar
  • 37
-3 votes
3 answers
401 views

How do you test that an API wasn't broken by a change?

I have an infrastructure package that multiple projects depend upon. This package is supposed to be a stable API shared by those projects. I want to know if a change made in the package has broken ...
Ziv's user avatar
  • 3,016
1 vote
2 answers
237 views

Is this Git flow suitable to manage merges and deployments?

We have prepared a Git flow with teammates, and I wonder if it is sustainable. We want to keep committing on both dev and feature branches. Also, we we want to avoid facing with conflicts during ...
menethil's user avatar
2 votes
0 answers
270 views

Build & deploy individual apps from a monorepo

My Proposed Monorepo Architecture This layout is what I've come up with from reading through tons of articles and being convinced that Nx suits many of our needs where I work. The layout works fine ...
Mazzone's user avatar
  • 121
-1 votes
1 answer
1k views

To lint on the client, or the server?

I am debating two strategies for setting up a linter for my team's github repository. Is strategy #1 standard practice, or not? #1 - Set up a pre-commit hook that runs the linter #2 - My team will ...
Scott's user avatar
  • 11
2 votes
1 answer
3k views

What's the best practice to use semantic-release to update version number in a node.js or frontend project

I'm using semantic-release to auto find out the next version based on the git commit. It's working fine with creating new version, upload to npm and create new git tag. And semantic-release is ...
Jake Lam's user avatar
  • 159
1 vote
2 answers
226 views

Is there a pattern for unit/integration testing where tests that are higher level are intended to act as "gates" for other more specific tests?

The motivating concept here is that the fewer tests you have, the faster your test suite runs. This kinda feels like I'm basically describing smoke tests, but I think smoke tests and other tests are ...
Steven Lu's user avatar
  • 509

1
2 3 4 5
8