File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,12 @@ jobs:
7171 bundle env
7272
7373 - name : " Disable mysqld apparmor profile"
74- if : matrix.platforms.provider == 'provision:: docker'
75- run : |
74+ if : ${{ matrix.platforms.provider == 'docker'}}
75+ run : |
7676 sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
7777 sudo apparmor_parser -R /etc/apparmor.d/disable/usr.sbin.mysqld
78+ sudo systemctl disable apparmor
79+ sudo systemctl stop apparmor
7880
7981 - name : Provision test environment
8082 run : |
99101 continue-on-error : true
100102 run : |
101103 bundle exec rake 'litmus:tear_down'
102-
Original file line number Diff line number Diff line change @@ -70,10 +70,12 @@ jobs:
7070 bundle env
7171
7272 - name : " Disable mysqld apparmor profile"
73- if : matrix.platforms.provider == 'provision:: docker'
73+ if : ${{ matrix.platforms.provider == 'docker'}}
7474 run : |
7575 sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
7676 sudo apparmor_parser -R /etc/apparmor.d/disable/usr.sbin.mysqld
77+ sudo systemctl disable apparmor
78+ sudo systemctl stop apparmor
7779
7880 - name : Provision test environment
7981 run : |
98100 continue-on-error : true
99101 run : |
100102 bundle exec rake 'litmus:tear_down'
101-
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def mysql_version
1111 shell_output = LitmusHelper . instance . run_shell ( 'mysql --version' , expect_failures : true )
1212 if shell_output . stdout . match ( %r{\d +\. \d +\. \d +} ) . nil?
1313 # mysql is not yet installed, so we apply this class to install it
14- LitmusHelper . instance . apply_manifest ( 'include mysql::server' , debug : true , catch_failures : true )
14+ LitmusHelper . instance . apply_manifest ( 'include mysql::server' , catch_failures : true )
1515 shell_output = LitmusHelper . instance . run_shell ( 'mysql --version' )
1616 raise _ ( 'unable to get mysql version' ) if shell_output . stdout . match ( %r{\d +\. \d +\. \d +} ) . nil?
1717 end
You can’t perform that action at this time.
0 commit comments