cptactionhank / docker-atlassian-jira-software

Atlassian JIRA Software wrapped in a Docker image
https://cptactionhank.github.io/docker-atlassian-jira-software
MIT License
270 stars 168 forks source link

can the /spec/ acceptance test files be used for automated integration? #15

Closed jhgorse closed 7 years ago

jhgorse commented 7 years ago

Greetings,

Is it possible to use the files in the /spec/ directory to automate the integration of, for example, JIRA, postgresql, and nginx+reverse proxy?

I am somewhat new to Docker and so I am looking for the best ways integrate the elements that it provides in an automated way.

Cheers, Joe

cptactionhank commented 7 years ago

I'm not sure about what you mean exactly.

I have made acceptance tests which does an automated setup process for various configurations which among others include Postgres+NGINX+reverseproxy.

It's a deliberate choice to keep the image as vanilla or close to the default install as possible with only support a few very commonly used or handy additional features. So to do a whole automated system (I'm guessing upgrading, healtchecking, failover etc.) it all up to you and how you choose to utilize Docker.

cptactionhank commented 7 years ago

Yes, the acceptance tests are already used for a CI/CD environment for testing new version of the Docker images.

You should be able to test them yourself using bundle exec rspec assuming you have the environment set up, ie. Docker running on localhost and Ruby environment.

jhgorse commented 7 years ago

Awesome. Thanks!