1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab-runner_ynh.git synced 2024-09-03 19:15:58 +02:00

Merge pull request #105 from YunoHost-Apps/testing

Testing
This commit is contained in:
Kayou 2024-04-04 15:00:01 +02:00 committed by GitHub
commit eff59e50e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 72 additions and 14 deletions

View file

@ -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)

View file

@ -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

48
README_eu.md Normal file
View file

@ -0,0 +1,48 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# 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: <https://gitlab.com/gitlab-org/gitlab-runner>
- Administratzaileen dokumentazio ofiziala: <https://docs.gitlab.com/runner/>
- Jatorrizko aplikazioaren kode-gordailua: <https://gitlab.com/gitlab-org/gitlab-runner>
- YunoHost Denda: <https://apps.yunohost.org/app/gitlab-runner>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/gitlab-runner_ynh/issues>
## 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:** <https://yunohost.org/packaging_apps>

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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