Milkyway is a TOSCA generator. It will help you to use OASIS TOSCA (Topology and Orchestration Specification for Cloud Applications) standard without knowledge of TOSCA. You only need to put URL link for Ansible Galaxy Role from Github or path to the directory and get ready CSAR Archive to use it in TOSCA Orchestrator.
- Require Go v16 and higher
# if you have not got already installed golang -> check "realy quick start" section
go build
go install
milkyway help
## or milkyway -h, --help
milkyway generate -u [ansible_role_url]
milkyway generate -p [ansible_role_path] -n [role_name]
We get github url or path to a folder with role. You need make sure, that this role already worked, we are not magicians and could not correct Role errors.
├───files:
| └──main.yaml
├───templates:
| └──main.yaml
├───meta:
| └──main.yaml
├───defaults:
| └──main.yaml
├───vars:
| └──main.yaml
├───tasks
| ├───main.yaml
| └──setup-Debian.yml
├───handlers
| └──main.yaml
Program generates CSAR archive with below structure:
|───TOSCA.meta
|
├───nodetypes:
| └──main.yaml
├───artifactypes:
| └──main.yaml
├───capabilitytypes:
| └──main.yaml
├───definitions:
| └──main.yaml
├───defaults:
| └──main.yaml
After that you can use CSAR with another TOSCA tool
git clone https://github.com/princessfruittt/milkyway.git
cd milkyway
go build
go install
contacts:
📱 telegram: princessfruittt
📫 email: [email protected]