mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
Merge pull request #249 from YunoHost-Apps/testing
#245 fix user creation
This commit is contained in:
commit
773e2b8d20
10 changed files with 72 additions and 23 deletions
|
@ -1,6 +1,7 @@
|
|||
# All available README files by language
|
||||
|
||||
- [Read the README in English](README.md)
|
||||
- [Lee el README en español](README_es.md)
|
||||
- [Irakurri README euskaraz](README_eu.md)
|
||||
- [Lire le README en français](README_fr.md)
|
||||
- [Le o README en galego](README_gl.md)
|
||||
|
|
|
@ -18,7 +18,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features
|
||||
|
||||
**Shipped version:** 16.11.1~ynh1
|
||||
**Shipped version:** 16.11.2~ynh1
|
||||
|
||||
**Demo:** <https://gitlab.com/explore>
|
||||
|
||||
|
|
49
README_es.md
Normal file
49
README_es.md
Normal file
|
@ -0,0 +1,49 @@
|
|||
<!--
|
||||
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
No se debe editar a mano.
|
||||
-->
|
||||
|
||||
# GitLab para Yunohost
|
||||
|
||||
[![Nivel de integración](https://dash.yunohost.org/integration/gitlab.svg)](https://dash.yunohost.org/appci/app/gitlab) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/gitlab.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/gitlab.maintain.svg)
|
||||
|
||||
[![Instalar GitLab con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitlab)
|
||||
|
||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete le permite instalarGitLab rapidamente y simplement en un servidor YunoHost.*
|
||||
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||
|
||||
## Descripción general
|
||||
|
||||
Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features
|
||||
|
||||
**Versión actual:** 16.11.2~ynh1
|
||||
|
||||
**Demo:** <https://gitlab.com/explore>
|
||||
|
||||
## Capturas
|
||||
|
||||
![Captura de GitLab](./doc/screenshots/GitLab_running_11.0_(2018-07).png)
|
||||
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <https://gitlab.com>
|
||||
- Documentación administrador oficial: <https://docs.gitlab.com/>
|
||||
- Repositorio del código fuente oficial de la aplicación : <https://gitlab.com/gitlab-org/omnibus-gitlab - https://gitlab.com/gitlab-org/gitlab>
|
||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/gitlab>
|
||||
- Reportar un error: <https://github.com/YunoHost-Apps/gitlab_ynh/issues>
|
||||
|
||||
## Información para desarrolladores
|
||||
|
||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/gitlab_ynh/tree/testing
|
||||
|
||||
Para probar la rama `testing`, sigue asÍ:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/gitlab_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade gitlab -u https://github.com/YunoHost-Apps/gitlab_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
|
@ -18,7 +18,7 @@ EZ editatu eskuz.
|
|||
|
||||
Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features
|
||||
|
||||
**Paketatutako bertsioa:** 16.11.1~ynh1
|
||||
**Paketatutako bertsioa:** 16.11.2~ynh1
|
||||
|
||||
**Demoa:** <https://gitlab.com/explore>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
|
|||
|
||||
Gestionnaire de dépôts Git proposant des fonctionnalités de wiki, suivi de bugs et de pipeline CI/CD
|
||||
|
||||
**Version incluse :** 16.11.1~ynh1
|
||||
**Version incluse :** 16.11.2~ynh1
|
||||
|
||||
**Démo :** <https://gitlab.com/explore>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ NON debe editarse manualmente.
|
|||
|
||||
Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features
|
||||
|
||||
**Versión proporcionada:** 16.11.1~ynh1
|
||||
**Versión proporcionada:** 16.11.2~ynh1
|
||||
|
||||
**Demo:** <https://gitlab.com/explore>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
请勿手动编辑。
|
||||
-->
|
||||
|
||||
# YunoHost 的 GitLab
|
||||
# YunoHost 上的 GitLab
|
||||
|
||||
[![集成程度](https://dash.yunohost.org/integration/gitlab.svg)](https://dash.yunohost.org/appci/app/gitlab) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gitlab.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gitlab.maintain.svg)
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features
|
||||
|
||||
**分发版本:** 16.11.1~ynh1
|
||||
**分发版本:** 16.11.2~ynh1
|
||||
|
||||
**演示:** <https://gitlab.com/explore>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "GitLab"
|
|||
description.en = "Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features"
|
||||
description.fr = "Gestionnaire de dépôts Git proposant des fonctionnalités de wiki, suivi de bugs et de pipeline CI/CD"
|
||||
|
||||
version = "16.11.1~ynh1"
|
||||
version = "16.11.2~ynh1"
|
||||
|
||||
maintainers = ["kay0u"]
|
||||
|
||||
|
|
|
@ -128,15 +128,14 @@ ynh_add_nginx_config client_max_body_size
|
|||
#=================================================
|
||||
ynh_script_progression --message="Creating an administrator user..." --weight=13
|
||||
|
||||
mailadmin=$(ynh_user_get_info --username=$admin --key=mail)
|
||||
mailAdmin=$(ynh_user_get_info --username=$admin --key=mail)
|
||||
fullnameAdmin=$(ynh_user_get_info --username=$admin --key=fullname)
|
||||
rdmPass=$(ynh_string_random --length=30)
|
||||
|
||||
echo "newuser = User.new({ \"email\"=>'$mailadmin', \"username\"=>'$admin', \"name\"=>'$admin', \"password\"=>'$rdmPass'})
|
||||
newuser.admin = true
|
||||
newuser.confirmed_at = Time.now
|
||||
newuser.confirmation_token = nil
|
||||
newuser.save!
|
||||
ApplicationSetting.last.update(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console
|
||||
gitlab-rails runner "newuser = User.new(username: \"$admin\", email: \"$mailAdmin\", name: \"$fullnameAdmin\", password: \"$rdmPass\", admin: true, skip_confirmation: true);\
|
||||
newuser.assign_personal_namespace(Organizations::Organization.default_organization);\
|
||||
newuser.save!;\
|
||||
ApplicationSetting.last.update(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account);"
|
||||
|
||||
#=================================================
|
||||
# RECONFIGURE TO TAKE INTO ACCOUNT CHANGES
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
gitlab_version="16.11.1"
|
||||
gitlab_version="16.11.2"
|
||||
|
||||
# Upgrade path: https://gitlab-com.gitlab.io/support/toolbox/upgrade-path/
|
||||
# sha256sum found here: https://packages.gitlab.com/gitlab
|
||||
gitlab_debian_version="$(lsb_release -sc)"
|
||||
|
||||
gitlab_x86_64_bookworm_source_sha256="23fe5d12e90cfbdeadabfea85594497f1c3e44b7c49ae1541571f8f2556e74f3"
|
||||
gitlab_x86_64_bullseye_source_sha256="3894448de581f9d77706c0ef95fc341d93b3d0882687f69557e8ff8a87e88a47"
|
||||
gitlab_x86_64_buster_source_sha256="783ad4707bda7fdf21474aeaae9be81619b14aa90ee65768d3066847acd19a9b"
|
||||
gitlab_x86_64_bookworm_source_sha256="339c827c08697817df5ed05387df9a58d2bf138181bb9c2b7b11a3803ab12e7c"
|
||||
gitlab_x86_64_bullseye_source_sha256="6199c64689c31cf48225d064001f645540c139931699930fba4a9ad1e539c205"
|
||||
gitlab_x86_64_buster_source_sha256="433bd5d6d2988b276d3767912e3035f3eb913d7e98a7ceb46e0325a4be0af0b4"
|
||||
|
||||
gitlab_arm64_bookworm_source_sha256="221ed443a50ade732df2ccf412aba4e46d65ca7108b93c88178ff77a827c82ef"
|
||||
gitlab_arm64_bullseye_source_sha256="c0397400eae391921f457d37e2724c9ea465b2613cc950b6b68c633fef168f3a"
|
||||
gitlab_arm64_buster_source_sha256="5fef5d810001807d2fca870e49b6e8e28b57ebd58e798680c7451dfbb9230920"
|
||||
gitlab_arm64_bookworm_source_sha256="98e259ffe7c1466836b762c7b41e7d1203b31cc440129046ec1ca0072ae76df1"
|
||||
gitlab_arm64_bullseye_source_sha256="9c53d88dff37bd64b1e5d9832edec5984a6420475d21dc32cb46281268eaafec"
|
||||
gitlab_arm64_buster_source_sha256="951bb731adf2177b1fd74b0cc0f774cd7ee3b4ea951216cf1f245a78bcbc6159"
|
||||
|
||||
gitlab_arm_bookworm_source_sha256=""
|
||||
gitlab_arm_bullseye_source_sha256="3500b408d5f69fdaae33d5e19f397495fd56c12616fa4286e2ddf0ccab208696"
|
||||
gitlab_arm_buster_source_sha256="c37f95a5ce8522b4b8f9314fc83a5759d6c27e188ef1c0bc16ade573f3ced294"
|
||||
gitlab_arm_bullseye_source_sha256="56180fb6c7565fbccff14d868ccb3412a89c11212726a91e576df8fce5d79288"
|
||||
gitlab_arm_buster_source_sha256="b5e42c8f3c32683df957d1522c39af0165a33e27132a55fb18690db56f662ab8"
|
||||
|
||||
architecture=$(ynh_app_setting_get --app="$app" --key=architecture)
|
||||
|
||||
|
|
Loading…
Reference in a new issue