continuous-integration

VirtualBox executer fails with “prepare environment: Process exited with status 1”

那年仲夏 提交于 2020-08-05 09:37:41
问题 I registered the VirtualBox CI runner using gitlab-runner register and by choosing virtualbox as an executor. However, if I start the runner pipeline in Gitlab, it fails with the following error: What would be causing this error and how to fix it? Here's a link mentioned in the error message: https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading P.S: I'm using macOS 10.15.5 and the VirtualBox runs Ubuntu 20.04 LTS. 回答1: The documentation mentions: For certain executors, the

VirtualBox executer fails with “prepare environment: Process exited with status 1”

耗尽温柔 提交于 2020-08-05 09:37:17
问题 I registered the VirtualBox CI runner using gitlab-runner register and by choosing virtualbox as an executor. However, if I start the runner pipeline in Gitlab, it fails with the following error: What would be causing this error and how to fix it? Here's a link mentioned in the error message: https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading P.S: I'm using macOS 10.15.5 and the VirtualBox runs Ubuntu 20.04 LTS. 回答1: The documentation mentions: For certain executors, the

Jenkins Build Queue Limit

萝らか妹 提交于 2020-08-05 07:54:34
问题 I've noticed that there seems to be a build queue limit of one in Jenkins. When I trigger a lot of builds it seems to only place a max of one build in the build queue. Is there a way to remove this limit so there can be more then one build in the build queue? 回答1: This is intended behaviour : Normally, your jobs will depend on some input (from SCM, or from some upstream jobs) If your slave capacity is too low to catch up with each and every build, then you'd normally want to test/build/...

GitLab CI - How to verify that Unity3D Tests actually passed

谁都会走 提交于 2020-07-31 06:03:07
问题 Here is my gitlab-ci.yml: variables: GIT_STRATEGY: fetch GIT_CLONE_PATH: $CI_BUILDS_DIR GIT_DEPTH: 10 GIT_CLEAN_FLAGS: none stages: - test - build unit-test: script: "C:\\'Program Files'\\Unity\\Hub\\Editor\\'2019.4.3f1'\\Editor\\Unity.exe \ -runTests \ -batchmode \ -projectPath . \ -logFile ./log.txt \ -testResults ./unit-tests.xml" stage: test tags: - unity unity-build: stage: build script: echo 'Building...' tags: - unity Here is the output of the pipeline: Running with gitlab-runner 13.1

What are CircleCi pipelines? Can they be used to trigger job with parameters?

和自甴很熟 提交于 2020-07-23 06:40:06
问题 Documentation is spread out and it's a bit hard grasp how to make use of the pipeline concept in circle ci language? Also what's the point of pipelines and pipeline variables? The following docs were useful but were far from enough for me to figure out how they actually work: https://circleci.com/docs/2.0/pipelines https://circleci.com/docs/2.0/build-processing (Enabling pipelines) https://circleci.com/docs/2.0/pipeline-variables/#conditional-workflows (Pipeline variables and conditional

What are CircleCi pipelines? Can they be used to trigger job with parameters?

最后都变了- 提交于 2020-07-23 06:38:21
问题 Documentation is spread out and it's a bit hard grasp how to make use of the pipeline concept in circle ci language? Also what's the point of pipelines and pipeline variables? The following docs were useful but were far from enough for me to figure out how they actually work: https://circleci.com/docs/2.0/pipelines https://circleci.com/docs/2.0/build-processing (Enabling pipelines) https://circleci.com/docs/2.0/pipeline-variables/#conditional-workflows (Pipeline variables and conditional

Unable to build nuget packages during Jenkins build

做~自己de王妃 提交于 2020-07-22 05:02:07
问题 I am trying to build a .Net WEB API (https://github.com/NaveeenSemwal/jenkinsapi.git) using Jenkins freestyle project but i am getting error of nuget packages while building job in Jenkins. I have used VS 2019 community edition to create .net web api. I have configured MSBuild in Jenkins as below : Here i have configured git repository: And this is how i am using MSBuild in Jenkins's Job : Please find the error which i am getting while during build as below : I have also seen in the workspace

Use CloudFormer in Round-Trip Engineering of AWS Resources

耗尽温柔 提交于 2020-07-21 08:26:41
问题 I would like to use CloudFormer in an automated way to generate templates of existing resources in my VPC. I can create the cloudformer instance using Ruby SDK CloudFormation::Client.create_stack() and tear it down using CloudFormation::Client.delete_stack() - but while it's running, I can't figure out how to talk to it to ask it to generate cloudformation templates for resources. I envision doing something like: for every SecurityGroup in VPC: ask CloudFormer to generate a cloudformation

Use CloudFormer in Round-Trip Engineering of AWS Resources

百般思念 提交于 2020-07-21 08:25:38
问题 I would like to use CloudFormer in an automated way to generate templates of existing resources in my VPC. I can create the cloudformer instance using Ruby SDK CloudFormation::Client.create_stack() and tear it down using CloudFormation::Client.delete_stack() - but while it's running, I can't figure out how to talk to it to ask it to generate cloudformation templates for resources. I envision doing something like: for every SecurityGroup in VPC: ask CloudFormer to generate a cloudformation

Is there a reliable way to have Cypress exit as soon as a test fails?

血红的双手。 提交于 2020-07-21 03:46:44
问题 We have a large test suite running on a CI server, and there appears to be no way of telling Cypress to exit if a test fails. It always runs the entire suite. There is some discussion here, but no workable solution. Is there a reliable way to have Cypress exit as soon as a test fails? 回答1: As you've mentioned, it's not officially supported yet (as of 3.6.0). Here's my take at a hack ( without the use of cookies and such for keeping state): // cypress/plugins/index.js let shouldSkip = false;