-
Notifications
You must be signed in to change notification settings - Fork 0
/
.onedev-buildspec.yml
44 lines (44 loc) · 1.05 KB
/
.onedev-buildspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: 17
jobs:
- name: GitHub Push
steps:
- !PushRepository
name: Github push sync
remoteUrl: https://github.com/VnUgE/Simple-Bookmark.git
userName: VnUgE
passwordSecret: github-access-token
withLfs: false
force: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- !TagCreateTrigger
projects: Simple-Bookmark
- !BranchUpdateTrigger
projects: Simple-Bookmark
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/Simple-Bookmark.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: Simple-Bookmark
retryCondition: never
maxRetries: 3
retryDelay: 30
cpuRequirement: 250
memoryRequirement: 256
timeout: 3600