未验证 提交 8b23a933 编写于 作者: Q quicksilver 提交者: GitHub

Update pytest image version (#6457)

Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 c10cedb8
......@@ -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
\ No newline at end of file
IMAGE_TAG=20210712-db23ad8
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册