Skip to content

Commit c502882

Browse files
committed
Sync config v15.2.0 : Remove GITLAB_NOTIFY_{ON_BROKEN_BUILDS, PUSHER}
Introduced in v15.2.0 See upstream merge request: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/91024
1 parent 9d1fa62 commit c502882

File tree

10 files changed

+7
-37
lines changed

10 files changed

+7
-37
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -930,14 +930,6 @@ Global custom hooks directory. Defaults to `/home/git/gitlab-shell/hooks`.
930930

931931
Sets the timeout for webhooks. Defaults to `10` seconds.
932932

933-
##### `GITLAB_NOTIFY_ON_BROKEN_BUILDS`
934-
935-
Enable or disable broken build notification emails. Defaults to `true`
936-
937-
##### `GITLAB_NOTIFY_PUSHER`
938-
939-
Add pusher to recipients list of broken build notification emails. Defaults to `false`
940-
941933
##### `GITLAB_REPOS_DIR`
942934

943935
The git repositories folder in the container. Defaults to `/home/git/data/repositories`

assets/runtime/config/gitlabhq/gitlab.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -621,12 +621,6 @@ production: &base
621621

622622
gitlab_ci:
623623
# Default project notifications settings:
624-
#
625-
# Send emails only on broken builds (default: true)
626-
all_broken_builds: {{GITLAB_NOTIFY_ON_BROKEN_BUILDS}}
627-
#
628-
# Add pusher to recipients list (default: false)
629-
add_pusher: {{GITLAB_NOTIFY_PUSHER}}
630624

631625
# The location where build traces are stored (default: builds/). Relative paths are relative to Rails.root
632626
builds_path: {{GITLAB_BUILDS_DIR}}

assets/runtime/env-defaults

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,12 @@ GITLAB_MATTERMOST_URL=${GITLAB_MATTERMOST_URL:-https://mattermost.example.com}
248248
GITLAB_SECRETS_DB_KEY_BASE=${GITLAB_SECRETS_DB_KEY_BASE:-}
249249
GITLAB_SECRETS_SECRET_KEY_BASE=${GITLAB_SECRETS_SECRET_KEY_BASE:-}
250250
GITLAB_SECRETS_OTP_KEY_BASE=${GITLAB_SECRETS_OTP_KEY_BASE:-}
251-
GITLAB_NOTIFY_ON_BROKEN_BUILDS=${GITLAB_NOTIFY_ON_BROKEN_BUILDS:-true}
252-
GITLAB_NOTIFY_PUSHER=${GITLAB_NOTIFY_PUSHER:-false}
251+
if [[ -v GITLAB_NOTIFY_ON_BROKEN_BUILDS ]]; then
252+
echo "GITLAB_NOTIFY_ON_BROKEN_BUILDS is removed in gitlab v15.2.0 and has no effect."
253+
fi
254+
if [[ -v GITLAB_NOTIFY_PUSHER ]]; then
255+
echo "GITLAB_NOTIFY_PUSHER is removed in gitlab v15.2.0 and has no effect."
256+
fi
253257

254258
GITLAB_ROBOTS_PATH=${GITLAB_ROBOTS_PATH:-${USERCONF_TEMPLATES_DIR}/gitlabhq/robots.txt}
255259

assets/runtime/functions

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -990,8 +990,7 @@ gitlab_configure_rack_attack() {
990990
gitlab_configure_ci() {
991991
echo "Configuring gitlab::ci..."
992992
update_template ${GITLAB_CONFIG} \
993-
GITLAB_NOTIFY_ON_BROKEN_BUILDS \
994-
GITLAB_NOTIFY_PUSHER GITLAB_BUILDS_DIR
993+
GITLAB_NOTIFY_ON_BROKEN_BUILDS
995994
}
996995

997996
gitlab_configure_artifacts() {

contrib/docker-swarm/docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ services:
6464
- GITLAB_ROOT_PASSWORD=
6565
- GITLAB_ROOT_EMAIL=
6666

67-
- GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
68-
- GITLAB_NOTIFY_PUSHER=false
69-
7067
7168
7269

docker-compose.swarm.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ services:
126126
- GITLAB_ROOT_PASSWORD=
127127
- GITLAB_ROOT_EMAIL=
128128

129-
- GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
130-
- GITLAB_NOTIFY_PUSHER=false
131-
132129
133130
134131

docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ services:
6666
- GITLAB_ROOT_PASSWORD=
6767
- GITLAB_ROOT_EMAIL=
6868

69-
- GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
70-
- GITLAB_NOTIFY_PUSHER=false
71-
7269
7370
7471

docs/docker-compose-keycloak.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ services:
6060
- GITLAB_ROOT_PASSWORD=<root-password>
6161
- GITLAB_ROOT_EMAIL=
6262

63-
- GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
64-
- GITLAB_NOTIFY_PUSHER=false
65-
6663
6764
6865

docs/s3_compatible_storage.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ services:
124124
- GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alphanumeric-string
125125
- GITLAB_ROOT_PASSWORD=
126126
- GITLAB_ROOT_EMAIL=
127-
- GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
128-
- GITLAB_NOTIFY_PUSHER=false
129127
130128
131129

kubernetes/gitlab-rc.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ spec:
4040
- name: GITLAB_SSH_PORT
4141
value: "22"
4242

43-
- name: GITLAB_NOTIFY_ON_BROKEN_BUILDS
44-
value: "true"
45-
- name: GITLAB_NOTIFY_PUSHER
46-
value: "false"
47-
4843
- name: GITLAB_BACKUP_SCHEDULE
4944
value: daily
5045
- name: GITLAB_BACKUP_TIME

0 commit comments

Comments
 (0)