diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index e69b0f5..22a3b0c 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -1,8 +1,17 @@ -version: 1 +version: 6 jobs: - name: Publish steps: - !CheckoutStep name: 'checkout ' cloneCredential: !DefaultCredential {} - condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL \ No newline at end of file + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + triggers: + - !BranchUpdateTrigger + branches: main + retryCondition: never + maxRetries: 3 + retryDelay: 30 + cpuRequirement: 250m + memoryRequirement: 128m + timeout: 3600