3 Part.

Added endpoint POST for save to DB full link and return short link.
Web-service generated unique links.
Was make class BD_Manager for work with any DB from existed.
8 jobs for master in 3 minutes and 16 seconds (queued for 1 second)
Name Stage Failure
failed
test Test
$ if [ -z ${KUBERNETES_PORT+x} ]; then # collapsed multi-line command
$ export DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DB_HOST}:5432/${POSTGRES_DB}"
$ cp -R . /tmp/app
$ /bin/herokuish buildpack test
-----> Python app detected
Selected buildpack does not support test feature
2021/09/22 20:51:09 exit status 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build Build
Error response from daemon: manifest for gitlab.mai.ru:5050/polyakovsv/url_shortener/master:2326f3e018a587f4edfe1ea77c8182825bda917e not found: manifest unknown: manifest unknown
gitlab.mai.ru:5050/polyakovsv/url_shortener/master:latest
Sending build context to Docker daemon 104.4kB
Step 1/10 : FROM redis
---> 02c7f2054405
Step 2/10 : COPY redis.conf /usr/local/etc/redis/redis.conf
COPY failed: file not found in build context or excluded by .dockerignore: stat redis.conf: file does not exist
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1