aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-01-12 18:42:08 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-01-12 18:42:08 -0500
commit4e6bdfd5a0464e3de222d2c4744aa6efceb39ef0 (patch)
tree6668c77a13adb48813480122f00a40e32473f993
parent5af35f054f4460e12e9aae6c83b8110192d1254a (diff)
Buildspec githubsync
-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..b618d62
--- /dev/null
+++ b/.onedev-buildspec.yml
@@ -0,0 +1,44 @@
+version: 17
+jobs:
+- name: GitHub Push
+ steps:
+ - !PushRepository
+ name: Github push sync
+ remoteUrl: https://github.com/VnUgE/VNLib.Plugins.Sessions.git
+ userName: VnUgE
+ passwordSecret: github-access-token
+ withLfs: false
+ force: false
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ triggers:
+ - !TagCreateTrigger
+ projects: VNLib.Plugins.Sessions
+ - !BranchUpdateTrigger
+ projects: VNLib.Plugins.Sessions
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ cpuRequirement: 250
+ memoryRequirement: 256
+ timeout: 3600
+- name: GitHub Pull
+ steps:
+ - !PullRepository
+ name: GitHub sync pull
+ remoteUrl: https://github.com/VnUgE/VNLib.Plugins.Sessions.git
+ userName: VnUgE
+ passwordSecret: github-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.Plugins.Sessions
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ cpuRequirement: 250
+ memoryRequirement: 256
+ timeout: 3600