Think about developing opera CI/CD plugin(s) #164
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
Description
This is just an idea for a possible feature that is currently not a priority.
Imagine that you have developed a Kubernetes microservice application that you want to deploy on the desired cloud provider (e.g. AWS, Azure, GCP, IBM etc.). You have also prepared a Docker container for each microservice and each microservices also has its own git repository. For the deployment (and undeployment) you can prepare necessary TOSCA templates and Ansible playbooks along with Kubernetes deployments, services, ingress controllers and so on. You can also package your files in a TOSCA CSAR. Now to be able to deploy the application (or microservice) you can do it in a several ways:
opera deploy
for deployment andopera undeploy
for undeployment.And there are more ways to do it. The thing is that some users might not want to do all this manually and would want to automate their solutions as much as possible. Nowadays CI/CD tools such as GitHub Action, Jenkins, CircleCI, Travis, GitLab CI/CD are used to automate the deployment of solutions that reside in git repositories. Now, if they are using opera, all the aforementioned options for the deployment are okay but, except the ones with installing opera in CI, they are not completely automated. One way is of course installing opera CLI within the CI/CD job or using xOpera SaaS curl commands to deploy the app. However, I believe that it would be a lot easier if opera CLI (or even xOpera SaaS) had some plugins for different CI/CD providers, so that the users can use them without needing to install anything else than just using this plugin.
So, for the future I propose that we think of the possibility to develop xOpera CLI/SaaS CI/CD plugins that could be used within the CI/CD configurations that are a part of GitHub/GitLab/Bitbucket and other git repositories in order to fully automate the solutions. This could be another step to popularize the use of xOpera and its parts. Since a lot of CI tools use Docker containers within their plugins, this issue is also connected with #135.
Steps
To be determined if we decide to develop CI plugins for a specific CI provider.
Current behaviour
xOpera can be used within CI configurations by installing to a python environment or by using xOpera SaaS curl commands.
Expected results
To be able to use xOpera as some sort of prepared CI plugin.
The text was updated successfully, but these errors were encountered: