-
Notifications
You must be signed in to change notification settings - Fork 0
/
.onedev-buildspec.yml
53 lines (53 loc) · 1.29 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
45
46
47
48
49
50
51
52
53
version: 20
jobs:
- name: pusher all-branch commit
steps:
- !PushRepository
name: force to gh yhm-amber/sh3rr
remoteUrl: https://github.com/yhm-amber/sh3rr.git
userName: yhm-amber
passwordSecret: github.yhm-amber
withLfs: true
force: true
condition: ALWAYS
- !PushRepository
name: force to cb yhm-ypa/sh3rr
remoteUrl: https://codeberg.org/yhm-ypa/sh3rr.git
userName: yhm
passwordSecret: codeberg.yhm
withLfs: true
force: true
condition: ALWAYS
triggers:
- !BranchUpdateTrigger
projects: yhm-ypa/sh3rr
retryCondition: never
maxRetries: 3
retryDelay: 30
timeout: 3600
- name: puller all-branch cron.03:20:10
steps:
- !PullRepository
name: from gh yhm-amber/sh3rr
remoteUrl: https://github.com/yhm-amber/sh3rr.git
syncToChildProject: false
refs: refs/heads/* refs/tags/*
withLfs: true
force: false
condition: ALWAYS
- !PullRepository
name: from cb yhm-ypa/sh3rr
remoteUrl: https://codeberg.org/yhm-ypa/sh3rr.git
syncToChildProject: false
refs: refs/heads/* refs/tags/*
withLfs: true
force: false
condition: ALWAYS
triggers:
- !ScheduleTrigger
cronExpression: 10 20 3 * * ?
projects: yhm-ypa/sh3rr
retryCondition: never
maxRetries: 3
retryDelay: 30
timeout: 3600