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