Fix pipeline
This commit is contained in:
parent
4f6ba87989
commit
34059b3913
@ -13,18 +13,25 @@ jobs:
|
|||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.21
|
go-version: 1.21
|
||||||
|
- name: start minio
|
||||||
|
run: |
|
||||||
|
docker run -d --rm --name nodeapi_minio -p 9001:9001 -e MINIO_ROOT_USER=test MINIO_ROOT_PASSWORD=testtest server /data --console-address :9001
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
make test
|
make test
|
||||||
services:
|
- name: stop minio
|
||||||
minio:
|
run: |
|
||||||
image: minio/minio:latest
|
docker stop nodeapi_minio
|
||||||
env:
|
# TODO: probably not supported by Gitea workflows yet
|
||||||
MINIO_ROOT_USER: test
|
# services:
|
||||||
MINIO_ROOT_PASSWORD: testtest
|
# minio:
|
||||||
ports:
|
# image: minio/minio:latest
|
||||||
- 9001:9001
|
# env:
|
||||||
options: server /data --console-address :9001
|
# MINIO_ROOT_USER: test
|
||||||
|
# MINIO_ROOT_PASSWORD: testtest
|
||||||
|
# ports:
|
||||||
|
# - 9001:9001
|
||||||
|
# options: server /data --console-address :9001
|
||||||
deploy-dev:
|
deploy-dev:
|
||||||
runs-on: [amd64, moon]
|
runs-on: [amd64, moon]
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user