Git hosting for co-operators : GitLab at git.coop


#1

Thank to testing by @lwm we are please to announce that GitLab CI is now available on the Co-operative GitLab server at git.coop using Docker and it is set to use debian:latest.

I’m now looking at setting up GitLab Container Registry.

See this Loomio thread for the background story of this service.


GitHub Co-operative?
#2

Thanks @chris! Great to see this happening. I believe git.coop is now more compelling than ever.


#3

Thanks @lwm, I have started having a play with it and have got Ansible printing “Hello world!”, next job is to get it doing something more useful. :slight_smile:


#4

Sounds great, Chris. Good work!


#5

Over the last week @kate and I have setup a system for managing bind zonefiles at git.coop and I’m rather pleased with this, it means that not very technical people have a web based interface to edit their domain name zone files and more technical people have the option to integrate domain name management into other processes.

When a edit is submitted we use GitLab CI to spin up a Debian Docker container to test the zone files in:

before_script:
  - apt update
  - apt install -y bind9utils dnsutils wget
  - wget https://git.coop/webarch/scripts/raw/master/bin/named-checkserial
test:
  script:
    - for zone in *.hosts; do named-checkzone localhost $zone; done
    - for zone in *.hosts; do named-checkzone $(echo $zone | sed 's/\.hosts$//') $zone; done
    - for zone in *.hosts; do bash ./named-checkserial $zone; done

This takes less than a minute to run and ends with an output like this:

$ for zone in *.hosts; do named-checkzone localhost $zone; done
zone localhost/IN: loaded serial 2018041601
OK
$ for zone in *.hosts; do named-checkzone $(echo $zone | sed 's/\.hosts$//') $zone; done
zone example.org.uk/IN: loaded serial 2018041601
OK
$ for zone in *.hosts; do bash ./named-checkserial $zone; done
Serial number for example.org.uk in example.org.uk.hosts has been increased compared to the live version.
Job succeeded

Then our four (two in Sheffield, one in Iceland and one in Luxembourg) DNS servers update with the changes.

We are currently offering this service for a one-off setup of £60.