File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
9
9
jobs :
10
- Spec :
11
- uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
12
- with :
13
- runs_on : " ubuntu-20.04"
14
- secrets : " inherit"
10
+ # Spec:
11
+ # uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
12
+ # with:
13
+ # runs_on: "ubuntu-20.04"
14
+ # secrets: "inherit"
15
15
16
16
setup_matrix :
17
17
name : " Setup Test Matrix"
18
- needs : " Spec"
18
+ # needs: "Spec"
19
19
runs-on : ubuntu-20.04
20
20
outputs :
21
21
matrix : ${{ steps.get-matrix.outputs.matrix }}
@@ -71,10 +71,12 @@ jobs:
71
71
bundle env
72
72
73
73
- name : " Disable mysqld apparmor profile"
74
- if : matrix.platforms.provider == 'provision:: docker'
75
- run : |
74
+ if : ${{ matrix.platforms.provider == 'docker'}}
75
+ run : |
76
76
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
77
77
sudo apparmor_parser -R /etc/apparmor.d/disable/usr.sbin.mysqld
78
+ sudo systemctl disable apparmor
79
+ sudo systemctl stop apparmor
78
80
79
81
- name : Provision test environment
80
82
run : |
99
101
continue-on-error : true
100
102
run : |
101
103
bundle exec rake 'litmus:tear_down'
102
-
Original file line number Diff line number Diff line change @@ -70,10 +70,12 @@ jobs:
70
70
bundle env
71
71
72
72
- name : " Disable mysqld apparmor profile"
73
- if : matrix.platforms.provider == 'provision:: docker'
73
+ if : ${{ matrix.platforms.provider == 'docker'}}
74
74
run : |
75
75
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
76
76
sudo apparmor_parser -R /etc/apparmor.d/disable/usr.sbin.mysqld
77
+ sudo systemctl disable apparmor
78
+ sudo systemctl stop apparmor
77
79
78
80
- name : Provision test environment
79
81
run : |
98
100
continue-on-error : true
99
101
run : |
100
102
bundle exec rake 'litmus:tear_down'
101
-
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def mysql_version
11
11
shell_output = LitmusHelper . instance . run_shell ( 'mysql --version' , expect_failures : true )
12
12
if shell_output . stdout . match ( %r{\d +\. \d +\. \d +} ) . nil?
13
13
# 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 )
15
15
shell_output = LitmusHelper . instance . run_shell ( 'mysql --version' )
16
16
raise _ ( 'unable to get mysql version' ) if shell_output . stdout . match ( %r{\d +\. \d +\. \d +} ) . nil?
17
17
end
You can’t perform that action at this time.
0 commit comments