2020-01-23 15:44:57 +01:00
|
|
|
gitlab_version="12.7.0"
|
2018-12-16 23:04:05 +01:00
|
|
|
|
2020-01-23 15:44:57 +01:00
|
|
|
gitlab_x86_64_source_sha256="ff5c4f53f70f3db5499a6544e9ffc0998761b4f85d1544988f84e965058ea22b"
|
2018-12-16 23:04:05 +01:00
|
|
|
|
2020-01-23 15:44:57 +01:00
|
|
|
gitlab_arm_source_sha256="3518735ce086ecedb2fe2841ea717b0325bb99418a7d32e1cc87ce169815624e"
|
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
|
|
|
}
|