aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Vaughn Nugent <public@vaughnnugent.com>2023-01-09 00:12:34 +0000
committerLibravatar Vaughn Nugent <public@vaughnnugent.com>2023-01-09 00:12:34 +0000
commit4e33bf6c8cb365fd771f7e06649c4f49d3397463 (patch)
treea953389a962326a7e243901319bcb241e453085f
parent71cb33477bf92f1f24010811e779d49f44bbe9f2 (diff)
Add .onedev-buildspec.yml
-rw-r--r--.onedev-buildspec.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
new file mode 100644
index 0000000..44ee930
--- /dev/null
+++ b/.onedev-buildspec.yml
@@ -0,0 +1,44 @@
+version: 17
+jobs:
+- name: Push to GitHub
+ steps:
+ - !PushRepository
+ name: GitHub Sync
+ remoteUrl: https://github.com/VnUgE/VNLib.Core.git
+ userName: VnUgE
+ passwordSecret: git-access-token
+ withLfs: false
+ force: false
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ triggers:
+ - !TagCreateTrigger
+ projects: VNLib.Core
+ - !BranchUpdateTrigger
+ projects: VNLib.Core
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ cpuRequirement: 250
+ memoryRequirement: 256
+ timeout: 3600
+- name: Pull from GitHub
+ steps:
+ - !PullRepository
+ name: Sync from GitHub
+ remoteUrl: https://github.com/VnUgE/VNLib.Core.git
+ userName: VnUgE
+ passwordSecret: git-access-token
+ refs: refs/heads/* refs/tags/*
+ withLfs: false
+ force: false
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ triggers:
+ - !ScheduleTrigger
+ cronExpression: 0 15 10 ? * *
+ projects: VNLib.Core
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ cpuRequirement: 250
+ memoryRequirement: 256
+ timeout: 3600