Comments (13)
I would like to add a +1 for this needs to be supported sooner rather then later. Gitlab 17.0 is slated to be released on 2024-05-16 according to their own page here https://about.gitlab.com/upcoming-releases/
It would also be to assume that 17.0 would roll out on the SaaS site gitlab.com soon after that and then this feature would stop working in this ansible module and ppl who register runners with this module probably would have to revert back to something that @ykslol mentions in previous comments and just run that set of code as a bash script or something
from ansible-gitlab-runner.
In our company we have this on our Radar and want to implement this in the next weeks
from ansible-gitlab-runner.
Duplicate of #269
from ansible-gitlab-runner.
Duplicate of #269
Yes, but that issues is closed. I also want the feature @ykslol proposes, so I think it would be nice to have an open issue on it? (Or reopen #269 )
from ansible-gitlab-runner.
@osksa i think it is no matter which task should be opened.
I think i could to post all info, which i posted here, in old task, when it be reopened. And then we could continue our discussion there.
Offtopic - may be required other issue started
Today i registered runner by hands via binary. In new version of this role i think we need to make deprecation for repo installation. This features were added in installation via binary:
From gitlab-docs:
# Download the binary for your system
sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
# Give it permission to execute
sudo chmod +x /usr/local/bin/gitlab-runner
# Create a GitLab Runner user
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash
# Install and run as a service
sudo gitlab-runner install --user=gitlab-runner --working-directory=/home/gitlab-runner
sudo gitlab-runner start
Really simple - no repo installation any more.
Just download, install via builtin runner command and register it with parameters which u need.
With new workflow of gitlab registration - runners management will be much more easy. And this role logic will be simpler
from ansible-gitlab-runner.
sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
I am pretty sure a lot of organisations will start to freak out on things like this. Placing binary files directly from the internet. I am not saying i have something better at the moment, i think we as community need to come up with something solid. Using 'latest' is maybe also not the best approach for some too.
from ansible-gitlab-runner.
Then its just 'company work' right? 😎
from ansible-gitlab-runner.
:)
from ansible-gitlab-runner.
Seems this message did not get a lot of love. This does not mean it was not seen but time wise might not have made it to proper attention. This is just the clean up action ;)
from ansible-gitlab-runner.
maybe need to change those bot things a bit..
from ansible-gitlab-runner.
Rather than using curl, how about using the community.general.gitlab_runner module? It can be used for registering the runner using both the old and new registration methods and it returns a token which can be written to the runner config.
from ansible-gitlab-runner.
This is a great idea!
from ansible-gitlab-runner.
Seems this message did not get a lot of love. This does not mean it was not seen but time wise might not have made it to proper attention. This is just the clean up action ;)
from ansible-gitlab-runner.
Related Issues (20)
- Support for AlmaLinux HOT 3
- Support for (pre,post)_*_script in gitlab-runner config HOT 2
- Set additional services is failing due to missing variable HOT 8
- Invalid config.toml for azure and gcp cache HOT 3
- How to set custom_build_dir_enabled as variable HOT 1
- Error when upgrading from gitlab-runner version 15.0.0 to 16.6.0 HOT 2
- Default branch name HOT 5
- Debian Unhold: Failed to find package from ansible-core >=2.16 HOT 1
- Support for docker tmpfs options HOT 2
- Galaxy role renamed back from ansible-gitlab-runner to gitlab-runner HOT 10
- Reactivating Tests: Topic "systemd and docker" HOT 2
- Causes failures when included by ansible-lint HOT 1
- Can't find package `gitlab-runner` HOT 5
- tls_ca_file not included in container registration HOT 1
- Runtime owner and group for container setup HOT 1
- Deploy multiple executors to single VM
- Fails when GPG key of https://packages.gitlab.com/runner/gitlab-runner is expired HOT 7
- Gitlab-runner does not get deployed correctly after adding additional lines to the configuration HOT 1
- Runner is not being unregistered from Gitlab instance, when setting `state: absent` HOT 2
- (Debian) Install GitLab Runner fail when update in 22.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-gitlab-runner.