aboutsummaryrefslogtreecommitdiff
path: root/ci/taskfile.yaml
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-02-26 22:27:02 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2024-02-26 22:27:02 -0500
commite7dfedc8b67593b377f4a1c3b2cc213df5de2530 (patch)
tree86d1d3eb4d57ccf99ed818ba73fc7331f6518bf6 /ci/taskfile.yaml
parentbd3a7a25792b837c5f28c7580adf132abc6f35e7 (diff)
ci: readme flesh out & ci pipeline fixes
Diffstat (limited to 'ci/taskfile.yaml')
-rw-r--r--ci/taskfile.yaml12
1 files changed, 11 insertions, 1 deletions
diff --git a/ci/taskfile.yaml b/ci/taskfile.yaml
index 1a36e41..a27b1ac 100644
--- a/ci/taskfile.yaml
+++ b/ci/taskfile.yaml
@@ -18,6 +18,9 @@ includes:
container:
dir: container #always run from the container directory
taskfile: container/Taskfile.yaml
+ vars:
+ BUILDS_URL: '{{.BUILDS_URL}}'
+ PACKAGE_FILE_NAME: "sb-alpine3.19-oci.tgz" #the name of the output package file
tasks:
@@ -30,7 +33,9 @@ tasks:
#copy setup script for linux
- cmd: powershell -Command "mkdir lib -Force"
ignore_error: true
- - cmd: powershell -Command "cp setup.sh lib/ -Force"
+ - cmd: wsl dos2unix ./setup.sh #convert the setup script to unix line endings for linux
+ platform: [ win-x64 ]
+ - powershell -Command "cp setup.sh lib/ -Force"
- task: install-plugins
- task: install-webserver
@@ -55,6 +60,11 @@ tasks:
vars:
TARGET_OS: '{{.ITEM}}'
+ #cleanup unnecessary build files that clog up the pipeline
+ - for: [ build, plugins, dist, lib ]
+ cmd: powershell -Command "rm -Recurse '{{.ITEM}}'"
+ ignore_error: true
+
- task: container:postbuild_success
install-plugins: