2022-05-25 14:28:19 -04:00
|
|
|
workspace:
|
|
|
|
base: /usr/src
|
|
|
|
path: app
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: node:16
|
|
|
|
commands:
|
|
|
|
- apt update && apt install -y ruby ruby-dev && gem install sass
|
|
|
|
- npm install
|
|
|
|
- npm run grunt
|
|
|
|
|
|
|
|
package_linux:
|
|
|
|
image: electronuserland/builder:16
|
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- npm run build-linux
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
|
2022-05-25 16:25:10 -04:00
|
|
|
package_windows:
|
|
|
|
image: electronuserland/builder:16-wine-mono
|
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- npm run build-windows
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
|
2022-05-25 14:28:19 -04:00
|
|
|
gitea_release:
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_api_key
|
|
|
|
base_url: https://git.metaunix.net
|
|
|
|
title: "${CI_COMMIT_TAG}"
|
|
|
|
files:
|
|
|
|
- dist/sentry*.deb
|
|
|
|
- dist/sentry*.rpm
|
2022-05-25 16:25:43 -04:00
|
|
|
- dist/sentry*.exe
|
2022-05-25 14:28:19 -04:00
|
|
|
when:
|
|
|
|
event: tag
|