|
@@ -18,6 +18,8 @@ services:
|
|
|
|
|
|
variables:
|
|
variables:
|
|
CONTAINER_IMAGE: docker.infra.flowdat.com/fd3/installer
|
|
CONTAINER_IMAGE: docker.infra.flowdat.com/fd3/installer
|
|
|
|
+ PMA_CONTAINER_IMAGE: docker.infra.flowdat.com/fd3/pma
|
|
|
|
+ REDIS_CONTAINER_IMAGE: docker.infra.flowdat.com/fd3/redis
|
|
DOCKER_USER: drone
|
|
DOCKER_USER: drone
|
|
DOCKER_PWD: 6hd2dLfL
|
|
DOCKER_PWD: 6hd2dLfL
|
|
|
|
|
|
@@ -69,10 +71,16 @@ installer_tag:
|
|
- cd tools
|
|
- cd tools
|
|
- composer install --no-interaction --no-progress
|
|
- composer install --no-interaction --no-progress
|
|
- php cmd.php make:installImages ../ --client='develop' --develop=1
|
|
- php cmd.php make:installImages ../ --client='develop' --develop=1
|
|
- #- chmod 0600 keys/bitbucket.id_rsa ; eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa ; php cmd.php make:tag:vendors repositories.ini ${CI_COMMIT_TAG} --branch=1
|
|
|
|
|
|
+ #- chmod 0600 keys/bitbucket.id_rsa ; eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa ; php cmd.php make:tag:vendors repositories.ini ${CI_COMMIT_TAG}
|
|
- chmod 0600 keys/bitbucket.id_rsa ; eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa ; php cmd.php get:source ../git.ini --timeout=120
|
|
- chmod 0600 keys/bitbucket.id_rsa ; eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa ; php cmd.php get:source ../git.ini --timeout=120
|
|
#- chmod 0600 keys/bitbucket.id_rsa ; eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa ; php cmd.php composer:require ../git.ini 'ik/*' ${CI_COMMIT_TAG} --composer_update=0
|
|
#- chmod 0600 keys/bitbucket.id_rsa ; eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa ; php cmd.php composer:require ../git.ini 'ik/*' ${CI_COMMIT_TAG} --composer_update=0
|
|
- chmod 0600 keys/bitbucket.id_rsa ; eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa ; php cmd.php make:tag:modules ../git.ini ${CI_COMMIT_TAG}
|
|
- chmod 0600 keys/bitbucket.id_rsa ; eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa ; php cmd.php make:tag:modules ../git.ini ${CI_COMMIT_TAG}
|
|
|
|
+ - docker pull $PMA_CONTAINER_IMAGE:latest || true
|
|
|
|
+ - docker tag $PMA_CONTAINER_IMAGE:latest $PMA_CONTAINER_IMAGE:${CI_COMMIT_TAG}
|
|
|
|
+ - docker push $PMA_CONTAINER_IMAGE:${CI_COMMIT_TAG}
|
|
|
|
+ - docker pull $REDIS_CONTAINER_IMAGE:latest || true
|
|
|
|
+ - docker tag $REDIS_CONTAINER_IMAGE:latest $REDIS_CONTAINER_IMAGE:${CI_COMMIT_TAG}
|
|
|
|
+ - docker push $REDIS_CONTAINER_IMAGE:${CI_COMMIT_TAG}
|
|
only:
|
|
only:
|
|
refs:
|
|
refs:
|
|
- tags
|
|
- tags
|