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
44
votes
7answers
4k views

What's the difference between DevOps and Automation?

I see that whenever someone does DevOps, it's mostly about automating things like deployment etc. But where does automation end and DevOps begin?
28
votes
4answers
8k views

How to properly scale Jenkins?

In my project we have one AWS server running Jenkins Master + 1 Jenkins slave (2 executors)... and we need more In order to augment our build power we have three options: Scale up: Make AWS instance ...
20
votes
4answers
1k views

How does continuous integration relate to continuous delivery / deployment?

Here is a quote from the current content of continuous-integration: ... process of merging developer's working code copies to a shared codebase frequently to prevent or minimize integration ...
20
votes
5answers
1k views

How to avoid continuous integration-caused instabilities in test environments?

Assume you're using continuous integration processes which frequently update some target environments, so that every time there are some changes "you" can test your changes right away. That's part of ...
17
votes
4answers
19k views

How to tag source code using gitlabCI

We got gitlab new to our environment and trying to create some CI CD pipelines using gitlab CI. I have got some better progress with running some maven goals, creating pipelines and archiving ...
15
votes
4answers
350 views

How to transition from a complex branching reality to a single-branch model?

In large organisations, using the waterfall methodology typically results in very complex branching structures (aka branch spagetti). What branching strategies can be used to transition from a ...
14
votes
3answers
954 views

Simple CI/CD Containers in AWS

I am using AWS Code Pipeline, Code Build to create a new Docker container and push it to ECR. My application is a simple straight-forward single-container based. What would be less friction approach ...
14
votes
2answers
152 views

How can I keep track of my Cloud Resource use?

I am trying to automate my AWS application deployment with Jenkins. Right now if we want to update the application in any of the environments, say UAT, we build our docker images, find the current ...
13
votes
2answers
316 views

Continuous Integration infrastructure for multiple iOS projects

As a iOS developer, I was looking to create a CI and CCQ (= Continuous Code Quality) infrastructure for the iOS projects we have in development so far. We already use Jenkins and SonarQube for almost ...
12
votes
3answers
4k views

What are best practices for docker tag versioning?

I've recently hooked our CI servers up to build docker images upon git commit. We have about 8 different containers that get built, each with their own language / frameworks. Some are node and have ...
11
votes
3answers
1k views

What are the main differences between Jenkins and TeamCity if one is used to working with Jenkins?

These tools seem to share very similar characteristics. How complicated would it be to start using TeamCity after getting used to working on Jenkins? Are there specific concepts one needs to be ...
11
votes
1answer
129 views

Problem in integrating Travis-CI with core PHP projects [closed]

I am trying to integrate my project coded in core PHP, with Travis-CI but it always fails. Travis reports a failure even when I have only one file in my project. PHP file Code : <?php phpinfo(); ?...
11
votes
1answer
1k views

What is “Push on Green”?

Within Google and other DevOps organisations, they talk about "Push on Green" which I am lead to believe is the practice of continuous delivery based upon a successful run of automated tests, and ...
11
votes
1answer
678 views

Is Elastic Beanstalk suitable for enterprise-grade CD?

I'm working with a project that's using Jenkins to build and deploy microservices to Elastic Beanstalk. We deploy an integration branch to a test environment, release branches to a staging environment,...
10
votes
5answers
442 views

Is there a CI tool that guarantees no regressions in the branch quality level?

Traditionally CI systems only perform monitoring of the quality levels in an integration branch, by performing QA verifications on the codebase where the changes are already committed, watching for ...
9
votes
2answers
311 views

What CIs could build libraries written in C++/VBA and .NET (C#) projects?

I work in the IT department of automation/dev company and we are just about to implement/add CI into our set of tools. And we are having difficulties to choose the one. At the moment we've been ...
9
votes
3answers
242 views

Hosted CI/CD for iOS that's not in the US?

TL;DR: Do you know of any hosted CI/CD providers for iOS, who have their datacenter/build-boxes in Asia, or at least Europe? (Bonus points if they provide both build and deploy, but build is the MVP.) ...
8
votes
2answers
280 views

Data Science pipelines and monolitic model blobs

Normally, one important topic in DevOps is how we take care of automated creation and delivery of software artefacts. With the rise of data science there is a new type of artefact - monolitic binary ...
8
votes
3answers
140 views

Should developer wait for CI pipeline to complete or start next task after pushing

My company is integrating CI/CD, so far we have implemented CI from what I understand. Currently when a developer pushes code to our git repo, the CI pipeline runs. Currently our CI pipeline include ...
8
votes
3answers
190 views

What's a good devops approach for a single developer writing python web applications?

I'm guessing this question will seem incredibly trivial for some readers, but as someone who is a developer but with little experience of deploying apps in anything other than a manual, hit and hope ...
8
votes
2answers
2k views

JFrog Artifactory or JFrog Bintray , when to use one over the other?

We are actually looking for a package management system for our project. The target is simple, have a centralized system to keep our packages ( apps and middlewares ) and use them with our CI/CD tools ...
8
votes
1answer
11k views

Is it possible to have multiple gitlab-ci files in a single repo?

I have a single repo handling integration tests for 4 different software projects. As those projects share common resources, I'd like to create a generic file in which all those common features are ...
8
votes
3answers
1k views

Condition CircleCI build on what part of monorepo changed?

I'm working on a monorepo project that contains a few different subprojects in different languages. Right now I run three different CircleCI "jobs" on each commit. However, each of these packages ...
8
votes
3answers
8k views

Jenkins Pipeline and stash Pull Request Builder not working on PR create/update

Below is the requirement needed to achieve using the Jenkins Pipeline and i am new bee into Jenkins Pipeline. After completing development work and pushing his changes to Bitbucket the user creates a ...
7
votes
1answer
6k 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 ...
7
votes
4answers
148 views

How can successfully pre-verified changes cause regressions that should have been caught?

In a CI context one of the commonly-used measures of increasing the quality levels of the integration branch is a mandatory set of pre-commit quality verifications (typically including building some ...
7
votes
3answers
2k views

How can continuous integration scale for very large projects/teams?

Traditionally CI systems only monitor the quality of the code in an integration branch, signalling when regressions occur. Human intervention is required for repairs. As the number of developers ...
7
votes
1answer
3k views

How to configure gitlab-runner to run in the same docker host as gitlab?

I have a gitlab instance running in a docker container. Now I would like to setup gitlab-runner on the same host. Both are running: docker container ls CONTAINER ID IMAGE ...
7
votes
1answer
5k views

CI/CD for microservices in monorepo on Gitlab

I'm working on a project that consists of several different services in different languages (a React webapp, a Scala backend, some Python stuff etc). I currently have each of these services in ...
7
votes
2answers
1k views

Best way of binary repository for .NET projects

I am very to new to .NET projects and I am wondering which is the best tool to store binaries of .NET project. How good to store binaries of .NET projects in artifactory and why? can some one answer ...
7
votes
1answer
4k views

How can I deploy an AWS Lambda function from Jenkins?

I have a simple Lambda function that I'm trying to deploy through Jenkins - public String handleRequest(String input, Context context) { String output = ""; if (input.isEmpty()) { ...
6
votes
1answer
734 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?
6
votes
3answers
364 views

Should performance tests be run using a CI and how often?

There are tools that test the performance of applications, like gatling. It is possible to run such a test once in a while, but in practice is is not run periodically. We were discussing how to run it ...
6
votes
2answers
1k views

What are best practices for creating and triggering various pipelines regards monorepos?

According to this article a monorepo contains different projects. What are best practices for triggering different pipelines? The current git repo contains the following projects: ╔═════════════╗ ║ ...
6
votes
4answers
298 views

How can Agile methodologies, CI/CD be applied to massive, monolithic software projects with 100s/1000s of developers?

Using continuous integration represents an (almost) mandatory requirement for a software project to be agile. And without CI there can be no continuous delivery/deployment. But CI can face ...
6
votes
1answer
6k views

Changing the build intermediate paths for gitlab-runner

I have a server pointed as ab12.xy24.com in which the projects are placed as: Path-1 /home/ab12/public_html/project1/* /home/ab12/public_html/project2/* ................................ /...
6
votes
2answers
332 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 ...
6
votes
2answers
167 views

How to reconcile Infrastructure as Code and not storing env config in code?

When developing a Web App, and trying to adhere to what is generally considered best practice, e.g. The 12 factor app methodology etc. One key concept is to keep configuration and sensitive data out ...
6
votes
1answer
154 views

Does Immutable Servers imply no source code updates on the servers?

So once an Immutable Server is in place, nothing should change at all. Or is it only configuration. Are source code updates acceptable on Immutable Servers?
6
votes
3answers
145 views

Autoscaling on GoCD agents without terminating active builds?

At the moment I have an AutoScaling Group (ASG) of GoCD build agents without any scaling policies. I have created some custom metrics that indicate how many build agents are currently idle and I'd ...
6
votes
1answer
1k views

How can Jenkins help to implement CI/CD for Drupal?

Assume you want to implement continuous-integration (= CI) and continuous-deployment (= CD) for building and maintaining websites using Drupal (let's assume for Drupal Version 7). Often times Jenkins ...
6
votes
1answer
423 views

How can I automatically post Codefresh build results to pull requests in Bitbucket?

I have a BitBucket Cloud repository with a WebHook to trigger Codefresh builds on Pull Requests. I would like the build results to appear as comments on the PRs, similar to the way Travis integration ...
5
votes
3answers
1k views

What's the relevance of periodicity in CI / CD processes?

Part of what (I think) CI and CD is about, is processes that get repeated over and over again (= the "continuous" part of it). However continuous in this context is not exactly (I think) like a river ...
5
votes
3answers
6k views

Trigger Jenkins job from Gitlab CI with parameters

There is supposed to be a way to trigger a Jenkins job via GitlabCi, using the respective plugin. My question is whether there is a way: a) to trigger a parameterized Jenkins job b) to pass ...
5
votes
2answers
654 views

Best practices for CI for embedded platforms (ESP32/Arduino)

Development processes for embedded software always lags behind that for web development. When looking at unit testing, automated builds and code analysis there are many limitations to popular tools. ...
5
votes
1answer
66 views

How to let build fail when docker image size exceeds certain threshold?

docker images returns: REPOSITORY TAG IMAGE ID CREATED SIZE <none> <none> fcc125757e66 About an hour ago 270 MB ...
5
votes
1answer
2k 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 ...
5
votes
2answers
1k views

Multiple runners for all projects OR single runner per project

What do we have: We have a Gitlab EE with multiple projects running on a droplet, next to that we have a runner server for the CI runners. All projects are Docker projects and 4 runners can be busy at ...
5
votes
1answer
225 views

How can I validate GoCD configuration before applying it

We have a GoCD installation where we like to keep the pipeline configuration XML files (cruise-config.xml) in a separate git repository, and install it (preferably via a pipeline and automatically) to ...
5
votes
1answer
158 views

Are there any guidelines for when to use gitlfs and will it break the CI?

Git large file system git-lfs could be used to store large files and at a txt file to the git repository. The question is when to decide whether a file should go to git LFS and if that is done whether ...

1
2 3 4 5