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
2 answers

How to configure GitLab CI Pipeline only on merge requests and that too only for specific branches?

I have following configuration for enabling pipeline on merge requests. I want this pipeline to run only on merge request to few specific branches only. For Ex: "release/some-xyz-branch" and "develop" branches. How to do it ? test_job: stage:…
6
votes
2 answers

How to pass variable between two successive GitHub Actions jobs?

I'm trying to write a workflow to have my GitHub project release populated by the tag creation workflow. I already know how to create the release (using actions/create-release@v1.0.0) and how to push an artifact in the release (using…
Riduidel
  • 22,052
  • 14
  • 85
  • 185
6
votes
1 answer

Disable anti-malware service xprotectservice on MacOS Catalina for CI

We recently upgraded our macmini from MacOS High Sierra to MacOS Catalina in order to compile with the latest Xcode. The macmini is a buildslave for continuous integration. After upgrading to Catalina I noticed the machine became very slow during…
Paul Kiman
  • 61
  • 1
  • 2
  • 2
6
votes
4 answers

How do I know the total time I used to run workflow in github action?

Each time I create a PR or make commits, I have some workflows running. But since I have a private repo and I get only 2000 min/month for running workflows on Github Actions, I wanted to track the time used. How do I know how much total time I used…
Jhanvi
  • 81
  • 1
  • 4
6
votes
0 answers

Why wouldn't the tox see the environment variable during install_command?

Given the tox==3.13.2, see details ++pip install tox Requirement already satisfied: tox in /home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages (3.13.2) and the tox.ini: [tox] envlist = py-cythonized [testenv] ; simplify numpy…
alvas
  • 115,346
  • 109
  • 446
  • 738
6
votes
1 answer

How to set path in azure-pipeline using prependpath

I am trying to set path in an Azure-pipeline using prepend path echo '##vso[task.prependpath]$(HOME)/miniconda3/bin' echo "New path 1... $PATH" ##vso[task.prependpath]($HOME)/miniconda3/bin echo "New path 3... $PATH" …
Bhavani Ravi
  • 2,130
  • 3
  • 18
  • 41
6
votes
4 answers

Module failed to start Ansible

I'm new in Ansible. I'm working on an Ubunto machine. On the VM, I installed Ansible along with to apply play books to. When I run a playbook I receive the following error. fatal: [localhost]: FAILED! => { "ansible_facts": {}, "changed":…
6
votes
1 answer

What is a good practice to run python tests in the Cloud Build pipeline?

I want to create a CI/CD pipeline with google Cloud Build to deploy a python web app to App Engine. I have a tests.py file that use some third-party library to run some tests. I want Cloud Build to run the tests before deploying the app on App…
Mathieu Rollet
  • 2,016
  • 2
  • 18
  • 31
6
votes
1 answer

Running Firebase Emulator on GitLab CI

I'm trying to test Firestore's security rules on my GitLab CI pipeline. I need to run Firebase's emulator to accomplish that. However, the Firebase emulator basically starts serving a "fake backend". So, how can I run that job in parallel to other…
6
votes
2 answers

How i can run parallel test in docker on gitlab without dashboard?

Start using cypress in docker compose on gitlab, how can I run tests parallel in docker compose? I use this command in docker: npx cypress run -b chrome What do I need to use for starting tests parallel and combine test results?
Kkkk
  • 61
  • 1
  • 2
6
votes
5 answers

How to integrate powerapps with azure devops

I am doing some research for Powerapps integration with Azure DevOps. However there is limitated information for it. It is possible to integrate powerapps inside a Task for AzureDevops? Based on, that we have a .zip file with the Powerapp, and we…
6
votes
1 answer

How to test Jupyter notebooks on Travis CI?

Is there a way to deploy Jupyter Notebooks on Travis CI and test running all the cells? My Jupyter Notebooks use IPython Kernel, and I have a conda environment file.
Jay Wang
  • 2,650
  • 4
  • 25
  • 51
6
votes
1 answer

Gitlab CI: docker not found

I'm trying to build my project using gitlab ci feautures. According to this question I've done everything correcly. This is my .gitlab-ci.yml. .gitlab-ci.yml image: docker:latest services: - docker:dind stages: - build - release -…
6
votes
3 answers

Is it possible to develop for sharepoint using continuous integration techniques?

We are gearing up for some pretty serious Sharepoint(MOSS 2007) development including custom web parts, lists, master pages and layouts etc etc and etc. We are evaluating version control and it seems that the discussion has not got much deeper than…
Loofer
  • 6,841
  • 9
  • 61
  • 102
6
votes
3 answers

Active profile in SpringBootTest based on system variable

As the host of Redis is different in local and CI, my @Tests can pass locally, they can't pass in CI. Firstly, I tried to mock the RedisTemplate like this: RedisTemplate redisTemplate = mock(RedisTemplate.class); ValueOperations valueOperations =…