gitlab

Gitlab on archlinux not working -> API not reachable

大城市里の小女人 提交于 2020-01-05 08:22:14
问题 I have tried to install gitlab on archlinux following https://wiki.archlinux.org/index.php/gitlab As 8080 is a well current port, I have switched to 8033. When I try to connect to the website, it prints me 402 error. If I have a look to nginx/gitlab_errors.log I have : 2015/03/23 21:16:00 [error] 29748#0: *1081 connect() failed (111: Connection refused) while connecting to upstream, client: 5.51.59.153, server: gitlab.floth.fr, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8033/",

Encoding/locale of gitlab runner machine

为君一笑 提交于 2020-01-05 05:31:50
问题 I have setup GitLab runner on winserver 2016. Everything works fine, except output of runner on gitlab. Locale of winserver is RU. I'm trying to build projects with MSBUILD, which outputs russian characters: Checking out e5ec41d1 as release-2... Skipping Git submodules setup $ echo "начинается билд %PROJECT_NAME%" "начинается билд PEPSolution" $ echo "Релизная сборка... " "Релизная сборка... " $ "C:\Program Files ^(x86^)\MSBuild\14.0\Bin\amd64\MSBuild.exe" /consoleloggerparameters:ErrorsOnly

GitLab CI. Path in yml for different users

安稳与你 提交于 2020-01-05 05:26:12
问题 I'm trying to set up GitLab CI for .net project. Now I'm writing script in yml file. What I want to know: the path to the msbuild.exe and mstest.exe may be different for the different team members, how the same yml script may work for different users? Or may be I'm understand how GitLab CI work in wrong way? 回答1: The path to the mstest.exe and all other referenced executable and files is based on the machine that has the GitLab runner running. What's on your machine or anyone else's doesn't

How can I have multiple git accounts on a single development machine?

泪湿孤枕 提交于 2020-01-04 09:23:29
问题 I am trying to work simultaneously on more than one (two or three) GitLab (or even GitHub) projects on a single development machine. Because upon configuration the IDEs and the git service has the data of my primary user when I try to checkout or clone another project with a different username / password the system says either project is not found or I do not have permissions to do that. How can I configure and use more than one git user on a single development machine? 回答1: You can store

How do I set up a very simple deployment using a Gitlab CI runner?

£可爱£侵袭症+ 提交于 2020-01-04 06:10:48
问题 I'd like to automatically deploy new work from my Gitlab repository to a live website running on a production server. The live website is a GIT repo clone of the live branch. My questions: each time a 'build' happens, the runner seems to clone my repo afresh, into ~/builds/... . Is this mandatory behaviour? All I think I really want is a git pull inside my production website directory. if it really has to clone the repo each time, why doesn't it git reset it? At least that would save a ton of

How do I set up a very simple deployment using a Gitlab CI runner?

余生颓废 提交于 2020-01-04 06:10:37
问题 I'd like to automatically deploy new work from my Gitlab repository to a live website running on a production server. The live website is a GIT repo clone of the live branch. My questions: each time a 'build' happens, the runner seems to clone my repo afresh, into ~/builds/... . Is this mandatory behaviour? All I think I really want is a git pull inside my production website directory. if it really has to clone the repo each time, why doesn't it git reset it? At least that would save a ton of

How to activate GitLab Pages in an existing project?

ε祈祈猫儿з 提交于 2020-01-04 04:32:06
问题 I want to publish my code coverage reports for my Java project that is already on GitLab. I generate code coverage reports with JaCoCo in a folder located in app/target/site/jacoco/ . I saw I had to activate GitLab Pages. But this link on the GitLab documentation say I have to create a new project. My Java project is already in a GitLab Project and I don't know how to do in that case. 回答1: You do not have to create a new project if you already got one The GitLab documentation is a little

Node+GitLab实现小程序CI系统

别来无恙 提交于 2020-01-04 03:46:41
为什么要实现自动部署 小程序开发迭代里,有以下几个个头痛的问题, 如何准确并快速的的把小程序上传去后台,并让测试人员进行测试? 测试同事找开发要二维码,效率较低 本地生成的二维码会出现携带本地代码、未及时拉取分支其他改动等问题 小程序的体验发布太依赖开发者,通常只有开发者熟悉微信开发者工具一系列的上传流程,而每次发布的是有页可能因为忘记合并分支,忘记开启构建命令导致一些列不可知的错误,从而导致影响开发进度、发布流程不可控等一系列问题。 针对这些问题我们需要一套可以随时从Git上拉取最新代码选取分支和tag并自动打包构建不同环境上传至小程序后台的系统来解决以上问题。 如何实现? 开发者工具提供了命令行与 HTTP 服务两种接口供外部调用,开发者可以通过命令行或 HTTP 请求指示工具进行登录、预览、上传等操作。 传送门: " developers.weixin.qq.com/miniprogram… " 方案 通过命令行与 HTTP 服务可以想到一下几种思路 通过老牌持续集成工具Jenkins配置shell脚本调用命令行上传部署 通过配置GitLab CI在项目内添加.yml编写CI文件调用命令行上传部署 通过Node调用Http服务配合Gitlab-Api+shell命令为前端提供调用接口,前端调用接口实现自动编译上传部署

How to get git lfs files (original files not file pointers) from download as source code.zip from tags or releases?

戏子无情 提交于 2020-01-04 02:57:13
问题 When I tag the commit then I download from github.com/user/project/releases all LFS file is not coming (original files) but only the file pointers (around 1kb per file) I tried to call "git lfs fetch" is absolute doesn't work because '.git' folder is not coming with the zip $ git lfs fetch Not in a git repository. When I download the tag through the github.com/user/project/releases it should be the all original file from that tag. Did I miss something? I tried to search at Google but not

Gitlab - Google compute engine Continuous delivery

走远了吗. 提交于 2020-01-04 02:08:22
问题 What I am trying to do is to enable Continuous delivery from GitLab to my compute engine on Google Cloude. I have Ubuntu 16.04 TSL running over there. I did install all components needed to run my project like: Swift, vapor, nginx. I have manage to install Gitlab runner as well and created a runner whcihc is accessible from my gitlab repo. Everytime I do push on master the runner triggers. What happen is a failure due to: could not create leading directories of '/home/gitlab-runner/builds