mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	ci: test mysql8 in place pgsql arm64
This commit is contained in:
		
							
								
								
									
										29
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -73,12 +73,11 @@ services:
 | 
			
		||||
      MYSQL_ALLOW_EMPTY_PASSWORD: yes
 | 
			
		||||
      MYSQL_DATABASE: test
 | 
			
		||||
 | 
			
		||||
  - name: mysql8
 | 
			
		||||
  - name: pgsql
 | 
			
		||||
    pull: default
 | 
			
		||||
    image: mysql:8.0
 | 
			
		||||
    image: postgres:9.5
 | 
			
		||||
    environment:
 | 
			
		||||
      MYSQL_ALLOW_EMPTY_PASSWORD: yes
 | 
			
		||||
      MYSQL_DATABASE: testgitea
 | 
			
		||||
      POSTGRES_DB: test
 | 
			
		||||
 | 
			
		||||
  - name: mssql
 | 
			
		||||
    pull: default
 | 
			
		||||
@@ -220,14 +219,14 @@ steps:
 | 
			
		||||
      event:
 | 
			
		||||
        - tag
 | 
			
		||||
 | 
			
		||||
  - name: test-mysql8
 | 
			
		||||
  - name: test-pgsql
 | 
			
		||||
    pull: always
 | 
			
		||||
    image: golang:1.13
 | 
			
		||||
    commands:
 | 
			
		||||
      - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
 | 
			
		||||
      - apt-get install -y git-lfs
 | 
			
		||||
      - timeout -s ABRT 20m make test-mysql8-migration
 | 
			
		||||
      - timeout -s ABRT 20m make test-mysql8
 | 
			
		||||
      - timeout -s ABRT 20m make test-pgsql-migration
 | 
			
		||||
      - timeout -s ABRT 20m make test-pgsql
 | 
			
		||||
    environment:
 | 
			
		||||
      GOPROXY: off
 | 
			
		||||
      TAGS: bindata
 | 
			
		||||
@@ -299,11 +298,13 @@ workspace:
 | 
			
		||||
  path: src/code.gitea.io/gitea
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  - name: pgsql
 | 
			
		||||
  - name: mysql8
 | 
			
		||||
    pull: default
 | 
			
		||||
    image: postgres:9.5
 | 
			
		||||
    image: mysql/mysql-server:8.0
 | 
			
		||||
    environment:
 | 
			
		||||
      POSTGRES_DB: test
 | 
			
		||||
      MYSQL_ALLOW_EMPTY_PASSWORD: yes
 | 
			
		||||
      MYSQL_DATABASE: testgitea
 | 
			
		||||
 | 
			
		||||
  - name: ldap
 | 
			
		||||
    pull: default
 | 
			
		||||
    image: gitea/test-openldap:latest
 | 
			
		||||
@@ -328,16 +329,16 @@ steps:
 | 
			
		||||
    environment:
 | 
			
		||||
      GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
 | 
			
		||||
      GOSUMDB: sum.golang.org
 | 
			
		||||
      TAGS: bindata sqlite sqlite_unlock_notify
 | 
			
		||||
      TAGS: bindata
 | 
			
		||||
 | 
			
		||||
  - name: test-pgsql
 | 
			
		||||
  - name: test-mysql8
 | 
			
		||||
    pull: always
 | 
			
		||||
    image: golang:1.13
 | 
			
		||||
    commands:
 | 
			
		||||
      - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
 | 
			
		||||
      - apt-get install -y git-lfs
 | 
			
		||||
      - timeout -s ABRT 20m make test-pgsql-migration
 | 
			
		||||
      - timeout -s ABRT 20m make test-pgsql
 | 
			
		||||
      - timeout -s ABRT 20m make test-mysql8-migration
 | 
			
		||||
      - timeout -s ABRT 20m make test-mysql8
 | 
			
		||||
    environment:
 | 
			
		||||
      GOPROXY: off
 | 
			
		||||
      TAGS: bindata
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user