29 Commits

Author SHA1 Message Date
niggl cdaa3edfa6 Basic readme update 2023-03-27 18:21:27 +02:00
philipp de0e26e9ae MSI bundle 2023-03-27 18:11:35 +02:00
philipp 671409c6af pnpm migration 2023-03-27 18:10:36 +02:00
niggl b8cd7f01aa Added missing secret 2021-04-14 18:21:06 +02:00
niggl e813dd0320 🚀New package version 0.2.0 [CI SKIP] 2021-04-14 16:16:52 +00:00
niggl 18f0fb1472 Now automagicly triggering livesystem builds
continuous-integration/drone Build is passing
2021-04-14 17:48:47 +02:00
niggl 6d5813baa9 🚀New package version 0.1.6 [CI SKIP] 2021-04-13 17:00:10 +00:00
niggl 165e36a166 Pinned branch to main
continuous-integration/drone Build is passing
2021-04-13 18:59:32 +02:00
niggl d6b4a1776c Workaround for git push issue
continuous-integration/drone Build was killed
ref #1
2021-04-13 18:51:21 +02:00
niggl bee8c9df96 Added release title
continuous-integration/drone Build is failing
2021-04-07 19:15:57 +02:00
niggl 8189fd9c0e Added tag to ignore list 2021-04-07 19:15:40 +02:00
niggl a18c5d5598 Back to appleboy for push
continuous-integration/drone Build is passing
2021-04-07 19:12:15 +02:00
niggl be482ff6f1 Added upstream
continuous-integration/drone Build is failing
2021-04-07 18:48:21 +02:00
niggl 103f9eb436 Added manual push
continuous-integration/drone Build is failing
2021-04-07 18:47:39 +02:00
niggl 6d5bcf2802 Removed pushes
continuous-integration/drone Build is passing
2021-04-07 18:47:16 +02:00
niggl 4a419d2862 Revert "Pushing manually again"
This reverts commit b5553936b0.
2021-04-07 18:46:46 +02:00
niggl b5553936b0 Pushing manually again
ref #1
2021-04-07 18:44:21 +02:00
niggl 3f7d33af91 🚀New package version 0.0.5 [CI SKIP] 2021-04-07 16:35:09 +00:00
niggl 03a9810f48 Merge branch 'main' of git.odit.services:lfk/scanclient-electron into main
continuous-integration/drone Build is passing
# Conflicts:
#	.drone.yml
2021-04-07 18:33:07 +02:00
niggl fed8eb939b Now explicitly pushing tags
ref #1
2021-04-07 18:32:48 +02:00
niggl d04bfe9faf 🚀New package version 0.0.4 [CI SKIP] 2021-04-07 16:30:47 +00:00
niggl 6fb5be4809 Now explicitly pushing tags
continuous-integration/drone Build is passing
ref #1
2021-04-07 18:30:04 +02:00
niggl c629bc673e 🚀New package version 0.0.3 [CI SKIP] 2021-04-07 16:25:50 +00:00
niggl ba56e7ecaf Added sshkey secret
continuous-integration/drone Build is passing
ref #1
2021-04-07 18:24:58 +02:00
niggl 8bec596290 Fixed remote name
continuous-integration/drone Build is failing
ref #1
2021-04-07 18:23:19 +02:00
niggl c15ecb6fb6 fixed typo
continuous-integration/drone Build is failing
ref #1
2021-04-07 18:21:24 +02:00
niggl 0233961d6f Fixed typos / missing git commands
continuous-integration/drone Build is failing
ref #1
2021-04-07 18:20:26 +02:00
niggl 582ab67098 Added api-triggered release ci
continuous-integration/drone Build is failing
ref #1
2021-04-07 18:16:50 +02:00
niggl 72c46fdbb6 Renamed tag build in ci
ref #1
2021-04-07 18:16:34 +02:00
5 changed files with 3954 additions and 8 deletions
+69 -5
View File
@@ -5,10 +5,24 @@ get:
path: odit-git-bot
name: apikey
---
kind: secret
name: git_ssh
get:
path: odit-git-bot
name: sshkey
---
kind: secret
name: ci_token
get:
path: odit-ci-bot
name: apikey
---
kind: pipeline
type: kubernetes
name: build
name: build:tag
steps:
- name: run electron packager
@@ -24,6 +38,7 @@ steps:
depends_on: ["run electron packager"]
image: plugins/gitea-release
settings:
title: Release ${DRONE_TAG}
api_key:
from_secret: gitea_token
base_url: https://git.odit.services
@@ -35,9 +50,58 @@ steps:
- sha512
- adler32
- crc32
when:
event: tag
- name: trigger live build
depends_on: ["gitea_release"]
image: idcooldi/drone-webhook
settings:
urls: https://ci.odit.services/api/repos/lfk/scanclient-live/builds?SOURCE_TAG=${DRONE_TAG}
bearer:
from_secret: ci_token
trigger:
event:
- tag
- tag
---
kind: pipeline
type: kubernetes
name: prepare:tag
steps:
- name: bump package version
image: node:alpine
commands:
- npm --no-git-tag-version version ${SOURCE_TAG}
- name: push new version to repo
image: appleboy/drone-git-push
settings:
commit: true
commit_message: 🚀New package version ${SOURCE_TAG} [CI SKIP]
author_email: bot@odit.services
followtags: false
branch: main
remote: git@git.odit.services:lfk/scanclient-electron.git
skip_verify: true
ssh_key:
from_secret: git_ssh
- name: tag
image: alpine/git
commands:
- git tag ${SOURCE_TAG} -a -m "Release ${SOURCE_TAG}"
- name: push to repo
image: appleboy/drone-git-push
settings:
commit: false
author_email: bot@odit.services
followtags: true
branch: main
remote: git@git.odit.services:lfk/scanclient-electron.git
skip_verify: true
ssh_key:
from_secret: git_ssh
trigger:
event:
exclude:
- push
- tag
include:
- custom
+1
View File
@@ -0,0 +1 @@
node-linker=hoisted
+17 -1
View File
@@ -1,3 +1,19 @@
# scanclient-electron
electron packaged scanclient
electron packaged scanclient
## Package
> Automagicly discovers your os and selects the right packager
```
pnpm i
pnpm build
```
## Bundle as MSI
> You need to install the [WiX MSI Buildtools](https://wixtoolset.org/docs/wix3/) first
```
pnpm i
pnpm build:msi
```
+11 -2
View File
@@ -1,10 +1,11 @@
{
"name": "@lfk/scanclient-electron",
"version": "0.0.0",
"version": "0.2.0",
"description": "minimal electron application",
"main": "main.js",
"scripts": {
"download": "node download.js",
"build:msi": "yarn download && electron-forge make",
"build": "yarn download && yarn electron:package",
"electron:start": "electron-forge start",
"electron:package": "electron-forge package"
@@ -14,6 +15,7 @@
"@electron-forge/maker-deb": "^6.0.0-beta.54",
"@electron-forge/maker-rpm": "^6.0.0-beta.54",
"@electron-forge/maker-squirrel": "^6.0.0-beta.54",
"@electron-forge/maker-wix": "^6.0.5",
"@electron-forge/maker-zip": "^6.0.0-beta.54",
"@taraus-he/tdunzip": "^1.0.4",
"axios": "^0.21.1",
@@ -39,6 +41,13 @@
"name": "lfk__scanclient"
}
},
{
"name": "@electron-forge/maker-wix",
"config": {
"language": 1033,
"manufacturer": "My Awesome Company"
}
},
{
"name": "@electron-forge/maker-deb",
"config": {}
@@ -50,4 +59,4 @@
]
}
}
}
}
+3856
View File
File diff suppressed because it is too large Load Diff