Skip to content

Commit 522fe05

Browse files
committed
Move minio test to amd64 since minio docker don't support arm64
1 parent 0e96311 commit 522fe05

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

.drone.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ services:
137137
discovery.type: single-node
138138
image: elasticsearch:7.5.0
139139

140+
- name: minio
141+
image: minio/minio:RELEASE.2020-05-16T01-33-21Z
142+
commands:
143+
- minio server /data
144+
environment:
145+
MINIO_ACCESS_KEY: 123456
146+
MINIO_SECRET_KEY: 123456
147+
140148
steps:
141149
- name: fetch-tags
142150
pull: default
@@ -283,14 +291,6 @@ services:
283291
pull: default
284292
image: gitea/test-openldap:latest
285293

286-
- name: minio
287-
image: minio/minio:RELEASE.2020-05-16T01-33-21Z
288-
commands:
289-
- minio server /data
290-
environment:
291-
MINIO_ACCESS_KEY: 123456
292-
MINIO_SECRET_KEY: 123456
293-
294294
steps:
295295
- name: fetch-tags
296296
pull: default

integrations/mysql.ini.tmpl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,14 @@ APP_DATA_PATH = integrations/gitea-integration-mysql/data
4242
BUILTIN_SSH_SERVER_USER = git
4343

4444
[attachment]
45-
PATH = integrations/gitea-integration-mysql/data
45+
STORE_TYPE = minio
46+
MINIO_ENDPOINT = minio:9000
47+
MINIO_ACCESS_KEY_ID = 123456
48+
MINIO_SECRET_ACCESS_KEY = 123456
49+
MINIO_BUCKET = gitea
50+
MINIO_LOCATION = us-east-1
51+
MINIO_BASE_PATH = attachments/
52+
MINIO_USE_SSL = false
4653

4754
[mailer]
4855
ENABLED = true

integrations/sqlite.ini.tmpl

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,4 @@ SECRET_KEY = 9pCviYTWSb
8686
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTI3OTU5ODN9.OQkH5UmzID2XBdwQ9TAI6Jj2t1X-wElVTjbE7aoN4I8
8787

8888
[oauth2]
89-
JWT_SECRET = KZb_QLUd4fYVyxetjxC4eZkrBgWM2SndOOWDNtgUUko
90-
91-
[attachment]
92-
STORE_TYPE = minio
93-
MINIO_ENDPOINT = minio:9000
94-
MINIO_ACCESS_KEY_ID = 123456
95-
MINIO_SECRET_ACCESS_KEY = 123456
96-
MINIO_BUCKET = gitea
97-
MINIO_LOCATION = us-east-1
98-
MINIO_BASE_PATH = attachments/
99-
MINIO_USE_SSL = false
89+
JWT_SECRET = KZb_QLUd4fYVyxetjxC4eZkrBgWM2SndOOWDNtgUUko

0 commit comments

Comments
 (0)