gitlab-ci

    1热度

    1回答

    我在内部服务器上设置了Gitlab服务器设置,如http://gitlab.example.com。我也注册了使用shell executor的跑步者以及使用docker executor的跑步者,他们都与Gitlab服务器位于同一台机器上。 我有这个很基本的.gitlab-ci.yml文件 runtest: script: - npm install 当我通过使用she

    0热度

    2回答

    我为我的最新Python项目设置了一个CI管道(如果有问题,请提供Gitlab CI),并为我仍想实现的事件添加了几个测试用例。在每个测试案例中,我提出了一个NotImplementedError,因为它还没有实现。 import unittest class GenericTest(unittest.TestCase): def test_stuff(self): "

    2热度

    1回答

    我已经使用gitlabSourceBranch作为分公司说明符(空白“任何”)发现分支名称,如: 注:值将被传递到变量“gitlabSourceBranch”时,触发詹金斯的工作。 使用gitlabSourceBranch,我能签出所需的git的来源,但不能在混帐配置文件或任何在詹金斯的工作空间位置在git的文件夹中的文件,找到分支名称。

    0热度

    2回答

    我有以下.gitlab.yaml文件 stages: - build - test compile: stage:build script: - stuff_happening test_1: stage: test script: - do_something_1 artifacts: when: on_failure name: "$CI_COMM

    1热度

    1回答

    是否可以使用Azure cli部署由GitLab生成的工件。 # Deploy sample code to "staging" slot from GitHub. az webapp deployment source config --name $webappname --resource-group myResourceGroup \ --slot staging --repo-url

    0热度

    1回答

    在我的测试设置中,我使用docker执行程序来运行我的构建版本。几乎我们所有的项目都是在官方节点图片上运行的(即node:6)。 默认情况下,这些官方图像的日志记录级别设置为输出相当高。 根据官方文档,可以禁用https://github.com/nodejs/docker-node/blob/master/README.md#verbosity Verbosity By default th

    0热度

    1回答

    我目前正在评估Gitlabs CI并尝试让管道工作,但是我有一个简单的问题。 我试图通过自动更新ISO映像来自动化构建过程。但是,这些ISO映像不会被存储库跟踪,并会在.gitignore文件中被忽略。但是,这导致当我尝试运行make它找不到ISO镜像的问题......我只是用一个简单的.gitlab-ci.yml文件 : stages: - build build: st

    0热度

    1回答

    我试图自动化Android构建和测试。该仪器测试没有工作,因为我碰到下面的错误,而启动Android模拟器在泊坞亚军: Running with gitlab-ci-multi-runner 9.4.2 (6d06f2e) ... Using Docker executor with image kmindi/android-ci:latest ... ... $ chmod +x ./gr

    0热度

    1回答

    我是GitLab CI的新手。 如何在我的作业失败时导出Maven surefire报告。 我已经尝试了工件,但它只适用于成功的工作。 有导出报告的便捷方法吗?

    0热度

    1回答

    我跟着the GitLab Docs使我的项目的CI克隆其他私人依赖项。一旦它的工作,我从.gitlab-ci.yml提取: before_script: - 'which ssh-agent || (apt-get update -y && apt-get install openssh-client -y)' - eval $(ssh-agent -s) - ss