-
Notifications
You must be signed in to change notification settings - Fork 0
/
.beagle.yml
181 lines (162 loc) · 4.41 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
kind: pipeline
name: docker
trigger:
branch:
- main
workspace:
path: /go/src/github.com/containerd/containerd
volumes:
- name: docker
host:
path: /var/run/docker.sock
clone:
disable: true
steps:
- name: s3-cache
image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
settings:
restore: true
mount:
- ./.git
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: golang
image: registry.cn-qingdao.aliyuncs.com/wod/golang:1.21
environment:
VERSION: v1.7.20-beagle
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.cn-qingdao.aliyuncs.com/wod/alpine:3-amd64
cwd: _output
repo: wod/containerd
version: v1.7.20
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: 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.cn-qingdao.aliyuncs.com/wod/alpine:3-arm64
cwd: _output
repo: wod/containerd
version: v1.7.20
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-ppc64le
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.cn-qingdao.aliyuncs.com/wod/alpine:3-ppc64le
cwd: _output
repo: wod/containerd
version: v1.7.20
channel: ppc64le
args: 'TARGETOS=linux,TARGETARCH=ppc64le'
registry: registry.cn-qingdao.aliyuncs.com
registry_user:
from_secret: REGISTRY_USER_ALIYUN
registry_password:
from_secret: REGISTRY_PASSWORD_ALIYUN
- name: docker-mips64le
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.cn-qingdao.aliyuncs.com/wod/alpine:3-mips64le
cwd: _output
repo: wod/containerd
version: v1.7.20
channel: mips64le
args: 'TARGETOS=linux,TARGETARCH=mips64le'
registry: registry.cn-qingdao.aliyuncs.com
registry_user:
from_secret: REGISTRY_USER_ALIYUN
registry_password:
from_secret: REGISTRY_PASSWORD_ALIYUN
- name: golang-loong64
image: registry.cn-qingdao.aliyuncs.com/wod/golang:1.21-loongnix
environment:
VERSION: v1.7.20-beagle
commands:
- bash ./.beagle/build-loong64.sh
- name: docker-loong64
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.cn-qingdao.aliyuncs.com/wod/alpine:3-amd64
cwd: _output
repo: wod/containerd
version: v1.7.20
channel: loong64
args: 'TARGETOS=linux,TARGETARCH=loong64'
registry: registry.cn-qingdao.aliyuncs.com
registry_user:
from_secret: REGISTRY_USER_ALIYUN
registry_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