GitLab Options:
GitHub Options:
Make sure to add all environment variables information in .env file Than modify cfg.py file after rename it from cfg (Sample).py to cfg.py And update bellow varaibles: ENV file path. GitLab Project ID. GitLab Private Token. GitHub Token GitHub User GitHub REPO Name
Example of cfg.py
:
# ENV file path
env_file = '/home/<your-user>/Desktop/api/.env'
# GitLab Project ID
project_id = 'Add here project id'
# GitLab Private Token
private_token = 'Add here your GitLab private token'
# GitHub GitHub Personal Access Token
GITHUB_TOKEN = 'Add here your GitHub private token'
GITHUB_USER = 'Add here your GutHub User'
REPO_NAME = 'Add here your repo name'
####### Don't Edit Below Lines ###############################
url = 'https://gitlab.com/api/v4/projects/' + project_id + '/variables'
content_type = 'application/json'
env_protected = 'true' # true|false
env_masked = 'false' #true|false
env_environment_scope = '*'
๐ค Iven Leni Fernandez
If you've ever wanted to contribute to open source, and a great cause, now is your chance!
See the contributing docs for more information
Copyright ยฉ 2020 Iven Leni Fernandez.
This project is AGPL-3.0 licensed.