Skip to content

Commit bb1a3f7

Browse files
committed
Add extention to cmk_rpm symlink
Required for package_validator to identify the file as an RPM. CMK-31459 Change-Id: I62a309ea28e889becb333fa133fcc5c1ee2eb396
1 parent 21accd3 commit bb1a3f7

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

omd/BUILD

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,24 @@ pkg_deb(
889889
version_file = "//omd/distros:distro_version_file",
890890
)
891891

892+
sh_test(
893+
name = "validate_deb",
894+
srcs = ["validate_package_test.sh"],
895+
args = [
896+
"$(location :deb)",
897+
"$(location //tests/packaging/package_validator:package_validator)",
898+
"$(location //tests/packaging/package_validator:system_dependencies)",
899+
"$(location //tests/packaging/package_validator:ignore_files)",
900+
],
901+
data = [
902+
":deb",
903+
"//tests/packaging/package_validator",
904+
"//tests/packaging/package_validator:ignore_files",
905+
"//tests/packaging/package_validator:system_dependencies",
906+
],
907+
tags = ["manual"],
908+
)
909+
892910
write_omd_spec(
893911
name = "omd_spec",
894912
apache_conf_dir = select({
@@ -937,7 +955,7 @@ pkg_rpm_from_tar(
937955
edition = "@cmk//edition",
938956
input_tarball = "complete_install",
939957
omd_spec = ":omd_spec",
940-
rpm = "cmk_rpm",
958+
rpm = "cmk.rpm",
941959
tags = ["manual"],
942960
target_compatible_with = select({
943961
"@cmk//distro:almalinux": [],
@@ -947,24 +965,6 @@ pkg_rpm_from_tar(
947965
version = "@cmk//version",
948966
)
949967

950-
sh_test(
951-
name = "validate_deb",
952-
srcs = ["validate_package_test.sh"],
953-
args = [
954-
"$(location :deb)",
955-
"$(location //tests/packaging/package_validator:package_validator)",
956-
"$(location //tests/packaging/package_validator:system_dependencies)",
957-
"$(location //tests/packaging/package_validator:ignore_files)",
958-
],
959-
data = [
960-
":deb",
961-
"//tests/packaging/package_validator",
962-
"//tests/packaging/package_validator:ignore_files",
963-
"//tests/packaging/package_validator:system_dependencies",
964-
],
965-
tags = ["manual"],
966-
)
967-
968968
sh_test(
969969
name = "validate_rpm",
970970
srcs = ["validate_package_test.sh"],

0 commit comments

Comments
 (0)