@@ -980,6 +980,9 @@ gitlab_configure_ci() {
980
980
}
981
981
982
982
gitlab_configure_artifacts () {
983
+ update_template ${GITLAB_CONFIG} \
984
+ GITLAB_ARTIFACTS_OBJECT_STORE_ENABLED
985
+
983
986
if [[ ${GITLAB_ARTIFACTS_OBJECT_STORE_ENABLED} == true ]]; then
984
987
echo " Configuring gitlab::artifacts:object_store"
985
988
@@ -997,7 +1000,6 @@ gitlab_configure_artifacts() {
997
1000
fi
998
1001
999
1002
update_template ${GITLAB_CONFIG} \
1000
- GITLAB_ARTIFACTS_OBJECT_STORE_ENABLED \
1001
1003
GITLAB_ARTIFACTS_OBJECT_STORE_REMOTE_DIRECTORY \
1002
1004
GITLAB_ARTIFACTS_OBJECT_STORE_DIRECT_UPLOAD \
1003
1005
GITLAB_ARTIFACTS_OBJECT_STORE_BACKGROUND_UPLOAD \
@@ -1025,6 +1027,9 @@ gitlab_configure_artifacts() {
1025
1027
1026
1028
1027
1029
gitlab_configure_packages () {
1030
+ update_template ${GITLAB_CONFIG} \
1031
+ GITLAB_PACKAGES_OBJECT_STORE_ENABLED
1032
+
1028
1033
if [[ ${GITLAB_PACKAGES_OBJECT_STORE_ENABLED} == true ]]; then
1029
1034
echo " Configuring gitlab::packages:object_store"
1030
1035
@@ -1042,7 +1047,6 @@ gitlab_configure_packages() {
1042
1047
fi
1043
1048
1044
1049
update_template ${GITLAB_CONFIG} \
1045
- GITLAB_PACKAGES_OBJECT_STORE_ENABLED \
1046
1050
GITLAB_PACKAGES_OBJECT_STORE_REMOTE_DIRECTORY \
1047
1051
GITLAB_PACKAGES_OBJECT_STORE_DIRECT_UPLOAD \
1048
1052
GITLAB_PACKAGES_OBJECT_STORE_BACKGROUND_UPLOAD \
@@ -1069,6 +1073,9 @@ gitlab_configure_packages() {
1069
1073
}
1070
1074
1071
1075
gitlab_configure_terraform_state () {
1076
+ update_template ${GITLAB_CONFIG} \
1077
+ GITLAB_TERRAFORM_STATE_OBJECT_STORE_ENABLED
1078
+
1072
1079
if [[ ${GITLAB_TERRAFORM_STATE_OBJECT_STORE_ENABLED} == true ]]; then
1073
1080
echo " Configuring gitlab::terraform_state:object_store"
1074
1081
@@ -1086,7 +1093,6 @@ gitlab_configure_terraform_state() {
1086
1093
fi
1087
1094
1088
1095
update_template ${GITLAB_CONFIG} \
1089
- GITLAB_TERRAFORM_STATE_OBJECT_STORE_ENABLED \
1090
1096
GITLAB_TERRAFORM_STATE_OBJECT_STORE_REMOTE_DIRECTORY \
1091
1097
GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_PROVIDER \
1092
1098
GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_AWS_ACCESS_KEY_ID \
@@ -1110,6 +1116,9 @@ gitlab_configure_terraform_state() {
1110
1116
}
1111
1117
1112
1118
gitlab_configure_lfs () {
1119
+ update_template ${GITLAB_CONFIG} \
1120
+ GITLAB_LFS_OBJECT_STORE_ENABLED \
1121
+
1113
1122
if [[ ${GITLAB_LFS_OBJECT_STORE_ENABLED} == true ]]; then
1114
1123
echo " Configuring gitlab::lfs:object_store"
1115
1124
@@ -1127,7 +1136,6 @@ gitlab_configure_lfs() {
1127
1136
fi
1128
1137
1129
1138
update_template ${GITLAB_CONFIG} \
1130
- GITLAB_LFS_OBJECT_STORE_ENABLED \
1131
1139
GITLAB_LFS_OBJECT_STORE_REMOTE_DIRECTORY \
1132
1140
GITLAB_LFS_OBJECT_STORE_DIRECT_UPLOAD \
1133
1141
GITLAB_LFS_OBJECT_STORE_BACKGROUND_UPLOAD \
@@ -1154,6 +1162,9 @@ gitlab_configure_lfs() {
1154
1162
}
1155
1163
1156
1164
gitlab_configure_uploads () {
1165
+ update_template ${GITLAB_CONFIG} \
1166
+ GITLAB_UPLOADS_OBJECT_STORE_ENABLED
1167
+
1157
1168
if [[ ${GITLAB_UPLOADS_OBJECT_STORE_ENABLED} == true ]]; then
1158
1169
echo " Configuring gitlab::uploads:object_store"
1159
1170
@@ -1171,7 +1182,6 @@ gitlab_configure_uploads() {
1171
1182
fi
1172
1183
1173
1184
update_template ${GITLAB_CONFIG} \
1174
- GITLAB_UPLOADS_OBJECT_STORE_ENABLED \
1175
1185
GITLAB_UPLOADS_OBJECT_STORE_REMOTE_DIRECTORY \
1176
1186
GITLAB_UPLOADS_OBJECT_STORE_DIRECT_UPLOAD \
1177
1187
GITLAB_UPLOADS_OBJECT_STORE_BACKGROUND_UPLOAD \
0 commit comments