Ver Fonte

Update .gitlab-ci.yml

Guillermo Espinoza há 6 anos atrás
pai
commit
27d273dc94
1 ficheiros alterados com 2 adições e 7 exclusões
  1. 2 7
      .gitlab-ci.yml

+ 2 - 7
.gitlab-ci.yml

@@ -17,7 +17,6 @@ variables:
   HOST_RADIUS: radius.test.fd3.flowdat.com
   HOST_STATS: stats.test.fd3.flowdat.com
   HOST_DUMMY: "http://www.flowdat.com/"
-  GIT_STRATEGY: clone
 
 build_branch:
   image: docker.infra.flowdat.com/fd3/sf-php:latest
@@ -28,7 +27,7 @@ build_branch:
     - git fetch --tags
     - if git ls-remote --exit-code gogs &>/dev/null; then echo 'Existe el remote gogs' ; else git remote add gogs ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/connect.git ; fi
     - git checkout $CI_COMMIT_REF_NAME
-    - chmod 0600 keys/* && eval $(ssh-agent); ssh-add keys/gogs.drone.id_rsa && git push -u gogs --tags
+    - chmod 0600 keys/* && eval $(ssh-agent); ssh-add keys/gogs.drone.id_rsa && git push -u gogs $CI_COMMIT_REF_NAME --tags
   only:
     - pushes
     - branches
@@ -47,12 +46,8 @@ ftth_clone:
     variables:
       - $CI_COMMIT_REF_NAME == "master"
 
-image: docker:stable
-
-services:
-   - docker:dind
-
 ftth_docker:
+  image: docker:stable
   stage: test
   script:
     - docker info