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.
374 questions
1
vote
1
answer
252
views
How to manage connection strings for CI/CD and local debugging that works for .NET Framework web apps and desktop apps?
We want CI/CD to inject the production connection string into a .NET Framework app.config during deployment.
In source control, we only want test/staging DB connection strings.
Developers should ...
19
votes
7
answers
5k
views
Debugging a performance issue, do I commit the timing code?
I am working in small company, having a lead position in a group of 5. We are developing a C++ application. One requirement is that it needs to run fast.
Today, I noticed one function, say f1(), and ...
0
votes
9
answers
2k
views
Is CI/CD a myth
Perhaps because I'm primarily a coder, I don't understand the benefit of CI/CD, or any related terms such as scrum, agile, etc.
In my opinion, testing can be done locally on development computer;
...
2
votes
1
answer
252
views
How to increase maintainability in CI/CD pipelines
We have an issue of maintainability for our pipelines at the organization where I work, whereby making a change and ensuring the change is tested and bug-free for our customers (other developers in ...
0
votes
6
answers
1k
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 ...
9
votes
3
answers
7k
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 ...
0
votes
2
answers
239
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 ...
3
votes
0
answers
506
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 ...
4
votes
1
answer
214
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 ...
0
votes
2
answers
239
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 ...
-4
votes
2
answers
236
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 (...
0
votes
1
answer
177
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....
0
votes
3
answers
1k
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 ...
0
votes
1
answer
300
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 ...
1
vote
2
answers
98
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 ...
0
votes
1
answer
167
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 ...
0
votes
2
answers
191
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) ...
3
votes
1
answer
791
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 ...
-1
votes
1
answer
91
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 ...
0
votes
1
answer
98
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 ...
-1
votes
2
answers
2k
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 ...
0
votes
1
answer
503
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, ...
2
votes
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 ...
-2
votes
3
answers
211
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 ...
0
votes
2
answers
120
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 ...