debug codecov token secrets

This commit is contained in:
quicksilver 2019-12-17 19:35:26 +08:00
parent bdc0239eba
commit 865ca6ff13
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,7 @@ jobs:
- name: Docker Build
run: |
docker-compose run --use-aliases -d db
docker-compose run ubuntu-core
docker-compose run -e MILVUS_CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} ubuntu-core
- name: Docker Push
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus'
continue-on-error: true
@ -61,7 +61,7 @@ jobs:
- name: Docker Build
run: |
docker-compose run --use-aliases -d db
docker-compose run centos-core
docker-compose run -e MILVUS_CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} centos-core
- name: Docker Push
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus'
continue-on-error: true

View File

@ -40,6 +40,7 @@ services:
- milvus
command: &ubuntu-command >
/bin/bash -c "
echo 'MILVUS_CODECOV_TOKEN: ${MILVUS_CODECOV_TOKEN}'
/milvus/ci/scripts/build.sh -t Release -o ${MILVUS_INSTALL_PREFIX} -l -u -c
/milvus/ci/scripts/coverage.sh -o ${MILVUS_INSTALL_PREFIX} -u root -p 123456 -t mysql"
@ -60,6 +61,7 @@ services:
- milvus
command: &centos-command >
/bin/bash --login -c "
echo 'MILVUS_CODECOV_TOKEN: ${MILVUS_CODECOV_TOKEN}'
/milvus/ci/scripts/build.sh -t Release -o ${MILVUS_INSTALL_PREFIX} -l -u -c
/milvus/ci/scripts/coverage.sh -o ${MILVUS_INSTALL_PREFIX} -u root -p 123456 -t mysql"