diff options
author | a1012112796 <1012112796@qq.com> | 2021-03-12 10:04:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 03:04:43 +0100 |
commit | a44b2d01d2188c45242717c69eb277314eb64f00 (patch) | |
tree | 7c9081c5656e66d8d30d1d741a2d22eb3994b6e8 /.drone.yml | |
parent | 21be2aee1a1ef534fa4cfd4d5dfe7a45a3739c1b (diff) | |
download | gitea-a44b2d01d2188c45242717c69eb277314eb64f00.tar.gz gitea-a44b2d01d2188c45242717c69eb277314eb64f00.zip |
CI: pre install git last verson and git lfs in test (#14681)
link:
https://hub.docker.com/r/gitea/test_env
Source:
https://gitea.com/gitea/test_env/src/branch/master/Dockerfile
Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/.drone.yml b/.drone.yml index 320781eab4..77dbcf86be 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,7 +27,7 @@ steps: - 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: @@ -37,7 +37,7 @@ steps: - 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: @@ -49,7 +49,7 @@ steps: - 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: @@ -223,10 +223,8 @@ steps: 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 @@ -238,10 +236,8 @@ steps: - 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 @@ -252,10 +248,8 @@ steps: - 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 @@ -349,10 +343,8 @@ steps: 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 @@ -363,10 +355,8 @@ steps: - 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 |