GithubHelp home page GithubHelp logo

hifis-net / ansible-role-gitlab-runner Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 2.0 741 KB

:warning: PLEASE NOTE: This role has been migrated to our hifis.toolkit collection. :warning: Ansible role for deploying GitLab-Runner. The role is optimized for use with Openstack.

Home Page: https://galaxy.ansible.com/ui/repo/published/hifis/toolkit/

License: Other

Jinja 100.00%
gitlab gitlab-ci gitlab-runner ansible ansible-role openstack docker

ansible-role-gitlab-runner's People

Contributors

christianhueserhzdr avatar dependabot[bot] avatar normo avatar tharun634 avatar tobiashuste avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-role-gitlab-runner's Issues

Molecule folder not linted by molecule lint

When providing . as the folder path of the lintables to ansible-lint it does not lint the folder molecule/default containing converge.yml, prepare.yml, verify.yml, hence folder molecule/ need to be added to the ansible-lint call in the molecule lint commands.

Linting violations need to be fixed alongside this change:

WARNING  Listing 3 violation(s) that are fatal
name[missing]: All tasks should be named.
molecule/default/prepare.yml:10 Task/Handler: block/always/rescue 

name[missing]: All tasks should be named.
molecule/default/prepare.yml:20 Task/Handler: block/always/rescue 

name[missing]: All tasks should be named.
molecule/default/verify.yml:61 Task/Handler: block/always/rescue 

 Rule Violation Summary              
 count tag           profile rule associated tags 
     3 name[missing] basic   idiom

Allow to disable local Docker volumes based cache

The Docker executor has two levels of caching: a global one (like any other executor) and a local cache based on Docker volumes. The configuration flag disable_cache acts only on the local one which disables the use of automatically created (not mapped to a host directory) cache volumes.

Errors on first run in check_mode

The role fails when applying in check_mode on a fresh target host:

TASK [hifis.gitlab_runner : Create SSH key pair for communicating with Runners.] ***
fatal: [gitlabcomhzdr]: FAILED! => {"changed": false, "msg": "The directory /etc/gitlab-runner does not exist or the file is not a directory", "name": "/etc/gitlab-runner"}

Provide citation metadata

Manage citation metadata as part of the source code repository by providing a file codemeta.json (machine-readable information about your software including citation metadata) or providing a file CITATION.cff (human/machine-readable citation metadata).

Switch from molecule-docker to molecule-podman

In order to be prepared for the upcoming changes to the ubuntu-latest image in GitHub Actions, which is expected to run with `cgroupsv2´ enabled, we will be experiencing issues with systemd in docker.

Several posts seem to confirm, that Docker, systemd and cgroupsv2 don't really work together:

One solution is to completely get rid of Docker and switch to Podman instead, which is what I suggest to do.

\cc @Normo and @christianhueserhzdr

Allow to remove session_server configuration

Currently, the session_server configuration can be added and changed, but it cannot be removed. Allow a user of the role to be able to remove the session_server configuration.

v2.0.0 release summary

UPGRADE NOTES AND BREAKING CHANGES:

As of this release the role switched to the new runner registration workflow.
The ability to pass a deprecated runner registration token has been removed.
Please use a runner authentication token to register your runner.
The registration_token parameter has been replaced by authentication_token.
Please make sure that you adjust your config accordingly. More...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.