Skip to content

Commit

Permalink
Update pytest image version (#6457)
Browse files Browse the repository at this point in the history
Signed-off-by: quicksilver <[email protected]>
  • Loading branch information
jeffoverflow authored Jul 12, 2021
1 parent c10cedb commit 8b23a93
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
os: [ubuntu18.04, centos7]
env:
OS_NAME: ${{ matrix.os }}
GITHUB_TOKEN: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}

This comment has been minimized.

Copy link
@Ace10076

Ace10076 Aug 30, 2021

Thabk

steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -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
9 changes: 8 additions & 1 deletion .github/workflows/publish-test-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8b23a93

Please sign in to comment.