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