mirror of
https://github.com/YunoHost-Apps/gitlab-runner_ynh.git
synced 2024-09-03 19:15:58 +02:00
49 lines
No EOL
1.7 KiB
JSON
49 lines
No EOL
1.7 KiB
JSON
[
|
|
{
|
|
"id": "register",
|
|
"name": "Register",
|
|
"command": "/bin/bash scripts/actions/register",
|
|
"user": "root",
|
|
"accepted_return_codes": [
|
|
0
|
|
],
|
|
"description": {
|
|
"en": "Add this runner to a new repo/GitLab instance.",
|
|
"fr": "Ajoute ce runner à un nouveau·elle dépôt/instance GitLab."
|
|
},
|
|
"arguments": [
|
|
{
|
|
"name": "gitlab_url",
|
|
"type": "string",
|
|
"ask": {
|
|
"en": "Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com)",
|
|
"fr": "Veuillez entrer l'URL du coordinateur gitlab-ci (par ex. https://gitlab.com)"
|
|
},
|
|
"example": "https://gitlab.com/"
|
|
},
|
|
{
|
|
"name": "token",
|
|
"type": "password",
|
|
"ask": {
|
|
"en": "Please enter the gitlab-ci token for this runner",
|
|
"fr": "Veuillez entrer le jeton gitlab-ci pour ce runner"
|
|
},
|
|
"help": {
|
|
"en": "This token can be retrived at this location: Gitlab Project->Settings->Runner",
|
|
"fr": "Ce token peut être récupéré à cet emplacement : Projet Gitlab->Settings->Runner"
|
|
},
|
|
"example": "xxx"
|
|
},
|
|
{
|
|
"name": "docker_image",
|
|
"type": "string",
|
|
"ask": {
|
|
"en": "Please enter the Docker image",
|
|
"fr": "Veuillez entrer l'image du Docker"
|
|
},
|
|
"example": "ruby:2.1",
|
|
"default": "alpine:latest"
|
|
}
|
|
]
|
|
}
|
|
] |