Difference between revisions of "Gitlab"

From CSLabsWiki
(Created page with "{{services |ip_addr = 128.153.145.46 |contact_person = Jared Dunbar |last_update = April 2016 |host_vm = Gitlab |vm_host = felix |services = Gitlab - Gi...")
 
Line 24: Line 24:
   
 
To log in, make sure that you either accept Talos as a CA or that you have manually added GitLab as an exception to your browser. You will need to accept Talos as your CA to access gitlab via git unless you toggle the httpVerify flag in Git to false.
 
To log in, make sure that you either accept Talos as a CA or that you have manually added GitLab as an exception to your browser. You will need to accept Talos as your CA to access gitlab via git unless you toggle the httpVerify flag in Git to false.
  +
  +
LDAP is the same as using your ldap username and password on the COSI network on the lab machines, and Local accounts are reserved for special purposes and the (non-netwokred) admins.
   
 
=Build=
 
=Build=

Revision as of 16:27, 24 April 2016

Gitlab
IP Address(es): 128.153.145.46
Contact Person: Jared Dunbar
Last Update: April 2016
VM Host (Physical): felix
Host VM: Gitlab
Services: Gitlab - Git and Build Testing Services
LDAP Support: yes


Hostname: [1]
Operating system: Debian
LDAP Support: no
Development Status: Stable
Status: running


GitLab is a git server and test build server. It can build your C, C++, LaTeX, Java (8?), python and python3 via a makefile and a .gitlab-ci.yml

To log in, make sure that you either accept Talos as a CA or that you have manually added GitLab as an exception to your browser. You will need to accept Talos as your CA to access gitlab via git unless you toggle the httpVerify flag in Git to false.

LDAP is the same as using your ldap username and password on the COSI network on the lab machines, and Local accounts are reserved for special purposes and the (non-netwokred) admins.

Build

To have a buildable commit, make sure that you already have a makefile that Make detects, then use the following to execute it internally:

.gitlab-ci.yml

 
job make:
    script: "make"

Once you add that to your commits, it will build them. Don't expect it to build your older commits that don't have that file though, or the makefile. If you are not using a makefile, go online to find out how to use the file to make custom build scripts.

Git Stuff

Git doesn't like it when you try to do stuff without verified SSL

To disable SSL checking on your system:

git config --global httpVerify false

To disable SSL checking for just a repo:

git config --local httpVerify false

If you want it to not work this way (I would not recommend it) I would add Talos to your list of CA's in your system. That is beyond the scope of this page though, check out the OpenSSL CA page to do that.