Skip to content

Commit

Permalink
fix(workflow): nightly build failed #1830
Browse files Browse the repository at this point in the history
[summary]
Currently we disable tar pkg in ci/cd.
  • Loading branch information
hustjieke committed May 31, 2023
1 parent 0ebbd11 commit 06d25fc
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,22 @@ jobs:
./mysql-test-run.pl --suite=innodb,main --mysqld=--default-storage-engine=innodb --nowarnings --force --nocheck-testcases --retry=0 --do-test-list=./suite/innodb/include/innodb_testlist --parallel=15
./mysql-test-run.pl --suite=tianmu --nowarnings --force --nocheck-testcases --retry=0
- name: output some vars
id: vars
env:
SHA_EXT: sha256sum.txt
run: |
find pkg_outdir -type f \( -iname \*.deb -o -iname \*.rpm -o -iname \*.tar.gz \) -exec bash -c "sha256sum {} > {}.sha256sum.txt" \;
subdir=$(date -u +%Y.%m.%d)
echo "::set-output name=subdir::$subdir"
- name: copy file via ssh password
uses: appleboy/scp-action@master
with:
host: ${{ secrets.FILE_SERVER_HOST }}
username: ${{ secrets.FILE_SERVER_USERNAME }}
password: ${{ secrets.FILE_SERVER_PASSWORD }}
port: ${{ secrets.FILE_SERVER_PORT }}
source: "pkg_outdir/*"
target: "${{ secrets.FILE_SERVER_DIR }}"
# TODO(): physical machine has been removed, we restart this funcion again in the future.
#- name: output some vars
# id: vars
# env:
# SHA_EXT: sha256sum.txt
# run: |
# find pkg_outdir -type f \( -iname \*.deb -o -iname \*.rpm -o -iname \*.tar.gz \) -exec bash -c "sha256sum {} > {}.sha256sum.txt" \;
# subdir=$(date -u +%Y.%m.%d)
# echo "::set-output name=subdir::$subdir"
#
#- name: copy file via ssh password
# uses: appleboy/scp-action@master
# with:
# host: ${{ secrets.FILE_SERVER_HOST }}
# username: ${{ secrets.FILE_SERVER_USERNAME }}
# password: ${{ secrets.FILE_SERVER_PASSWORD }}
# port: ${{ secrets.FILE_SERVER_PORT }}
# source: "pkg_outdir/*"
# target: "${{ secrets.FILE_SERVER_DIR }}"

0 comments on commit 06d25fc

Please sign in to comment.