This commit is contained in:
parent
3de47aa3e3
commit
10b91991a9
|
@ -1,5 +1,5 @@
|
||||||
steps:
|
steps:
|
||||||
check-tag:
|
"Verify tag and app version":
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- TAG=${CI_COMMIT_TAG/v//}
|
- TAG=${CI_COMMIT_TAG/v//}
|
||||||
|
@ -7,7 +7,7 @@ steps:
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag]
|
||||||
|
|
||||||
dependencies:
|
"Install dependencies":
|
||||||
image: node:16
|
image: node:16
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
|
@ -16,13 +16,13 @@ steps:
|
||||||
event: [tag, push, pull_request, manual]
|
event: [tag, push, pull_request, manual]
|
||||||
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
||||||
|
|
||||||
osv-detector:
|
"Check dependencies":
|
||||||
image: gitnet.fr/deblan/osv-detector:v0.10
|
image: gitnet.fr/deblan/osv-detector:v0.10
|
||||||
commands:
|
commands:
|
||||||
- osv-detector package-lock.json
|
- osv-detector package-lock.json
|
||||||
failure: ignore
|
failure: ignore
|
||||||
|
|
||||||
build-js:
|
"Build JS":
|
||||||
image: node:16
|
image: node:16
|
||||||
commands:
|
commands:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
@ -30,7 +30,7 @@ steps:
|
||||||
event: [tag, push, pull_request, manual]
|
event: [tag, push, pull_request, manual]
|
||||||
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
||||||
|
|
||||||
build-translations:
|
"Build translations":
|
||||||
image: deblan/php:8.0
|
image: deblan/php:8.0
|
||||||
commands:
|
commands:
|
||||||
- php bin/generate_l10n.php
|
- php bin/generate_l10n.php
|
||||||
|
@ -38,7 +38,7 @@ steps:
|
||||||
event: [tag, push, pull_request, manual]
|
event: [tag, push, pull_request, manual]
|
||||||
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
||||||
|
|
||||||
create-signature:
|
"Create signature":
|
||||||
image: nextcloud:25
|
image: nextcloud:25
|
||||||
secrets: [app_certificate, app_public_certificate]
|
secrets: [app_certificate, app_public_certificate]
|
||||||
environment:
|
environment:
|
||||||
|
@ -73,7 +73,7 @@ steps:
|
||||||
# when:
|
# when:
|
||||||
# event: [pull_request]
|
# event: [pull_request]
|
||||||
|
|
||||||
create-package:
|
"Create package":
|
||||||
image: deblan/php:8.0
|
image: deblan/php:8.0
|
||||||
volumes:
|
volumes:
|
||||||
- /var/www/html/artifacts:/var/www/html/artifacts
|
- /var/www/html/artifacts:/var/www/html/artifacts
|
||||||
|
@ -89,7 +89,7 @@ steps:
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag]
|
||||||
|
|
||||||
push-release:
|
"Push release":
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
volumes:
|
volumes:
|
||||||
- /var/www/html/artifacts:/var/www/html/artifacts
|
- /var/www/html/artifacts:/var/www/html/artifacts
|
||||||
|
|
Loading…
Reference in a new issue