Questions tagged [continuous-integration]

Continuous integration (CI) is the 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.

Concept

Continuous integration is an important part of an agile software development process. Integration is an important step to detect quality issues, so if it is done frequently, problems will be detected earlier and fewer at a time. Hence, continuous integration can help to reduce the overall cost of the process. Although continuous integration could be automated with simple scripting, it is generally more advantageous to use tools built for this purpose, especially for complex projects with many modular parts.

Tools

One of the first tools to become popular for this purpose was CruiseControl. Now there are many such products, both open source and proprietary.

References

Martin Fowler has a good writeup of what it all means in Continuous Integration.

13768 questions
6
votes
1 answer

How to secure the fastlane json key file used for uploading the google play store

How can I encrypt/pass the JSON key file used by Fastlane to upload my apps to the app store? Seems the current solution is to keep the key.json in the repo itself and mention the path in the Fastfile. json_key_file("../key.json") # Path to the json…
ir2pid
  • 5,604
  • 12
  • 63
  • 107
6
votes
1 answer

AWS CloudFormation Rate Exceeded

I am running a multi-branch pipeline in Jenkins for CI/CD that deploys a CloudFormation stack to my AWS account. Occasionally, when multiple developers push to their branches at the same time, I receive this error on one or more…
6
votes
1 answer

How can I speed up our TeamCity builds?

Our repository has grown in size quite a bit in recent months and TeamCity builds have now become seriously slow. A lot of the bulk comes from installation files and other non-code, non-essential (for build anyhow) things that people have checked…
Mike
  • 6,149
  • 5
  • 34
  • 45
6
votes
1 answer

VSTFS build error - SSL certificate problem: unable to get local issuer certificate

I am new to CI. I have a build defined. I am getting the following error when i queue the build: 2018-10-08T09:54:50.0136696Z ##[command]git config --get-all http.https://testurl.extraheader 2018-10-08T09:54:50.1425808Z ##[command]git config…
Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156
6
votes
1 answer

How to trigger a Travis rebuild for my pull-request from a GitHub comment?

How to trigger a Travis rebuild for my pull-request from a github comment? After a pull-request is created on Github, the Travis PR builds triggers. And if we want to re-trigger a build, we could press the Restart Job button on Travis GUI: But is…
alvas
  • 115,346
  • 109
  • 446
  • 738
6
votes
1 answer

Link containers that are configured in two different docker-compose files

Let's say i have two different docker-compose configurations: db.yml: version: '3' networks: default: external: name: backend volumes: mongo_data: services: mongodb: image: mongodb container_name:…
Alp
  • 29,274
  • 27
  • 120
  • 198
6
votes
1 answer

difference between user-mode and system-mode in GitLab Runner CI/CD

While configuring GitLab runner in system-mode, service is not getting started, but in user-mode the service is working good. In GitLab runner document they have not briefed the…
Sujananth
  • 635
  • 1
  • 10
  • 24
6
votes
4 answers

How to run dotnet test on VSTS with custom NuGet feed?

We have a project with a dependency on a custom NuGet feed (also hosted in VSTS). I'm trying to put together a new phase to generate code coverage reports, as in this blog post. My new phase looks like this: And is made up of the following…
6
votes
2 answers

Does Jenkins windows service need admin rights?

For security reasons we thought it would be better if the Jenkins windows service would run as user without admin rights. However, this leads to an error on Jenkins server startup: java.io.IOException: Access is denied at …
Meera
  • 318
  • 3
  • 16
6
votes
2 answers

Prevent Jenkins from polling SCM (Git) while build is running

Let's say I have a build which takes 5 minutes to run, and SCM polling is set to run every 2 minutes (H/2 * * * *). If a commit is pushed, Jenkins polls and finds changes and starts build #1. After 2 minutes have elapsed and build #1 is still…
Josh M.
  • 26,437
  • 24
  • 119
  • 200
6
votes
3 answers

How to deploy web application to AWS instance from GitLab repository

Right now, I deploy my (Spring Boot) application to EC2 instance like: Build JAR file on local machine Deploy/Upload JAR via scp command (Ubuntu) from my local machine I would like to automate that process, but: without using Jenkins + Rundeck…
6
votes
1 answer

GitLab CI job takes 20+ minutes

With gitlab-ci I am using a simple .yml file. I have defined various stages to run synchronously. I have set a cache for node_modules. But the problem is that the cache of node_modules is actually slowing down the process. This cache is required to…
Perfection
  • 721
  • 4
  • 12
  • 36
6
votes
2 answers

Single Docker image push into AWS elastic container registry (ECR) from VSTS build/release definition

We have a python docker image which needs to build/publish (CI/CD) into AWS container registry. At the moment AWS does not support for running docker tasks using docker hub private repositories, therefore we have to use ECR instead of docker…
6
votes
2 answers

How to change File/Product version of DLLs in TeamCity using AssemblyInfo Patcher produced from a .net solution?

There are multiple c# class library (DotNet Core 2.1) projects and User Interface (WPF project) in my solution. Let say a class library project properties have Assembly version 2019.1.15341.0: Also, the same Assembly version is assigned to the user…
6
votes
2 answers

"permanent" GKE kubectl service account authentication

I deploy apps to Kubernetes running on Google Cloud from CI. CI makes use of kubectl config which contains auth information (either in directly CVS or templated from the env vars during build) CI has seperate Google Cloud service account and I…