Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa/bin
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-02-20 15:05:27 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-09 12:36:27 +0300
commit50cd3990c320464a8d72d522599774111f59913f (patch)
tree28d3f086e4feeb3dd4ae8278e498ebd9170a7d5f /qa/bin
parent7d20e47622c9a6e0a780bdbe9b53c8890c00deba (diff)
Remove legacy scripts for building docker images
[ci skip]
Diffstat (limited to 'qa/bin')
-rwxr-xr-xqa/bin/docker25
1 files changed, 0 insertions, 25 deletions
diff --git a/qa/bin/docker b/qa/bin/docker
deleted file mode 100755
index 683e915f698..00000000000
--- a/qa/bin/docker
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- build)
- docker pull $CI_REGISTRY_IMAGE:latest
- docker build --cache-from $CI_REGISTRY_IMAGE:latest \
- -t $CI_REGISTRY_IMAGE:ce-latest -t $CI_REGISTRY_IMAGE:ee-latest \
- -t $CI_REGISTRY_IMAGE:ce-nightly -t $CI_REGISTRY_IMAGE:ee-nightly \
- -t $CI_REGISTRY_IMAGE:latest .
- ;;
- publish)
- test -n "$CI_BUILD_TOKEN" || exit 1
- docker login --username gitlab-ci-token --password $CI_BUILD_TOKEN registry.gitlab.com
- docker push $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE:ce-latest
- docker push $CI_REGISTRY_IMAGE:ee-latest
- docker push $CI_REGISTRY_IMAGE:ee-nightly
- docker push $CI_REGISTRY_IMAGE:ee-nightly
- docker logout registry.gitlab.com
- ;;
- *)
- echo "Usage: $0 [build|publish]"
- exit 1
- ;;
-esac