feat: adding text result
This commit is contained in:
parent
813eaed1ba
commit
8482d78a81
2 changed files with 6 additions and 2 deletions
6
.github/workflows/generate_examples.yml
vendored
6
.github/workflows/generate_examples.yml
vendored
|
@ -49,11 +49,15 @@ jobs:
|
||||||
cd -
|
cd -
|
||||||
rm -rf test_db
|
rm -rf test_db
|
||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
- name: Run verbose mode with dumpdir result
|
- name: Json Run verbose mode with dumpdir result
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}
|
mkdir -p ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}
|
||||||
sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose --dumpdir=./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }} --json | tee -a ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/result.json
|
sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose --dumpdir=./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }} --json | tee -a ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/result.json
|
||||||
|
|
||||||
|
- name: Standard Run verbose mode with dumpdir result
|
||||||
|
run: |
|
||||||
|
sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose | tee -a ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/result.txt
|
||||||
|
|
||||||
- name: Adding examples to Git
|
- name: Adding examples to Git
|
||||||
run: |
|
run: |
|
||||||
git add ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/*
|
git add ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/*
|
||||||
|
|
2
.github/workflows/update_cve_and_docs.yml
vendored
2
.github/workflows/update_cve_and_docs.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
||||||
uses: devops-infra/action-commit-push@master
|
uses: devops-infra/action-commit-push@master
|
||||||
with:
|
with:
|
||||||
github_token: "${{ secrets.GITHUB_TOKEN }}"
|
github_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
add_timestamp: true
|
add_timestamp: false
|
||||||
commit_prefix: "[AUTO]"
|
commit_prefix: "[AUTO]"
|
||||||
commit_message: "Updates CVE and docs (via Actions)"
|
commit_message: "Updates CVE and docs (via Actions)"
|
||||||
force: false
|
force: false
|
||||||
|
|
Loading…
Reference in a new issue