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
5
votes
2answers
762 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. ...
4
votes
2answers
163 views

Continuous Integration and Isolated Feature Testing

I've been given the task at work to move everyone from using TFS Source Control to Git as the Development Team has been lead to believe that Git may well be the silver bullet that will fix alot of the ...
2
votes
1answer
2k views

How to set a Git repository when creating a job in Jenkins from a Groovy script?

I'm trying to setup a Jenkins server with Groovy script: def repository = 'git@somerepo' import hudson.tasks.Shell; job = Jenkins.instance.createProject(FreeStyleProject, 'TestJob') job....
2
votes
0answers
531 views

Usage of Tasks vs Jobs in Concourse CI [closed]

I would like to know when it would be ideal to use Jobs over Tasks. What I mean is there are situations where we could run tasks within a job that are not dependant to each other in parallel, which I ...
4
votes
2answers
525 views

How to perform continuous Integration using Jenkins?

I've the basic idea about the Continuous Integration using Jenkins like- basic project setup, setting up source code management bit-bucket and build the project. I have done this so far and following ...
6
votes
3answers
412 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 ...
5
votes
1answer
174 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 ...
2
votes
1answer
75 views

Build / Deployment process for .Net/Mulesoft/Oracle stack

I have the following challenge to streamline and setup a development process. The program runs simultaneously, and each one has its own timeline for release, as follows: Program 1 Program 2 Program ...
0
votes
1answer
60 views

Founded argument to have no sandbox CI/CD?

CI/CD environment is the production carrier for DevOps teams. An error here is a show stopper for possibly many teams. Additionally, it is a product offered to teams which needs maintenance (...
4
votes
2answers
41 views

Parallelizing dependent CI subjobs

Imagine you have resources for a job which has part 1 and part 2. Part 2 requires part 1, but both take considerable time. And, part 2 requires part 1 only at the end. Would you start them both in ...
8
votes
3answers
2k 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 ...
6
votes
1answer
6k 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 ...
6
votes
3answers
160 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 ...
2
votes
1answer
232 views

Jenkins node (agent) on shared web server - what are the right permissions

I have a shared web server with multiple sites and each site has a dedicated user used as the owner and with the group apache. I want to install Jenkins node on the server, but how will it be able to ...
2
votes
1answer
7k views

How can I download an artifact from Jenkins using the Google Login Plugin?

I recently spun up a new Jenkins instance and installed the Google Login Plugin for authentication via Google. I would like to download build artifacts to servers using a shell script, basically curl ...
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 ...
3
votes
2answers
638 views

Best tool for Docker Container test automation?

In my project i am building about 200 containers I want to check in a smoke test if the containers are still running after a rebuild in pipeline. I want to bring up the container with certain ...
5
votes
2answers
2k 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: ╔═════════════╗ ║ ...
5
votes
1answer
1k views

Building a Docker container using Gitlab CI Docker runner

I am trying to build a docker image using Gitlab Docker runner. For this I have configured the runner with a shared volume in /etc/gitlab-runner/config.toml called /builds: concurrent = 1 ...
3
votes
2answers
53 views

Dockerize CI installation on master node VM

Carrying on from this question, would you want to dockerise your CI (Gitlab (especially if Gitlab also contains all your repositories) or Jenkins) installation on your master node virtual machine? ...
4
votes
1answer
120 views

What OS should a master node CI virtual machine be?

Say you are developing a new CI/CD system, deploy builds across Linux, Windows and Mac, and have now reached the point of wanting to deploy a master node which hosts your chosen CI tool. How do you ...
-3
votes
3answers
169 views

What approach should I follow for adopting continuous integration?

I have a WAMP server which hosts a Django application by using a Windows server. Currently I am deploying everything manually. Now I want apply Continuous Integration concepts to an existing ...
4
votes
1answer
571 views

CI/CD with a GPU cluster

With typical continuous integration environments, you configure an environment capable to execute compilation and test batches (agent, slave..) coordinated by a scheduler (master, server..) But what ...
10
votes
2answers
305 views

Data Science pipelines and monolithic 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 - monolithic binary ...
1
vote
2answers
305 views

Mastering CI infrastructure changes with GitLab

With Bamboo, a best practice for infrastructure management of agents seems to be using Docker: any time you need a new version of compiler or test tool, the path to deploy a modified version of an ...
6
votes
2answers
175 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 ...
4
votes
1answer
9k views

Declarative Jenkins Pipeline to Poll different branches?

We have a gitlab enterpise that host multiple project in one repo. Something like: Repo/ projectA/ projectB/ projectC/ We have three pipelines that will run base on changes(whitelist region) ...
4
votes
4answers
2k views

Definition of “Done” for DevOps

I've being recently interviewed for a DevOps position. One of the questions I was asked was: What is your definition of "done" in the DevOps context? The question is rather broad, but, as I ...
2
votes
1answer
888 views

How to connect a Bamboo remote agent from within Intranet

We have a Bamboo server running in the cloud and we would like to connect the machine that is in our local network. The problem is that this PC only has access to proxy that has only port 80 available ...
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
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 ...
14
votes
3answers
5k 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 ...
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
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()) { ...
1
vote
1answer
469 views

Best learning resources for continuous integration tools like Jenkins [duplicate]

I am a .NET developer , I have decided to learn DevOps continuous integration tools. One of my folk asked me to learn below tools and language: Jenkins Shell Scripting Python I have found below ...
0
votes
1answer
32 views

Different execution contexts for same POM - use properties files?

Imagine that a Maven POM configures a set of integration tests for web apps (could be a functional test as well). in developer context, you would clearly use Chrome and configure that accordingly in ...
1
vote
2answers
330 views

If I set up a Travis CI agent, will it be independent of Travis's existing infrastructure?

Is this correct that if I decide to setup an own TravisCI agent, I will be enabled to be independent of the existing distributed Travis computation network?
2
votes
1answer
47 views

What are formal criteria for establishing declarative pipelines, or pipelines as a code?

Stepping from "crafted" DevOps toolchains to declarative pipelines is imo next transformation step towards even more productivity which requires additional effort. Any experiences what can be the "...
2
votes
1answer
928 views

How to hook up Jenkins to Endevor?

I'm not DevOps, I only come from a .net background, but I've been asked how to hook up Jenkins to kick off jobs, listening to Endevor mainframe? I only found this which talks about SCLM which as I ...
9
votes
3answers
246 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.) ...
2
votes
1answer
1k views

What are best practices to implement Gatling in CI?

Gatling creates an HTML report: Reports generated in 0s. Please open the following file: /path/to/target/gatling/recordedsimulation-1496161958749/index.html [info] Simulation RecordedSimulation ...
1
vote
1answer
495 views

error: exportArchive: The operation couldn’t be completed. (IDEDistributionErrorDomain error 3.)

I am using Jenkins automation build for iOS. Previously I have been using xcode 8.1 with no error showing. But i have updated the xcode to 8.3 and I'm facing errors now. I have the scripts as below: ...
6
votes
1answer
7k 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
1answer
458 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 ...
0
votes
1answer
7k views

Maven command for Sonarqube analysis

I am planning to build a Maven project in Jenkins. I tried to do some research how to give goals for Maven for doing few steps in one command but cant get understood how to do. What I mean is how ...
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 ...
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
2answers
2k views

Where can I find older versions of GitLab Runner?

I'm stepping through the documentation here for installing GitLab Runner. When I register the runner, I get this compatibility error: ERROR: Checking GitLab compatibility... not-compatible reason:=...
0
votes
1answer
1k views

How to define failure situation on jenkins

I created a project in Jenkins and set it to run tests on every pushes. but even when one of the pushes does not pass the tests, Jenkins build returns success. How can define failure situation if ...
13
votes
2answers
327 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 ...