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

Consider auto-versioning based on RSS feed #135

Open
denysvitali opened this issue Jul 12, 2019 · 3 comments
Open

Consider auto-versioning based on RSS feed #135

denysvitali opened this issue Jul 12, 2019 · 3 comments

Comments

@denysvitali
Copy link

denysvitali commented Jul 12, 2019

Maybe this is a duplicate of #91, but why don't you build the Docker image by using an argument to the Dockerfile (the Jira Version) that's automatically filled by a bash script, so that the image building process can be automated via a CI with a cronjob?

I'm currently doing it with denysvitali/docker-jira, more specifically in the build.sh script.

Feel free to copy it as per your need. This will avoid the hassle to manually check for a new update on Atlassian's website

@blacklabelops
Copy link
Member

We have a version reference:

  • Inside the Dockerfile
  • Inside the readme.md
  • Inside the release.sh

For a clear solution we should disregard all these references. Anyone in favor to just always build the latest and disregard manually maintaining references in files?

@neuhausf
Copy link

neuhausf commented Jul 29, 2019

@blacklabelops Yes, please always build the latest automatically. Otherwise we depend on you to build the current version. Right now, there is 8.3.0 in production but your image points to 8.2.4 😉
Sidenote: https://hub.docker.com/r/blacklabelops/jira is outdated anyway

@esciara
Copy link

esciara commented Aug 7, 2019

Just for info : JIRA docker image does it (which I like less because it is less configurable than this one) through a CircleCI crin job. See https://github.com/cptactionhank/docker-atlassian-jira-software/blob/master/.circleci/config.yml . (File and scripts are reasonably well commented)

Note that it looks at the JIRA version json feed, changes the versions on the Dockerfile, builds a new docker image and runs a fair amount of tests in ruby/capybara to setup the server and test most things work as expected. If it does, it then releases the image in the docker repo.

More direct link to scripts:

CORRECTION: there were Capybara tests, but they have been commented out (at some stage the JIRA interface changed and no one corrected the test code. Shame... it was fairly elegant. here is the test code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants