mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 09:56:28 +00:00 
			
		
		
		
	Update minimal ubuntu version used from 18.04 to 20.04
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/flaky-tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/flaky-tests.yml
									
									
									
									
										vendored
									
									
								
							@@ -10,8 +10,8 @@ jobs:
 | 
				
			|||||||
  flaky:
 | 
					  flaky:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations
 | 
					      # Use ubuntu-20.04 to compile with glibc 2.28
 | 
				
			||||||
      image: ubuntu:18.04
 | 
					      image: ubuntu:20.04
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v3
 | 
					    - uses: actions/checkout@v3
 | 
				
			||||||
    - name: Install needed dependencies
 | 
					    - name: Install needed dependencies
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/publish-apt-brew-pkg.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/publish-apt-brew-pkg.yml
									
									
									
									
										vendored
									
									
								
							@@ -20,8 +20,8 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    needs: check-version
 | 
					    needs: check-version
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      # Use ubuntu-18.04 to compile with glibc 2.27
 | 
					      # Use ubuntu-20.04 to compile with glibc 2.28
 | 
				
			||||||
      image: ubuntu:18.04
 | 
					      image: ubuntu:20.04
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - name: Install needed dependencies
 | 
					    - name: Install needed dependencies
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										8
									
								
								.github/workflows/publish-binaries.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/publish-binaries.yml
									
									
									
									
										vendored
									
									
								
							@@ -39,8 +39,8 @@ jobs:
 | 
				
			|||||||
      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
					      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
				
			||||||
    needs: check-version
 | 
					    needs: check-version
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      # Use ubuntu-18.04 to compile with glibc 2.27
 | 
					      # Use ubuntu-20.04 to compile with glibc 2.28
 | 
				
			||||||
      image: ubuntu:18.04
 | 
					      image: ubuntu:20.04
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v3
 | 
					    - uses: actions/checkout@v3
 | 
				
			||||||
    - name: Install needed dependencies
 | 
					    - name: Install needed dependencies
 | 
				
			||||||
@@ -129,8 +129,8 @@ jobs:
 | 
				
			|||||||
    env:
 | 
					    env:
 | 
				
			||||||
      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
					      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      # Use ubuntu-18.04 to compile with glibc 2.27
 | 
					      # Use ubuntu-20.04 to compile with glibc 2.28
 | 
				
			||||||
      image: ubuntu:18.04
 | 
					      image: ubuntu:20.04
 | 
				
			||||||
    strategy:
 | 
					    strategy:
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        include:
 | 
					        include:
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										16
									
								
								.github/workflows/test-suite.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/test-suite.yml
									
									
									
									
										vendored
									
									
								
							@@ -19,13 +19,13 @@ env:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  test-linux:
 | 
					  test-linux:
 | 
				
			||||||
    name: Tests on ubuntu-18.04
 | 
					    name: Tests on ubuntu-20.04
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
					      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations
 | 
					      # Use ubuntu-20.04 to compile with glibc 2.28
 | 
				
			||||||
      image: ubuntu:18.04
 | 
					      image: ubuntu:20.04
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
      - name: Install needed dependencies
 | 
					      - name: Install needed dependencies
 | 
				
			||||||
@@ -76,8 +76,8 @@ jobs:
 | 
				
			|||||||
    env:
 | 
					    env:
 | 
				
			||||||
      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
					      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations
 | 
					      # Use ubuntu-20.04 to compile with glibc 2.28
 | 
				
			||||||
      image: ubuntu:18.04
 | 
					      image: ubuntu:20.04
 | 
				
			||||||
    if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
 | 
					    if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
@@ -99,7 +99,7 @@ jobs:
 | 
				
			|||||||
      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
					      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      image: ubuntu:18.04
 | 
					      image: ubuntu:20.04
 | 
				
			||||||
    if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
 | 
					    if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
@@ -125,8 +125,8 @@ jobs:
 | 
				
			|||||||
      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
					      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations
 | 
					      # Use ubuntu-20.04 to compile with glibc 2.28
 | 
				
			||||||
      image: ubuntu:18.04
 | 
					      image: ubuntu:20.04
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
      - name: Install needed dependencies
 | 
					      - name: Install needed dependencies
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user