use specifics images in ci

This commit is contained in:
Simon Vieille 2023-03-17 17:10:56 +01:00
parent 5df389dd42
commit 1eb392834c
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -1,8 +1,10 @@
pipeline:
dependencies:
image: gitnet.fr/deblan/devenv
image: node:16
pull: true
commands:
- make dep
- npm i
- npm link @nextcloud/vue
when:
event: [tag, push, pull_request]
branch: [master, develop, feature/*, translations]
@ -14,9 +16,9 @@ pipeline:
failure: ignore
build:
image: gitnet.fr/deblan/devenv
image: node:16
commands:
- make build
- npm run build
when:
branch: [master, develop, feature/*, translations]
event: [push, pull_request]
@ -37,11 +39,13 @@ pipeline:
event: [pull_request]
package:
image: gitnet.fr/deblan/devenv
image: deblan/php:8.0
volumes:
- /var/www/html/artifacts:/var/www/html/artifacts
secrets: [app_certificate]
commands:
- apt-get update
- apt-get install -y zip make
- mkdir -p "$HOME/.nextcloud/certificates"
- echo "$APP_CERTIFICATE" > "$HOME/.nextcloud/certificates/side_menu.key"
- export VERSION=$(grep "<version>" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never)