diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..77b7509 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,6 @@ # All available README files by language - [Read the README in English](README.md) +- [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) -- [Leggi il “README” in italiano](README_it.md) diff --git a/README.md b/README.md index a2d5bf7..5074e11 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install GitLab Runner with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitlab-runner) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install GitLab Runner quickly and simply on a YunoHost server.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* @@ -19,7 +19,7 @@ It shall NOT be edited by hand. GitLab Runner is a continuous integration tool to use with a GitLab instance (YNH or not). -**Shipped version:** 16.9.0~ynh1 +**Shipped version:** 16.10.0~ynh1 ## Screenshots diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..eb2efa5 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,48 @@ + + +# GitLab Runner YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/gitlab-runner.svg)](https://dash.yunohost.org/appci/app/gitlab-runner) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/gitlab-runner.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/gitlab-runner.maintain.svg) + +[![Instalatu GitLab Runner YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitlab-runner) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek GitLab Runner YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +GitLab Runner is a continuous integration tool to use with a GitLab instance (YNH or not). + + +**Paketatutako bertsioa:** 16.10.0~ynh1 + +## Pantaila-argazkiak + +![GitLab Runner(r)en pantaila-argazkia](./doc/screenshots/ci-cd-test-deploy-illustration_2x.png) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Administratzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/gitlab-runner_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/gitlab-runner_ynh/tree/testing --debug +edo +sudo yunohost app upgrade gitlab-runner -u https://github.com/YunoHost-Apps/gitlab-runner_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index 4f2bc83..40f15e0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. GitLab Runner est un outil d'intégration continue à utiliser avec une instance GitLab (YNH ou non). -**Version incluse :** 16.9.0~ynh1 +**Version incluse :** 16.10.0~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index d4fc90f..60efb74 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. GitLab Runner is a continuous integration tool to use with a GitLab instance (YNH or not). -**Versión proporcionada:** 16.9.0~ynh1 +**Versión proporcionada:** 16.10.0~ynh1 ## Capturas de pantalla diff --git a/manifest.toml b/manifest.toml index c008edb..0173110 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "GitLab Runner" description.en = "Continuous integration tool to use with a GitLab instance (YNH or not)" description.fr = "Outil d'intégration continue à utiliser avec une instance GitLab (YNH ou non)" -version = "16.9.0~ynh1" +version = "16.10.0~ynh1" maintainers = ["kay0u"] @@ -57,14 +57,14 @@ ram.runtime = "50M" [resources] [resources.sources.main] rename = "gitlab-runner.deb" - amd64.url = "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v16.9.0/downloads/packages/deb/gitlab-runner_amd64.deb" - amd64.sha256 = "58e6d83b5de3325014b3526b3f9ea2ddc9e716fefe5678ae37519d9b534a1e92" - i386.url = "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v16.9.0/downloads/packages/deb/gitlab-runner_i386.deb" - i386.sha256 = "76cb0d6ae41cab42107a62b7289469143eb3f441d15f847f864094e755970f95" - arm64.url = "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v16.9.0/downloads/packages/deb/gitlab-runner_arm64.deb" - arm64.sha256 = "03891b0a004cdda3cf6aa5193e03b3992f90dc8d6aa96f88058643661887defc" - armhf.url = "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v16.9.0/downloads/packages/deb/gitlab-runner_armhf.deb" - armhf.sha256 = "3239e08c7a9a4a0efea472892654b3cd5d6e6e34a75279e06c83e436f6440aaa" + amd64.url = "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v16.10.0/downloads/packages/deb/gitlab-runner_amd64.deb" + amd64.sha256 = "f438740431e969c5d4bfaaeaa1451a9ced501e0ba715d9b01e882210f5bdfbbd" + i386.url = "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v16.10.0/downloads/packages/deb/gitlab-runner_i386.deb" + i386.sha256 = "49e088968423e2ad13683c7a1659ccaa949f14dbf5efd214b37abdff7bc94706" + arm64.url = "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v16.10.0/downloads/packages/deb/gitlab-runner_arm64.deb" + arm64.sha256 = "35b43b2c0fd2131cb24e39f0940b611eb74316d2151015a37d81171b9bb7c836" + armhf.url = "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v16.10.0/downloads/packages/deb/gitlab-runner_armhf.deb" + armhf.sha256 = "b885babed240e1a89c3bf7d0ed08206646b853165c579534cf7173e8c5702a00" autoupdate.upstream = "https://gitlab.com/gitlab-org/gitlab-runner" autoupdate.strategy = "latest_gitlab_release" diff --git a/scripts/install b/scripts/install index 3bd7854..42496f9 100755 --- a/scripts/install +++ b/scripts/install @@ -46,6 +46,11 @@ ynh_app_setting_set --app=$app --key=executor --value=$executor #================================================= ynh_script_progression --message="Setting up source files..." +# Make sure docker is running before installing gitlab-runner +if ! systemctl is-active --quiet docker; then + ynh_systemd_action --service_name=docker --action=restart --line_match="API listen on /run/docker.sock" +fi + tempdir="$(mktemp -d)" ynh_setup_source --dest_dir=$tempdir dpkg -i $tempdir/gitlab-runner.deb diff --git a/scripts/upgrade b/scripts/upgrade index 9cb9f94..eb7a6c9 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -32,6 +32,11 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 + # Make sure docker is running before installing gitlab-runner + if ! systemctl is-active --quiet docker; then + ynh_systemd_action --service_name=docker --action=restart --line_match="API listen on /run/docker.sock" + fi + tempdir="$(mktemp -d)" ynh_setup_source --dest_dir=$tempdir dpkg -i $tempdir/gitlab-runner.deb