草庐IT

gitlab-runner

全部标签

c# - VS MSTest runner 在内存测试中运行时锁定 System.Data.SQLite.dll

我正在使用FluentNHibernate通过SQLite1.0.66.0运行内存数据库测试(MS测试):[TestClass]publicabstractclassInMemoryDatabaseTest{privateNHibernate.Cfg.Configurationconfiguration;privateISessionFactorysessionFactory;[TestInitialize]publicvoidInitialize(){//All"CreateConfiguration"doesisloadFNhmappings.this.configuration=

docker - 如何让 Docker Gitlab CI 运行器访问其父主机上的 Git?

Gitlab安装在我们的内部网络http://gitlab同一台机器上的Docker容器无法连接到它。如何配置docker让它知道gitlab是它的父级?当GitlabCI尝试运行构建(在Docker容器内)时,问题就会出现:Cloninginto'/builds/ns/project'...fatal:unabletoaccess'http://gitlab-ci-token:xxxxxx@gitlab/ns/project.git/':Couldn'tresolvehost'gitlab'我已尝试将网络的DNS服务器添加到/etc/default/docker中的DOCKER_OP

docker - 如何让 Docker Gitlab CI 运行器访问其父主机上的 Git?

Gitlab安装在我们的内部网络http://gitlab同一台机器上的Docker容器无法连接到它。如何配置docker让它知道gitlab是它的父级?当GitlabCI尝试运行构建(在Docker容器内)时,问题就会出现:Cloninginto'/builds/ns/project'...fatal:unabletoaccess'http://gitlab-ci-token:xxxxxx@gitlab/ns/project.git/':Couldn'tresolvehost'gitlab'我已尝试将网络的DNS服务器添加到/etc/default/docker中的DOCKER_OP

docker - 语法错误的 Gitlab-runner

我最近使用了docker镜像gitlab/gitlab-runner:9.1.0结合一个gitlab容器来拥有一些CI。出现错误并且建议使用不同版本的类似支持请求,所以我也尝试了:latest和一些:1.11。不幸的是,它一直告诉我这个错误:Runningwithgitlab-ci-multi-runner1.11.4(5e7ba4a)onfoo(02cdacdc)UsingDockerexecutorwithimagepretzlaw/php:7.1-apache...Startingservicemariadb:latest...Pullingdockerimagemariadb:

docker - 语法错误的 Gitlab-runner

我最近使用了docker镜像gitlab/gitlab-runner:9.1.0结合一个gitlab容器来拥有一些CI。出现错误并且建议使用不同版本的类似支持请求,所以我也尝试了:latest和一些:1.11。不幸的是,它一直告诉我这个错误:Runningwithgitlab-ci-multi-runner1.11.4(5e7ba4a)onfoo(02cdacdc)UsingDockerexecutorwithimagepretzlaw/php:7.1-apache...Startingservicemariadb:latest...Pullingdockerimagemariadb:

redis - 如何在 Gitlab CI .gitlab-ci.yml 中使用 redis dockerhub 作为服务?

我的.gitlab-ci.yml是这样的:image:"python:3.5"services:-redis:4.0.2-mongo:3.4.10stages:-checkEverythingRunscheckEverythingRuns:stage:checkEverythingRunsscript:-"python--version"-"pip--version"-"redis-server-v"-"mongod--version"redis镜像下载正确:Usingdockerimageredis:4.0.2ID=sha256:blablabla但它抛出下一个错误:$redis-s

windows - 本地窗口上的 gitlab-runner 错误

我正在尝试生成myworkinprogresshugowebsite本地。它适用于gitlabCI。我安装了docker和gitlabrunner服务。然后使用指南here我想我应该做gitlab-runnerexecdockerpages。但这会导致:[0;33mWARNING:SinceGitLabRunner10.0thiscommandismarkedasDEPRECATEDandwillberemovedinoneofupcomingreleases[0;m[0KRunningwithgitlab-runner10.5.0(80b03db9)[0;m[0KUsingDocke

windows - 本地窗口上的 gitlab-runner 错误

我正在尝试生成myworkinprogresshugowebsite本地。它适用于gitlabCI。我安装了docker和gitlabrunner服务。然后使用指南here我想我应该做gitlab-runnerexecdockerpages。但这会导致:[0;33mWARNING:SinceGitLabRunner10.0thiscommandismarkedasDEPRECATEDandwillberemovedinoneofupcomingreleases[0;m[0KRunningwithgitlab-runner10.5.0(80b03db9)[0;m[0KUsingDocke

swift - Gitlab CI 中 Swift 3.0 项目的代码覆盖率

IhaveaniOSprojectwrittenbySwift3.0withCocoaPods.I'veconfiguredGitlabCIforthisprojectanditworksperfectly.这是我的.gitlab-ci.yml文件:stages:-buildbuild_project:stage:buildscript:-rm-rfPods;rm-rfMyProject.xcworkspace;rm-rfMyProject.xcodeproj/project.xcworkspace-podinstall-xcodebuildclean-workspaceMyProje

从gitlab备份包恢复某个仓库

需求场景:某个仓库数据丢失,被force覆盖等,导致历史提交无法恢复。只想恢复特定的个别仓库。关键步骤:1.拿到gitlab服务的备份包,比如每天备份一次,想恢复到哪天拿哪天的,翻车之前。解压缩备份包,进入仓库备份目录下@hashed,看到很多乱码一样的文件夹名。2.回到gitlab查看想要恢复的项目projectid。前述乱码其实是hash码,随便找个在线工具或者linux命令,sha256sum,获得此仓库projectid的hashed值。3.在前述解压的目录下找到对应hashed名称,发现下面有个bundle文件和一个空的目录。只需要gitclone这个bundle文件即可恢复备份的此