aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-04 22:23:38 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-04 22:23:38 +0200
commit3fc26ddfac87b8f1221e34b9e14054cf755de712 (patch)
tree3b5319a476b15cf566218487e5d32bcfb2bffb92 /scripts
parentUse pipeline-readable job names. (diff)
Remove unused files.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy-ci.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts/deploy-ci.sh b/scripts/deploy-ci.sh
deleted file mode 100755
index f5c965ca..00000000
--- a/scripts/deploy-ci.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-# Build and deploy on master branch
-echo "Connecting to docker hub"
-echo "$GITLAB_DOCKER_PASSWORD" | docker login --username "$GITLAB_DOCKER_USERNAME" --password-stdin registry.gitlab.com
-
-changed_lines=$(git diff HEAD~1 HEAD docker/base.Dockerfile | wc -l)
-
-if [ $changed_lines != '0' ]; then
- echo "base.Dockerfile was changed"
-
- echo "Building CI container"
- docker build -t registry.gitlab.com/python-discord/projects/site/django-base:latest -f docker/base.Dockerfile .
-
- echo "Pushing image to GitLab registry"
- docker push registry.gitlab.com/python-discord/projects/site/django-base:latest
-else
- echo "base.Dockerfile was not changed, not building"
-fi