- Python3
- virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
(after Set up)
python src/populate_secrets_gitlab/app.py write
# lint
python setup.py flake8
python3 setup.py build
python3 setup.py test
python3 setup.py install
virtualenv venv
source venv/bin/activate
python -m pip install -e "git+https://github.com/deploymode/populate-secrets-gitlab.git/#egg=populate-gitlab"
export GITLAB_TOKEN=...
python3 __init__.py \
path/to/.env \
uat \
https://my-gitlab.example.com \
project_id \
--exclude APP_NAME,LOG_CHANNEL,DB_CONNECTION,BROADCAST_DRIVER,MAIL_FROM_NAME,MIX_SENTRY_LARAVEL_DSN,AZURE_REDIRECT_URI,MIX_APP_ENV \
--debug