https://github.com/ci-for-research/gitlab-runner

Recipe to install an configure a gitlab-runner using ansible

https://github.com/ci-for-research/gitlab-runner

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.9%) to scientific vocabulary

Keywords

ansible continuous-integration gitlab-ci
Last synced: 5 months ago · JSON representation

Repository

Recipe to install an configure a gitlab-runner using ansible

Basic Info
  • Host: GitHub
  • Owner: ci-for-research
  • License: apache-2.0
  • Default Branch: master
  • Homepage:
  • Size: 17.6 KB
Statistics
  • Stars: 7
  • Watchers: 3
  • Forks: 1
  • Open Issues: 2
  • Releases: 0
Topics
ansible continuous-integration gitlab-ci
Created almost 7 years ago · Last pushed over 6 years ago
Metadata Files
Readme License

README.md

What is this repository for?

GitLab CI/CD for GitHub allows to host the code on GitHub and test it on GitLab. This repository contains a recipe to use the GitLab CI/CD infrastucture with a GitHub repository. The recipe installs and configures a GitLab-runner using ansible.

Step to install and register a GitLab Runner

Before going through the following steps, make sure that you have a GitLab account then follow the instructions described at using the GitLab CI/CD with GitHub.

  1. Install Ansible in your computer.
  2. Clone this repo.
  3. Edit the inventory file with the address of the server(s) where you want to install the runner.
  4. Edit the playbook file with the remote_user name for the hosts.
  5. Make sure that you can ssh to your server(s).
  6. Install the runner with the following command: ansible-playbook -i inventory playbook.yml

Note:

The script will ask you for a token for your new runner, you can find such token in the configuration of the CI/CD at the mirror repository that GitLab automatically creates for you. See the configuration instructions.

Tags

GitLabCI makes use of tags to select a specific runner from the available pool. You can create your own tag to name your GitLab-runner and use it as default. You can replace the name of the tag in the playbook.yml file.

Supported OS

Currently the recipe only works for Ubuntu and Debian

Owner

  • Name: ci-for-research
  • Login: ci-for-research
  • Kind: organization

GitHub Events

Total
Last Year