aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-05-15 15:37:53 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-05-15 15:37:53 -0400
commita710553aa5c0484b6934b8a5d4d16b1eb3ff2a88 (patch)
tree49a1fb5b900e6e6633829d224ace067b2cfe9064 /ci
parent372eb6a32a9891afb5035caa0805e8ed878416d8 (diff)
ci: Admin form clear, polish build and release taskfiels
Diffstat (limited to 'ci')
-rw-r--r--ci/release.taskfile.yaml3
-rw-r--r--ci/taskfile.yaml21
2 files changed, 17 insertions, 7 deletions
diff --git a/ci/release.taskfile.yaml b/ci/release.taskfile.yaml
index 7fecb07..14806bc 100644
--- a/ci/release.taskfile.yaml
+++ b/ci/release.taskfile.yaml
@@ -14,12 +14,14 @@ vars:
tasks:
default:
desc: "Runs the Simple-Bookmark server"
+ interactive: true
cmds:
- task: run
run:
desc: "Runs the Simple-Bookmark server"
silent: true
+ interactive: true
env:
#libraries intentionally do not have extensions, for cross-platform compatibility, the server will load them regardless
VNLIB_SHARED_HEAP_FILE_PATH: lib/vnlib_rpmalloc.dll
@@ -89,6 +91,7 @@ tasks:
create-cert:
desc: "Genereates a new self-signed TLS certificate"
+ interactive: true
cmds:
- openssl req -new -x509 -days 365 -keyout {{.SSL_DIR}}/key.pem -out {{.SSL_DIR}}/cert.pem -newkey ec -pkeyopt ec_paramgen_curve:{{.DEFAULT_EC_CURVE}} --nodes
diff --git a/ci/taskfile.yaml b/ci/taskfile.yaml
index e808d39..0267dec 100644
--- a/ci/taskfile.yaml
+++ b/ci/taskfile.yaml
@@ -81,6 +81,19 @@ tasks:
vars: { TARGET_OS: 'osx-arm' }
postbuild_success:
+ cmds:
+ - cmd: powershell -Command "mkdir bin -Force"
+ - task: pb-parallel
+
+ #cleanup unnecessary build files that clog up the pipeline
+ - for: [ build, plugins, dist, lib, webserver ]
+ cmd: powershell -Command "rm -Recurse '{{.ITEM}}'"
+ ignore_error: true
+
+ - task: container:postbuild_success
+
+ pb-parallel:
+ internal: true
deps:
- task: pack
vars: { TARGET_OS: 'windows-x86_64' }
@@ -95,13 +108,7 @@ tasks:
- task: pack
vars: { TARGET_OS: 'osx-arm' }
cmds:
-
- #cleanup unnecessary build files that clog up the pipeline
- - for: [ build, plugins, dist, lib, webserver ]
- cmd: powershell -Command "rm -Recurse '{{.ITEM}}'"
- ignore_error: true
-
- - task: container:postbuild_success
+ - echo "Packing complete"
create-env:
vars: