Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish on Ansible galaxy #12

Closed
2 of 6 tasks
arm4b opened this issue Aug 19, 2015 · 4 comments
Closed
2 of 6 tasks

Publish on Ansible galaxy #12

arm4b opened this issue Aug 19, 2015 · 4 comments

Comments

@arm4b
Copy link
Member

arm4b commented Aug 19, 2015

Good "sign of quality" objective is to publish StackStorm roles on Ansible galaxy to get some more attention from the community.
At that point it should be tested/stable enough.

  • Register Ansible Galaxy account
  • Polish, Refactor, Follow best practices
  • Integration Tests Integration Tests #15
  • Ansible Galaxy Docs, Examples
  • Decide: ship it as stackstorm.st2 role or st2, st2web, st2mistral, st2chatops roles
  • Use Ansible Galaxy 3rd-party dependencies for postgresql, rabbitmq, mongo (We use our own roles now, but should leave an option for users to choose alternate external roles)
@ytjohn
Copy link
Contributor

ytjohn commented Apr 25, 2017

Relates to:

#95
#45

@ytjohn
Copy link
Contributor

ytjohn commented Jul 6, 2017

Under "Decide" I would recommend that you ship as "stackstorm.X". This lets you continue shipping your more common roles (nginx/postgresql/rabbitmq) under your name until you feel comfortable moving to any 3rd-party roles.

I would put that decision higher up, and register an account sooner rather than later. That way you can have the stackstorm username and stackstorm., even if you don't list anything on galaxy.

Immediately after that, you should rename the roles in place. For example, if you register with the username "stackstorm", you would rename roles/nginx to roles/stackstorm.nginx and roles/st2 to roles/stackstorm.st2. Then you would update the playbook example to use the new names.

I would strongly encourage to do this step as early as possible. This gives those of us downloading the roles and dropping them into our ext_roles directory the ability to isolate them right away. Then, once you split the roles out into their own repos, they will already be named appropriately.

@arm4b
Copy link
Member Author

arm4b commented Jul 7, 2017

Sounds like a good plan and we're thinking alike because we already started tagging some roles in internal infra with stackstorm.role-name namespace (thanks to @lakshmi-kannan).

So I just connected existing all-in-one ansible-st2 repo to the Galaxy:
https://galaxy.ansible.com/StackStorm/stackstorm/

Sadly StackStorm is case sensitive as is, - Galaxy takes it from the GitHub org name (see https://groups.google.com/forum/#!msg/ansible-project/RkBTwc7MIS4/E1ac8OFPAAAJ). I'd like stackstorm. namespace too, comparing to StackStorm.

Renaming all the roles st2web -> StackStorm.st2web makes sense in a next 0.8.0 (or even 0.9.0) release, since it's a breaking change, thanks @ytjohn for the reminder! 👍

@arm4b arm4b mentioned this issue Aug 3, 2017
24 tasks
cognifloyd added a commit to cognifloyd/ansible-st2 that referenced this issue Sep 27, 2017
cognifloyd added a commit to cognifloyd/ansible-st2 that referenced this issue Sep 27, 2017
cognifloyd added a commit to cognifloyd/ansible-st2 that referenced this issue Sep 27, 2017
cognifloyd added a commit to cognifloyd/ansible-st2 that referenced this issue Oct 3, 2017
cognifloyd added a commit to cognifloyd/ansible-st2 that referenced this issue Nov 3, 2017
cognifloyd added a commit to cognifloyd/ansible-st2 that referenced this issue Sep 13, 2018
@arm4b arm4b removed this from the v1.0.0 milestone Dec 20, 2018
cognifloyd added a commit to cognifloyd/ansible-st2 that referenced this issue Jan 29, 2019
@arm4b
Copy link
Member Author

arm4b commented Jul 28, 2020

@arm4b arm4b closed this as completed Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants