https://github.com/ci-for-research/gitlab-runner
Recipe to install an configure a gitlab-runner using ansible
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
Repository
Recipe to install an configure a gitlab-runner using ansible
Basic Info
Statistics
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 2
- Releases: 0
Topics
Metadata Files
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.
- Install Ansible in your computer.
- Clone this repo.
- Edit the inventory file with the address of the server(s) where you want to install the runner.
- Edit the playbook file with the
remote_username for the hosts. - Make sure that you can ssh to your server(s).
- 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
- Repositories: 3
- Profile: https://github.com/ci-for-research