2019-10-05 19:33:18 +02:00
|
|
|
gitlab_version="12.3.4"
|
2018-12-16 23:04:05 +01:00
|
|
|
|
2019-10-05 19:33:18 +02:00
|
|
|
gitlab_x86_64_source_sha256="6b913d17bca52e955429081e3331c3fc9003f4087c37b06019f124d41bce3c26"
|
2018-12-16 23:04:05 +01:00
|
|
|
|
2019-10-05 19:33:18 +02:00
|
|
|
gitlab_arm_source_sha256="c09fb0ba3ec71574d8fa0efc6b1c3afbc075cebfd8e5bd903a21be9b6e3e2a1b"
|
2019-03-16 02:38:12 +01:00
|
|
|
|
2019-03-17 20:14:56 +01:00
|
|
|
gitlab_filename="gitlab-ce-${gitlab_version}.deb"
|
2019-07-04 20:30:29 +02:00
|
|
|
|
|
|
|
# Action to do in case of failure of the package_check
|
|
|
|
package_check_action() {
|
2019-07-31 17:49:20 +02:00
|
|
|
local sysctl_file="$final_path/embedded/cookbooks/package/resources/gitlab_sysctl.rb"
|
|
|
|
if [ ! -f "$sysctl_file" ]; then
|
|
|
|
sysctl_file="$final_path/embedded/cookbooks/package/resources/sysctl.rb"
|
|
|
|
fi
|
|
|
|
ynh_replace_string --match_string="command \"sysctl -e --system\"" --replace_string="command \"sysctl -e --system || true\"" --target_file=$sysctl_file
|
2019-07-04 20:30:29 +02:00
|
|
|
}
|