continuous-integration

Running tests as usual against docker containers or dockerize tests?

给你一囗甜甜゛ 提交于 2021-02-06 02:35:15
问题 I'm new to Docker and was reading up on Docker. It's a great way to test systems in a self contained and reproducible standardized configuration (when done correctly). However, in all the things I've read, there doesn't seem to be too much emphasis on how the testing should occur with docker containers. The docker is used to "contain" the infrastructure and application (code) for easy testing (as well as deployment). But sometimes test codebases are be large and not so simple too. And one can

Cache docker images on Travis CI

眉间皱痕 提交于 2021-02-06 02:34:49
问题 Is it possible to cache docker images on Travis CI? Attempting to cache the /var/lib/docker/aufs/diff folder and /var/lib/docker/repositories-aufs file with cache.directories in the travis.yml doesn't seem to work since they require root. 回答1: From a Docker perspective, I think the best way you could do this (without the possibility of running a network local registry) is save the Docker image and cache the exported tar ball. You would need to load that at the start rather than pull an image.

Cache docker images on Travis CI

情到浓时终转凉″ 提交于 2021-02-06 02:31:56
问题 Is it possible to cache docker images on Travis CI? Attempting to cache the /var/lib/docker/aufs/diff folder and /var/lib/docker/repositories-aufs file with cache.directories in the travis.yml doesn't seem to work since they require root. 回答1: From a Docker perspective, I think the best way you could do this (without the possibility of running a network local registry) is save the Docker image and cache the exported tar ball. You would need to load that at the start rather than pull an image.

Cache docker images on Travis CI

我们两清 提交于 2021-02-06 02:31:32
问题 Is it possible to cache docker images on Travis CI? Attempting to cache the /var/lib/docker/aufs/diff folder and /var/lib/docker/repositories-aufs file with cache.directories in the travis.yml doesn't seem to work since they require root. 回答1: From a Docker perspective, I think the best way you could do this (without the possibility of running a network local registry) is save the Docker image and cache the exported tar ball. You would need to load that at the start rather than pull an image.

Running tests as usual against docker containers or dockerize tests?

半城伤御伤魂 提交于 2021-02-06 02:31:09
问题 I'm new to Docker and was reading up on Docker. It's a great way to test systems in a self contained and reproducible standardized configuration (when done correctly). However, in all the things I've read, there doesn't seem to be too much emphasis on how the testing should occur with docker containers. The docker is used to "contain" the infrastructure and application (code) for easy testing (as well as deployment). But sometimes test codebases are be large and not so simple too. And one can

How to stop azure dev ops yaml validation build from running for each branch?

て烟熏妆下的殇ゞ 提交于 2021-02-05 09:44:39
问题 We are using azure dev ops for CICD and validating PR's. Yesterday I decided to start making yaml files for validation builds. I created the pipeline. I set the branch policy for 'development' fine and the validation build ran okay. However, something I see is that each time ANY branch gets a change to the files of the directory I've set the validation build for a build triggers. So, let's say I've made a yaml pipeline(CI only) for project Main(src/Main) and i've set a branch policy on branch

Auto-chose platform (or other) condition in tox sections

北城以北 提交于 2021-02-05 08:37:07
问题 I want to specifically run a certain tox section which then auto-decides on the specific platform. The example code-snippet below works fine if I just ran tox -e ALL . Then the platform condition nicely sects out the correct platform. However, I want to only adress and run a specific section like for instance something like tox -e other (not tox -e other-win, other-linux ) and then have tox auto-chosing the corresponding platform (or any other) condition. I don't know if this way of setting

Auto-chose platform (or other) condition in tox sections

一笑奈何 提交于 2021-02-05 08:35:38
问题 I want to specifically run a certain tox section which then auto-decides on the specific platform. The example code-snippet below works fine if I just ran tox -e ALL . Then the platform condition nicely sects out the correct platform. However, I want to only adress and run a specific section like for instance something like tox -e other (not tox -e other-win, other-linux ) and then have tox auto-chosing the corresponding platform (or any other) condition. I don't know if this way of setting

How to configure Coveralls with Github Action?

霸气de小男生 提交于 2021-02-04 05:45:33
问题 I'm experiencing problems with my github repo configuration. Here it is - umbress. I have Github Actions CI enabled and configured and I want to have the coverage badge in my repo so everyone who wants to use my code in their projects knows that my code is well-tested. But it seems that I missing something because my coverage badge has an "unknown" status for a long time already. CI steps are: Run build Run tests and generate coverage ( jest --coverage --config config/jest.js ). This will

How to configure Coveralls with Github Action?

柔情痞子 提交于 2021-02-04 05:42:28
问题 I'm experiencing problems with my github repo configuration. Here it is - umbress. I have Github Actions CI enabled and configured and I want to have the coverage badge in my repo so everyone who wants to use my code in their projects knows that my code is well-tested. But it seems that I missing something because my coverage badge has an "unknown" status for a long time already. CI steps are: Run build Run tests and generate coverage ( jest --coverage --config config/jest.js ). This will