File tree 2 files changed +17
-8
lines changed
test/automated/ansible/group_vars/localhost
2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,18 @@ rpm --import /tmp/RPM-GPG-KEY-${GPG_MAIL}
25
25
26
26
cd dist
27
27
28
+ sles_regex=" (.*sles12.*)"
29
+
28
30
for rpm_file in $( find -regex " .*\.\(rpm\)" ) ; do
29
31
echo " ===> Signing $rpm_file "
30
- rpm --addsign $rpm_file
32
+
33
+ # if suse 12.x, then add --rpmv3
34
+ if [[ $rpm_file =~ $sles_regex ]]; then
35
+ rpmsign --addsign --rpmv3 $rpm_file
36
+ else
37
+ rpmsign --addsign $rpm_file
38
+ fi
39
+
31
40
echo " ===> Sign verification $rpm_file "
32
41
rpm -v --checksig $rpm_file
33
42
done
Original file line number Diff line number Diff line change @@ -150,13 +150,13 @@ instances:
150
150
# platform: "linux"
151
151
# python_interpreter: "/usr/bin/python"
152
152
# launch_template: "LaunchTemplateId=lt-0b00afb3f5110a0e6,Version=3"
153
- # - ami: "ami-05f6084a6b524a8f0"
154
- # type: "t3a.small"
155
- # name: "amd64:sles-12.5"
156
- # username: "ec2-user"
157
- # platform: "linux"
158
- # python_interpreter: "/usr/bin/python"
159
- # launch_template: "LaunchTemplateId=lt-0b00afb3f5110a0e6,Version=3"
153
+ - ami : " ami-05f6084a6b524a8f0"
154
+ type : " t3a.small"
155
+ name : " amd64:sles-12.5"
156
+ username : " ec2-user"
157
+ platform : " linux"
158
+ python_interpreter : " /usr/bin/python"
159
+ launch_template : " LaunchTemplateId=lt-0b00afb3f5110a0e6,Version=3"
160
160
# - ami: "ami-0b14d12cfa5e9dcc5"
161
161
# type: "t3a.small"
162
162
# name: "amd64:sles-15.2"
You can’t perform that action at this time.
0 commit comments