fix: Error durig exec
This commit is contained in:
parent
8482d78a81
commit
326f9fe1cc
2 changed files with 4 additions and 8 deletions
7
.github/workflows/generate_examples.yml
vendored
7
.github/workflows/generate_examples.yml
vendored
|
@ -54,17 +54,16 @@ jobs:
|
||||||
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
|
- name: Standard Run verbose mode without dumpdir result
|
||||||
run: |
|
run: |
|
||||||
sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose | tee -a ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/result.txt
|
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 }}/* || true
|
||||||
|
|
||||||
sleep $[ ( $RANDOM % 10 ) + 1 ]s
|
sleep $[ ( $RANDOM % 10 ) + 1 ]s
|
||||||
|
|
||||||
- name: Run the Action
|
- name: Run the Action Commit
|
||||||
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 }}"
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -9,9 +9,6 @@ Vagrant/data
|
||||||
Vagrant/.vagrant
|
Vagrant/.vagrant
|
||||||
contents
|
contents
|
||||||
contents/*
|
contents/*
|
||||||
result_*
|
|
||||||
result.html
|
|
||||||
result.txt
|
|
||||||
reports_*
|
reports_*
|
||||||
golang/prog-*
|
golang/prog-*
|
||||||
.vscode
|
.vscode
|
||||||
|
|
Loading…
Reference in a new issue