Open buep opened 8 years ago
Interesting input from @hoeghh:
Hi,
Heres the project that automates the wizard for atlassian products.
My thought was, that we made something simular, containerzied, and then run that in Staci as a final step.
https://github.com/Adaptavist/avst-wizard
But someone needs to figure out how they do it.
Relates to something we did ourselves for Staci: https://github.com/Praqma/jira_auto_import
Probably not going to be possible, since Fogcreek no longer offers a self hosted solution.
What do Fogcreek have to do with Atlassian ?
Anyway, even though Fogbugz can be put in a container, we could have an instance that we use the API against though. But that is another issue - this is only related to Jira.
@hoeghh demoed yesterday a new feature in staci that allow one to restore from backup a full jira and spin it up ready to use. That could also be a possible way fix the licensing problem.
Challenge are we can't inject license, as it needs to be in file. Injecting it would mean on command line a parameter, so we can hide the secret on our Jenkins system. Further we would have to have a backup of an empty system, done manually, but that could also be okay.
https://github.com/Praqma/Praqmatic-Automated-Changelog/issues/35#issuecomment-236580037
jira_auto_import does not exist anymore, that became the feature in staci.
Renewing licenses again - see #67
Still relevant for PAC 2.0x
In #19 we tried to find a way to start a Jira Software server in a fully automated way so we could use it for integration tests.
We didn't success complete as Jira do not support unattended installation - the problem is the initial Jira Setup Wizard. There is a lot of details in #19 about the research we done, and the temporary solution we created.
Problems with current solution is
Requirements for a valid solution
Try Selenium
I have one idea, that I think we should try as a first proof-of-concept. Try using Selenium, and write a test that takes parameters as input and fill out the Jira Setup Wizard. That would be a good solution - then we can just start and use the https://hub.docker.com/r/blacklabelops/jira/ Jira image and auto configure it every time we start a new.
We could write a test data import the same way.
Atlassian support couldn't help us
We filed a request to Atlassian support (we are Atlassian Experts), but they couldn't help and they do not support any such fancy things as fully automated installation ;-)
My reference is: https://support.atlassian.com/servicedesk/customer/portal/20/GHS-39047
References