Skip to content

Commit

Permalink
remove compare.log, compare.html, coverage.html, nice.log, short.log
Browse files Browse the repository at this point in the history
  • Loading branch information
alsugiliazova committed Jul 24, 2024
1 parent af15578 commit efaa175
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/create_and_upload_logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ sudo chown -R $(whoami):$(whoami) $SUITE/

echo $version > version.log.txt
echo "https://gitlab.com/altinity-qa/clickhouse/cicd/clickhouse-regression/-/pipelines/$GITHUB_RUN_ID" > pipeline_url.log.txt
tfs --debug --no-colors transform compact raw.log compact.log
tfs --debug --no-colors transform nice raw.log nice.log.txt
tfs --debug --no-colors transform short raw.log short.log.txt
tfs --debug --no-colors transform brisk-new-fails raw.log brisk-new-fails.log.txt
tfs --debug --no-colors transform nice-new-fails raw.log nice-new-fails.log.txt
tfs --debug --no-colors report coverage - raw.log - $confidential --copyright "Altinity Inc." --logo ./altinity.png | tfs --debug --no-colors document convert > coverage.html
tfs --debug --no-colors report results -a "$JOB_REPORT_INDEX" raw.log - $confidential --copyright "Altinity Inc." --logo ./altinity.png | tfs --debug --no-colors document convert > report.html
tfs --debug --no-colors report compare results --log compact.log --order-by version $confidential --copyright "Altinity Inc." --logo ./altinity.png | tfs --debug --no-colors document convert > compare.html

#Specify whether logs should be uploaded.
if [[ $1 == 1 ]];
Expand All @@ -21,14 +16,9 @@ then
./retry.sh 5 30 aws s3 cp pipeline_url.log.txt $JOB_S3_ROOT/pipeline_url.log.txt --content-type "\"text/plain; charset=utf-8\""
./retry.sh 5 30 aws s3 cp version.log.txt $SUITE_REPORT_BUCKET_PATH/version.log.txt --content-type "\"text/plain; charset=utf-8\""
./retry.sh 5 30 aws s3 cp raw.log $SUITE_REPORT_BUCKET_PATH/raw.log
./retry.sh 5 30 aws s3 cp compact.log $SUITE_REPORT_BUCKET_PATH/compact.log
./retry.sh 5 30 aws s3 cp nice.log.txt $SUITE_REPORT_BUCKET_PATH/nice.log.txt --content-type "\"text/plain; charset=utf-8\""
./retry.sh 5 30 aws s3 cp short.log.txt $SUITE_REPORT_BUCKET_PATH/short.log.txt --content-type "\"text/plain; charset=utf-8\""
./retry.sh 5 30 aws s3 cp brisk-new-fails.log.txt $SUITE_REPORT_BUCKET_PATH/brisk-new-fails.log.txt --content-type "\"text/plain; charset=utf-8\""
./retry.sh 5 30 aws s3 cp nice-new-fails.log.txt $SUITE_REPORT_BUCKET_PATH/nice-new-fails.log.txt --content-type "\"text/plain; charset=utf-8\""
./retry.sh 5 30 aws s3 cp report.html $SUITE_REPORT_BUCKET_PATH/report.html
./retry.sh 5 30 aws s3 cp compare.html $SUITE_REPORT_BUCKET_PATH/compare.html
./retry.sh 5 30 aws s3 cp coverage.html $SUITE_REPORT_BUCKET_PATH/coverage.html
sudo rm --recursive --force $SUITE/_instances/*/database/
./retry.sh 5 30 "aws s3 cp --recursive . $SUITE_REPORT_BUCKET_PATH/"' --exclude "*" --include "*/_instances/*.log" --content-type "\"text/plain; charset=utf-8\"" --no-follow-symlinks'
fi

0 comments on commit efaa175

Please sign in to comment.