- name: lint-backend
pull: always
- image: golang:1.16
+ image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
commands:
- make lint-backend
environment:
- name: lint-backend-windows
pull: always
- image: golang:1.16
+ image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
commands:
- make golangci-lint vet
environment:
- name: lint-backend-gogit
pull: always
- image: golang:1.16
+ image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
commands:
- make lint-backend
environment:
from_secret: github_read_token
- name: test-mysql
- image: golang:1.16
+ image: gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
commands:
- - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
- - apt-get install -y git-lfs
- make test-mysql-migration integration-test-coverage
environment:
GOPROXY: off
- build
- name: test-mysql8
- image: golang:1.16
+ image: gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
commands:
- - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
- - apt-get install -y git-lfs
- timeout -s ABRT 40m make test-mysql8-migration test-mysql8
environment:
GOPROXY: off
- build
- name: test-mssql
- image: golang:1.16
+ image: gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
commands:
- - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
- - apt-get install -y git-lfs
- make test-mssql-migration test-mssql
environment:
GOPROXY: off
TAGS: bindata gogit sqlite sqlite_unlock_notify
- name: test-sqlite
- image: golang:1.16
+ image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
commands:
- - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
- - apt-get install -y git-lfs
- timeout -s ABRT 40m make test-sqlite-migration test-sqlite
environment:
GOPROXY: off
- build
- name: test-pgsql
- image: golang:1.16
+ image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
commands:
- - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
- - apt-get install -y git-lfs
- timeout -s ABRT 40m make test-pgsql-migration test-pgsql
environment:
GOPROXY: off