Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 6870:b040642efae3
mysql sleep and more debug
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 01 Sep 2022 01:41:55 -0400 |
| parents | 09d40d38272e |
| children | 46027bdcf09f |
comparison
equal
deleted
inserted
replaced
| 6869:09d40d38272e | 6870:b040642efae3 |
|---|---|
| 61 - name: Install mysql/mariadb | 61 - name: Install mysql/mariadb |
| 62 continue-on-error: true | 62 continue-on-error: true |
| 63 run: | | 63 run: | |
| 64 set -xv | 64 set -xv |
| 65 # set up mysql database | 65 # set up mysql database |
| 66 sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^#* *max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/mysql.conf.d/mysqld.cnf | 66 sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^#* *max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/mysql.conf.d/mysqld.cnf; sleep 3 |
| 67 tail -n +0 /etc/mysql/my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf | 67 tail -n +0 /etc/mysql/my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf |
| 68 grep max_allowed /etc/mysql/mysql.conf.d/mysqld.cnf | |
| 68 ls /etc/mysql/conf.d/ /etc/mysql/mysql.conf.d/ | 69 ls /etc/mysql/conf.d/ /etc/mysql/mysql.conf.d/ |
| 69 sudo service mysql restart | 70 sleep 5 |
| 71 sudo service mysql restart; sleep 30 | |
| 72 ps -ef | grep mysqld | |
| 70 sudo mysql -u root --protocol SOCKET -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' | 73 sudo mysql -u root --protocol SOCKET -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' |
| 71 | 74 |
| 72 - name: install redis | 75 - name: install redis |
| 73 run: | | 76 run: | |
| 74 sudo apt-get install redis | 77 sudo apt-get install redis |
