aboutsummaryrefslogtreecommitdiff
path: root/.onedev-buildspec.yml
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-01-28 19:35:20 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2024-01-28 19:35:20 -0500
commit8d25ae5e2dadf403d1d2d44a34bd5abd7107d74d (patch)
tree05612a51e639b7e97c781394ceef90b18997e71c /.onedev-buildspec.yml
parent626a8d8d3df8880991684d6d1a06b82f6685b51a (diff)
add github sync
Diffstat (limited to '.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..716f0b2
--- /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/noscrypt.git
+ userName: VnUgE
+ passwordSecret: github-access-token
+ withLfs: false
+ force: false
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ triggers:
+ - !TagCreateTrigger
+ projects: noscrypt
+ - !BranchUpdateTrigger
+ projects: noscrypt
+ 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/noscrypt.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: noscrypt
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ cpuRequirement: 250
+ memoryRequirement: 256
+ timeout: 3600