Original
This repo has been moved from auto_upload_site_package
Prepare
Config visudo (run sudo without password) on local machine
sudo visudo
username ALL=(ALL) NOPASSWD: ALL
How to use
This package provided function name deploy, it will update Magestore pwa pos package to any remote server.
The deploy function has required params:
- repo_info: (type:dict)
- repo_owner: (type:str)
- repo_name: (type:str)
- tag_name: (type:str)
- access_token: (type:str) github personal access token that have permission to acces 6 Magestore product lines
- instance_info: (type:dict)
- ip: (type:str) server ip address
- user: (type:str) server username
- password: (type:str) server username's password
- key_path: (type:str) path to the private key file on local machine (required when no password provided)
- source_folder: (type:str)absolute path to magento source
- web_container_id: (type:str) web container id (installed by [magento-apache](https://gitlab.com/general-oil/infrastructure/tree/master/Environment/Magento/DemoPortalApache) docker)