mirror of https://github.com/milvus-io/milvus.git
Update pytest image version (#6457)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>pull/6351/head^2
parent
c10cedb826
commit
8b23a9338d
|
@ -27,6 +27,7 @@ jobs:
|
|||
os: [ubuntu18.04, centos7]
|
||||
env:
|
||||
OS_NAME: ${{ matrix.os }}
|
||||
GITHUB_TOKEN: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
@ -66,4 +67,4 @@ jobs:
|
|||
continue-on-error: true
|
||||
shell: bash
|
||||
run: |
|
||||
git push "https://${{ secrets.ALL_CONTRIBUTORS_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags
|
||||
git push "https://github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags
|
||||
|
|
|
@ -23,6 +23,8 @@ jobs:
|
|||
name: PyTest
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
@ -31,6 +33,11 @@ jobs:
|
|||
run: |
|
||||
echo "::set-output name=version::$(date +%Y%m%d)"
|
||||
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||
- name: Docker Pull
|
||||
shell: bash
|
||||
working-directory: tests/docker
|
||||
run: |
|
||||
IMAGE_TAG=latest docker-compose pull --ignore-pull-failures pytest
|
||||
- name: Docker Build
|
||||
shell: bash
|
||||
working-directory: tests/docker
|
||||
|
@ -65,4 +72,4 @@ jobs:
|
|||
continue-on-error: true
|
||||
shell: bash
|
||||
run: |
|
||||
git push "https://${{ secrets.ALL_CONTRIBUTORS_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags
|
||||
git push "https://github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags
|
||||
|
|
|
@ -3,4 +3,4 @@ MILVUS_SERVICE_PORT=19530
|
|||
MILVUS_PYTEST_WORKSPACE=/milvus/tests/python_test
|
||||
MILVUS_PYTEST_LOG_PATH=/milvus/_artifacts/tests/pytest_logs
|
||||
IMAGE_REPO=milvusdb
|
||||
IMAGE_TAG=latest
|
||||
IMAGE_TAG=20210712-db23ad8
|
||||
|
|
Loading…
Reference in New Issue