Browse Source

Add test for minio store type on attachments

master
Lunny Xiao yan 5 years ago
parent
commit
8685232bb8
2 changed files with 18 additions and 0 deletions
  1. +8
    -0
      .drone.yml
  2. +10
    -0
      integrations/sqlite.ini.tmpl

+ 8
- 0
.drone.yml View File

@@ -136,6 +136,14 @@ services:
environment:
discovery.type: single-node
image: elasticsearch:7.5.0
- name: minio
image: minio/minio:RELEASE.2020-05-16T01-33-21Z
commands:
- minio server ./data
environment:
MINIO_ACCESS_KEY: 123456
MINIO_SECRET_KEY: 123456

steps:
- name: fetch-tags


+ 10
- 0
integrations/sqlite.ini.tmpl View File

@@ -80,3 +80,13 @@ INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTI3OTU5ODN9.O

[oauth2]
JWT_SECRET = KZb_QLUd4fYVyxetjxC4eZkrBgWM2SndOOWDNtgUUko

[attachment]
STORE_TYPE = minio
MINIO_ENDPOINT = localhost:9000
MINIO_ACCESS_KEY_ID = 123456
MINIO_SECRET_ACCESS_KEY = 123456
MINIO_BUCKET = gitea
MINIO_LOCATION = us-east-1
MINIO_BASE_PATH = attachments/
MINIO_USE_SSL = false

Loading…
Cancel
Save