|
@@ -17,7 +17,6 @@ variables:
|
|
HOST_RADIUS: radius.test.fd3.flowdat.com
|
|
HOST_RADIUS: radius.test.fd3.flowdat.com
|
|
HOST_STATS: stats.test.fd3.flowdat.com
|
|
HOST_STATS: stats.test.fd3.flowdat.com
|
|
HOST_DUMMY: "http://www.flowdat.com/"
|
|
HOST_DUMMY: "http://www.flowdat.com/"
|
|
- GIT_STRATEGY: clone
|
|
|
|
|
|
|
|
build_branch:
|
|
build_branch:
|
|
image: docker.infra.flowdat.com/fd3/sf-php:latest
|
|
image: docker.infra.flowdat.com/fd3/sf-php:latest
|
|
@@ -28,7 +27,7 @@ build_branch:
|
|
- git fetch --tags
|
|
- 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
|
|
- 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
|
|
- 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:
|
|
only:
|
|
- pushes
|
|
- pushes
|
|
- branches
|
|
- branches
|
|
@@ -47,12 +46,8 @@ ftth_clone:
|
|
variables:
|
|
variables:
|
|
- $CI_COMMIT_REF_NAME == "master"
|
|
- $CI_COMMIT_REF_NAME == "master"
|
|
|
|
|
|
-image: docker:stable
|
|
|
|
-
|
|
|
|
-services:
|
|
|
|
- - docker:dind
|
|
|
|
-
|
|
|
|
ftth_docker:
|
|
ftth_docker:
|
|
|
|
+ image: docker:stable
|
|
stage: test
|
|
stage: test
|
|
script:
|
|
script:
|
|
- docker info
|
|
- docker info
|