summaryrefslogtreecommitdiff
path: root/docker-entrypoint.sh
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-12-01 01:04:53 +0100
committerGitHub <noreply@github.com>2021-12-01 01:04:53 +0100
commit8d76826fa64460e504acc5924f859f8dbc246b42 (patch)
tree083fefada982c795e2415092794db429abb0c184 /docker-entrypoint.sh
parent5a1678f43184bd459132102cc13cf8426fe0449d (diff)
parent86ab04e54ea4175f10053decfad5086cda7aa024 (diff)
downloadgitlab-master.tar.gz
Merge pull request #1723 from python-gitlab/jlvillal/dead_mastermaster
Close-out `master` branch
Diffstat (limited to 'docker-entrypoint.sh')
-rwxr-xr-xdocker-entrypoint.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
deleted file mode 100755
index 5835acd..0000000
--- a/docker-entrypoint.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-GITLAB_CFG=${GITLAB_CFG:-"/etc/python-gitlab-default.cfg"}
-
-cat << EOF > /etc/python-gitlab-default.cfg
-[global]
-default = gitlab
-ssl_verify = ${GITLAB_SSL_VERIFY:-true}
-timeout = ${GITLAB_TIMEOUT:-5}
-api_version = ${GITLAB_API_VERSION:-4}
-per_page = ${GITLAB_PER_PAGE:-10}
-
-[gitlab]
-url = ${GITLAB_URL:-https://gitlab.com}
-private_token = ${GITLAB_PRIVATE_TOKEN}
-oauth_token = ${GITLAB_OAUTH_TOKEN}
-job_token = ${GITLAB_JOB_TOKEN}
-http_username = ${GITLAB_HTTP_USERNAME}
-http_password = ${GITLAB_HTTP_PASSWORD}
-EOF
-
-exec gitlab --config-file "${GITLAB_CFG}" "$@"