go1/deploy-helper

There is no license information available for the latest version (v0.5.5) of this package.

v0.5.5 2020-11-03 02:23 UTC

This package is auto-updated.

Last update: 2024-04-29 03:12:48 UTC


README

Build the command

Get the command

wget https://github.com/go1com/deploy_helper/releases/download/v0.5.1/deploy-helper.phar

Run /install

php deploy-helper.phar service:update rules production

Import endpoints

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

Variable building

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

Translation extracting

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