gitlab

How to SetUp Protractor with GitLab and Jenkins

北城以北 提交于 2019-12-08 02:15:12
问题 Please let me know if anyone have tried integration of protractor with Jenkins. Regards, Manan 回答1: Integration with jenkins is relatively simple. The biggest hurdle is ensuring that the boxes which have Jenkins installed are up to date and have the required resources. If you want to test in Firefox on jenkins - you will need XVFB installed. Luckily for you, there is a plugin for that: https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin Running protractor protractor.js.conf will return a

BitNami GitLab Stack 5.1.0-2 rewrites gitlab.yml after reboot

给你一囗甜甜゛ 提交于 2019-12-08 01:06:42
问题 I am trying configure BitNami GitLab Stack 5.1.0-2 with LDAP Then ran into problem Could not authorize you from Ldap because “Server 192.168.133.100 refused connection on port 389”. where 192.168.133.100 is actually gitlab server itself. I change /opt/bitnami/apps/gitlab/htdocs/config/gitlab.yml to have ldap: enabled: true host: '192.168.1.14' , but after reboot or GitLab restart, it is back to 192.168.133.100. That is bug! How to make BitNami GitLab Stack not to do that? How to restart

Run gitlab server with bundle: command not found error

℡╲_俬逩灬. 提交于 2019-12-08 00:33:08
问题 I have no idea what happened sudo service gitlab start Starting both the GitLab Unicorn and Sidekiqscript/web: line 21: bundle: command not found ...... Check my system information System information System: Ubuntu 12.04 Current User: git Using RVM: yes RVM Version: 1.25.19 Ruby Version: 1.9.3p545 Gem Version: 2.2.2 Bundler Version:1.5.3 Rake Version: 10.1.1 GitLab information Version: 6.6.4 Revision: 42e34ae Directory: /home/git/gitlab DB Adapter: postgresql URL: http://localhost:1680 HTTP

Can you and is it advisable to use the same ssh key for github and gitlab/gitbucket

拈花ヽ惹草 提交于 2019-12-08 00:29:21
问题 Can you use the same ssh key for different version control hosting services? And if you can, what are the pros and cons? Scenario: I have ssh keys that I am using on my computer, can I and should I use the same ssh keys with gitlab/gitbucket on the same computer? 回答1: No, it is not advisable: a private key should remain used for only one service, that way you can revoke/change it just for that service. What you can do is set up a ~/.ssh/config file in which you can associate the right private

使用docker搭建gitlab-ce

巧了我就是萌 提交于 2019-12-07 23:28:33
docker搭建gitlab-ce 无互联网环境下,在外网docker pull [image],docker save [image] > [image].tar,在局域网下docker load < [image].tar 首先先创建一个空的容器卷,为了数据备份迁移方便: sudo docker pull ubuntu; sudo docker run \ --volume /home/fay/gitlabdb/gitlab/config:/etc/gitlab \ --volume /home/fay/gitlabdb/gitlab/logs:/var/log/gitlab \ --volume /home/fay/gitlabdb/gitlab/data:/var/opt/gitlab \ --name fay-gitlabdb ubuntu /bin/bash 然后创建使用上面gitlabdb数据卷的gitlab-ce容器(会将gitlabdb挂载到该容器中): sudo docker pull gitlab/gitlab-ce; sudo docker run --detach \ --hostname 0.0 . 0.0 \ --publish 10443 : 443 --publish 80 : 80 --publish 1022 : 22 \ --name fay

3步基于docker搭建gitlab-ce

心已入冬 提交于 2019-12-07 23:28:00
cat deploy_gitlab.sh #1.拉取镜像 docker pull docker.io/gitlab/gitlab-ce #2.启动服务 docker run --name='gitlab-ce' -d \ - -hostname hostname \ - -publish 443 : 443 \ - -publish 1226 : 80 \ - -publish 23 : 22 \ - p 80 : 80 \ - -restart always \ - -volume /home/gitlab/ config: /etc/gitlab \ - -volume /home/gitlab/ logs: /var/log/gitlab \ - -volume /home/gitlab/ data: /var/opt/gitlab \ gitlab/gitlab-ce docker exec -ti gitlab-ce /bin/bash gitlab -ctl reconfigure 测试: http://localhost:9994 来源: CSDN 作者: wxmgcs 链接: https://blog.csdn.net/wxm6614/article/details/78407450

How to make a gitlab changelog entry?

▼魔方 西西 提交于 2019-12-07 22:59:10
问题 I really, really, don't understand gitlab docs... I am trying to understand how to make a god damn changelog entry, I have a changelog.md file, here are the gitlab docs about this: https://docs.gitlab.com/ce/development/changelog.html But I don't understand where I have to write that, for example $ bin/changelog 'Hey DZ, I added a feature to GitLab!' It must be a terminal but where? And what's that '$'... 回答1: It must be a terminal but where? Where you have cloned the GitLab repo. In that

retrieving post data from web hook in jenkins

前提是你 提交于 2019-12-07 21:50:49
问题 I am using gitlab and I want to fire a system hook whenever a project is created. I have added the hook with the following jenkins api call(I am using a jenkins plugin that is why the api looks different). http://myip:8081/buildByToken/buildWithParameters?job=testHook&token=hook this is starting the jenkins job but I am unable to get the post data sent by the hook in my jenkins job. the following is an example of what gitlab sends as post data with this hook. { "created_at": "2012-07-21T07:30

阿里云+GitLab+Jenkins自动化部署SpringBoot项目

扶醉桌前 提交于 2019-12-07 19:21:18
1.Jenkins介绍 Jenkins是一个开源软件项目,是基于Java开发的一种持续集成工具,用于监控持续重复的工作,旨在提供一个开放易用的软件平台,使软件的持续集成变成可能。 (以上介绍来源于百度百科) 其实通俗来说,Jenkins就是一个自动化部署项目的工具,帮我省去重复的运维工作。 2.环境准备 部署环境需要的工具,安装的资料网上都有很多,可以自行安装配置 JDK Git Maven 环境变量 Java的环境变量我没配置,我安装的jdk版本环境变量自动有了 Jenkins jenkins安装方式常见的有三种 1.在官网下载war包部署在tomcat中 2.通过docker部署 3.通过yum install jenkins 安装 我选用的是第三种。安装步骤如下 sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key sudo yum install jenkins service jenkins start 启动 service jenkins stop 停止 service jenkins restart 重启

GitLab does not create new repository

浪尽此生 提交于 2019-12-07 18:14:27
The issue occurs when creating a repository in gitlab and then pushing to the repository. git remote add gitlab git@git.metacloud.ca:mike.ch/helloworld.git git push -u gitlab master result: Please make sure you have the correct access rights and the repository exists. I checked the repository folder in the gitlab home. it creates the helloworld.wiki.git files but not the helloworld.git I have seen multiple posts on this issue and I have tried the following solutions. Creating project in 6.0 results in no repository sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production sudo -u