chore(gitlab-ci): provide minio for testing
This commit is contained in:
parent
ce54adce6b
commit
2b5d01b14a
@ -11,9 +11,16 @@ default:
|
|||||||
variables:
|
variables:
|
||||||
STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
|
STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
|
||||||
CHROME_BIN: "/usr/bin/chromium-browser"
|
CHROME_BIN: "/usr/bin/chromium-browser"
|
||||||
|
PGHOST: postgres
|
||||||
POSTGRES_DB: uniworx_test
|
POSTGRES_DB: uniworx_test
|
||||||
POSTGRES_USER: uniworx
|
POSTGRES_USER: uniworx
|
||||||
POSTGRES_PASSWORD: uniworx
|
POSTGRES_PASSWORD: uniworx
|
||||||
|
MINIO_ACCESS_KEY: gOel7KvadwNKgjjy
|
||||||
|
MINIO_SECRET_KEY: ugO5pkEla7F0JW9MdPwLi4MWLT5ZbqAL
|
||||||
|
UPLOAD_S3_HOST: minio
|
||||||
|
UPLOAD_S3_PORT: 9000
|
||||||
|
UPLOAD_S3_KEY_ID: gOel7KvadwNKgjjy
|
||||||
|
UPLOAD_S3_KEY: ugO5pkEla7F0JW9MdPwLi4MWLT5ZbqAL
|
||||||
N_PREFIX: "${HOME}/.n"
|
N_PREFIX: "${HOME}/.n"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
@ -85,6 +92,9 @@ yesod:build:dev:
|
|||||||
services:
|
services:
|
||||||
- name: postgres:10.10
|
- name: postgres:10.10
|
||||||
alias: postgres
|
alias: postgres
|
||||||
|
- name: minio
|
||||||
|
alias: minio
|
||||||
|
command: minio server /data
|
||||||
|
|
||||||
stage: yesod:build
|
stage: yesod:build
|
||||||
script:
|
script:
|
||||||
@ -117,6 +127,9 @@ yesod:build:
|
|||||||
services:
|
services:
|
||||||
- name: postgres:10.10
|
- name: postgres:10.10
|
||||||
alias: postgres
|
alias: postgres
|
||||||
|
- name: minio
|
||||||
|
alias: minio
|
||||||
|
command: minio server /data
|
||||||
|
|
||||||
stage: yesod:build
|
stage: yesod:build
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user