-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.beagle.yml
129 lines (113 loc) · 3.01 KB
/
.beagle.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
kind: pipeline
name: docker
trigger:
branch:
- main
volumes:
- name: docker
host:
path: /var/run/docker.sock
workspace:
path: /go/src/github.com/mengkzhaoyun/movie_data_capture
clone:
disable: true
steps:
- name: s3-cache
image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
settings:
restore: true
mount:
- ./.git
- ./.python
endpoint: https://cache.wodcloud.com
access_key:
from_secret: ACCESS_KEY_MINIO
secret_key:
from_secret: SECRET_KEY_MINIO
- name: fetch
image: registry.cn-qingdao.aliyuncs.com/wod/devops-git:1.0
settings:
proxy:
from_secret: SOCKS5_PROXY
- name: python-amd64
image: registry.cn-qingdao.aliyuncs.com/wod/python:v3.11-amd64
commands:
- bash .beagle/build.sh
- name: docker-amd64
image: registry.cn-qingdao.aliyuncs.com/wod/devops-docker:1.0
volumes:
- name: docker
path: /var/run/docker.sock
settings:
dockerfile: .beagle/Dockerfile
base: registry-vpc.cn-qingdao.aliyuncs.com/wod/debian:bookworm-slim-amd64
repo: wod/movie_data_capture
version: v6.6.12
channel: amd64
args: 'TARGETOS=linux,TARGETARCH=amd64'
registry: registry.cn-qingdao.aliyuncs.com
registry_user:
from_secret: REGISTRY_USER_ALIYUN
registry_password:
from_secret: REGISTRY_PASSWORD_ALIYUN
- name: python-arm64
image: registry.cn-qingdao.aliyuncs.com/wod/python:v3.11-arm64
commands:
- bash .beagle/build.sh
- name: docker-arm64
image: registry.cn-qingdao.aliyuncs.com/wod/devops-docker:1.0
volumes:
- name: docker
path: /var/run/docker.sock
settings:
dockerfile: .beagle/Dockerfile
base: registry-vpc.cn-qingdao.aliyuncs.com/wod/debian:bookworm-slim-arm64
repo: wod/movie_data_capture
version: v6.6.12
channel: arm64
args: 'TARGETOS=linux,TARGETARCH=arm64'
registry: registry.cn-qingdao.aliyuncs.com
registry_user:
from_secret: REGISTRY_USER_ALIYUN
registry_password:
from_secret: REGISTRY_PASSWORD_ALIYUN
- name: docker-arch
image: registry.cn-qingdao.aliyuncs.com/wod/devops-docker-manifest:1.0
settings:
platforms: linux/amd64,linux/arm64
template: registry.cn-qingdao.aliyuncs.com/wod/movie_data_capture:v6.6.12-ARCH
target: registry.cn-qingdao.aliyuncs.com/wod/movie_data_capture:v6.6.12
username:
from_secret: REGISTRY_USER_ALIYUN
password:
from_secret: REGISTRY_PASSWORD_ALIYUN
---
kind: secret
name: SOCKS5_PROXY
get:
name: SOCKS5_PROXY
path: devops-secrets
---
kind: secret
name: REGISTRY_USER_ALIYUN
get:
name: REGISTRY_USER_ALIYUN
path: devops-secrets
---
kind: secret
name: REGISTRY_PASSWORD_ALIYUN
get:
name: REGISTRY_PASSWORD_ALIYUN
path: devops-secrets
---
kind: secret
name: ACCESS_KEY_MINIO
get:
name: ACCESS_KEY_MINIO
path: devops-secrets
---
kind: secret
name: SECRET_KEY_MINIO
get:
name: SECRET_KEY_MINIO
path: devops-secrets