File tree Expand file tree Collapse file tree 4 files changed +13
-64
lines changed Expand file tree Collapse file tree 4 files changed +13
-64
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 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 21
21
" 8" ,
22
22
" 9"
23
23
]
24
- },
25
- {
26
- "operatingsystem" : " CentOS" ,
27
- "operatingsystemrelease" : [
28
- " 7" ,
29
- " 8"
30
- ]
31
- },
32
- {
33
- "operatingsystem" : " OracleLinux" ,
34
- "operatingsystemrelease" : [
35
- " 7"
36
- ]
37
- },
38
- {
39
- "operatingsystem" : " Debian" ,
40
- "operatingsystemrelease" : [
41
- " 10" ,
42
- " 11"
43
- ]
44
- },
45
- {
46
- "operatingsystem" : " Scientific" ,
47
- "operatingsystemrelease" : [
48
- " 7"
49
- ]
50
- },
51
- {
52
- "operatingsystem" : " SLES" ,
53
- "operatingsystemrelease" : [
54
- " 12" ,
55
- " 15"
56
- ]
57
- },
58
- {
59
- "operatingsystem" : " Ubuntu" ,
60
- "operatingsystemrelease" : [
61
- " 18.04" ,
62
- " 20.04" ,
63
- " 22.04"
64
- ]
65
- },
66
- {
67
- "operatingsystem" : " Rocky" ,
68
- "operatingsystemrelease" : [
69
- " 8"
70
- ]
71
- },
72
- {
73
- "operatingsystem" : " AlmaLinux" ,
74
- "operatingsystemrelease" : [
75
- " 8"
76
- ]
77
24
}
78
25
],
79
26
"requirements" : [
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