summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-12-16 20:35:39 +0100
committerlouiz’ <louiz@louiz.org>2017-12-16 20:35:39 +0100
commit8713f015b19a1b86a9fddb6f954ea24cd31169f4 (patch)
tree3a3887cbf3b8bc04d7a8fd8eb0ea6d8b2a36772e
parent2c4016a4898a050c7f6ebd1843b265e209da1704 (diff)
downloadbiboumi-8713f015b19a1b86a9fddb6f954ea24cd31169f4.tar.gz
biboumi-8713f015b19a1b86a9fddb6f954ea24cd31169f4.tar.bz2
biboumi-8713f015b19a1b86a9fddb6f954ea24cd31169f4.tar.xz
biboumi-8713f015b19a1b86a9fddb6f954ea24cd31169f4.zip
Remove the ci deploy stop
-rw-r--r--.gitlab-ci.yml32
1 files changed, 0 insertions, 32 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5a3c7fd..4e1545a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,6 @@ stages:
- test # Use the build artifacts to run the tests
- packaging # Publish some packages (rpm, deb…)
- external # Interact with some external service (codecov, coverity…)
- - deploy
before_script:
- uname -a
@@ -328,34 +327,3 @@ packaging:archlinux:
- makepkg -si --noconfirm
- test -e /usr/bin/biboumi
dependencies: []
-
-#
-## Deploy jobs
-#
-
-deploy:docker:
- stage: deploy
- tags:
- - docker-in-docker
- only:
- - master@louiz/biboumi
- variables:
- DOCKER_HOST: tcp://docker.louiz.org:2376
- DOCKER_TLS_VERIFY: 1
- SERVICE_NAME: biboumi
- script:
- - mkdir -p ~/.docker
- - echo "$TLSCACERT" > ~/.docker/ca.pem
- - echo "$TLSCERT" > ~/.docker/cert.pem
- - echo "$TLSKEY" > ~/.docker/key.pem
- - docker version
- - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN docker.louiz.org
- - docker build --pull --no-cache -t docker.louiz.org/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME docker/biboumi/alpine
- - docker push docker.louiz.org/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
- - docker service create --with-registry-auth --detach=false --name $CI_PROJECT_NAMESPACE-$CI_PROJECT_NAME-1 -e BIBOUMI_PASSWORD=password -e BIBOUMI_XMPP_SERVER_IP=prosody -e BIBOUMI_HOSTNAME=test.biboumi.louiz.org --network xmpp docker.louiz.org/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME || docker service update $CI_PROJECT_NAMESPACE-$CI_PROJECT_NAME-1
- - docker service create --with-registry-auth --detach=false --name $CI_PROJECT_NAMESPACE-$CI_PROJECT_NAME-2 -e BIBOUMI_PASSWORD=password -e BIBOUMI_XMPP_SERVER_IP=prosody -e BIBOUMI_HOSTNAME=test2.biboumi.louiz.org --network xmpp docker.louiz.org/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME || docker service update $CI_PROJECT_NAMESPACE-$CI_PROJECT_NAME-2
- - docker service create --with-registry-auth --detach=false --name $CI_PROJECT_NAMESPACE-$CI_PROJECT_NAME-3 -e BIBOUMI_PASSWORD=password -e BIBOUMI_XMPP_SERVER_IP=prosody -e BIBOUMI_HOSTNAME=test3.biboumi.louiz.org --network xmpp docker.louiz.org/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME || docker service update $CI_PROJECT_NAMESPACE-$CI_PROJECT_NAME-3
- environment:
- name: master
- url: https://biboumi.louiz.org
- dependencies: []