1307: change ubuntu version r=MarinPostma a=MarinPostma

Change the CI ubuntu version from `latest` to `18.04` because `latest` uses a too recent version of glibc, preventing meilisearch from running on the debian version of the DO image


Co-authored-by: mpostma <postma.marin@protonmail.com>
This commit is contained in:
bors[bot] 2021-03-25 11:42:13 +00:00 committed by GitHub
commit 28095c6454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 13 deletions

View File

@ -7,7 +7,7 @@ name: Execute code coverage
jobs: jobs:
nightly-coverage: nightly-coverage:
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1

View File

@ -10,9 +10,9 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-18.04, macos-latest, windows-latest]
include: include:
- os: ubuntu-latest - os: ubuntu-18.04
artifact_name: meilisearch artifact_name: meilisearch
asset_name: meilisearch-linux-amd64 asset_name: meilisearch-linux-amd64
- os: macos-latest - os: macos-latest

View File

@ -7,7 +7,7 @@ on:
jobs: jobs:
debian: debian:
name: Publish debian packagge name: Publish debian packagge
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- uses: hecrj/setup-rust-action@master - uses: hecrj/setup-rust-action@master
with: with:
@ -29,7 +29,7 @@ jobs:
homebrew: homebrew:
name: Bump Homebrew formula name: Bump Homebrew formula
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- name: Create PR to Homebrew - name: Create PR to Homebrew
uses: mislav/bump-homebrew-formula-action@v1 uses: mislav/bump-homebrew-formula-action@v1

View File

@ -7,7 +7,7 @@ name: Publish latest image to Docker Hub
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Check if current release is latest - name: Check if current release is latest

View File

@ -8,7 +8,7 @@ name: Publish tagged image to Docker Hub
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Publish to Registry - name: Publish to Registry

View File

@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-18.04, macos-latest]
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
@ -38,7 +38,7 @@ jobs:
build-image: build-image:
name: Test the build of Docker image name: Test the build of Docker image
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- run: docker build . --file Dockerfile -t meilisearch - run: docker build . --file Dockerfile -t meilisearch
@ -49,7 +49,7 @@ jobs:
name: create prerelease name: create prerelease
needs: [check, build-image] needs: [check, build-image]
if: ${{ contains(github.ref, 'release-') && github.event_name == 'push' }} if: ${{ contains(github.ref, 'release-') && github.event_name == 'push' }}
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -76,7 +76,7 @@ jobs:
name: create release name: create release
needs: [check, build-image] needs: [check, build-image]
if: ${{ contains(github.ref, 'tags/v') }} if: ${{ contains(github.ref, 'tags/v') }}
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2

View File

@ -1,3 +1,3 @@
status = ["Test on macos-latest", "Test on ubuntu-latest"] status = ["Test on macos-latest", "Test on ubuntu-18.04"]
# 4 hours timeout # 4 hours timeout
timeout-sec = 14400 timeout-sec = 14400