-
Build the source code:
phar-composer build ./ -v
wget https://github.com/go1com/deploy_helper/releases/download/v0.5.1/deploy-helper.phar
php deploy-helper.phar service:update rules production
php deploy-helper.phar service:endpoint
--endpoint=http://api-dev.mygo1.com/v3/endpoint-service/
--source=/path/to/user/resources/swagger/
--service=user
--username=ADMIN_USERNAME
--password=ADMIN_PASSWORD
Build variables values from #stash - The center we store all configurations.
php deploy-helper.phar service:build-docker-compose
--stash-url=http://your.stash.service/build/docker-compose/ACCESS_TOKEN_TO_STASH_SERVICE
--service=THE_SERVICE_YOU_ARE_BUILDING # Example: microservices:user
Extract translation strings from source PHP/Twig/YAML files:
deploy-helper translate:extractor \
--target=/path/to/resources/translations \
--php=/path/php-1 \
--php=/php/php-2 \
--twig=/path/to/twig-resources \
--yaml=/path/to/yaml-files