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

Version 8.1.0? #61

Open
smk508 opened this issue Apr 20, 2019 · 14 comments
Open

Version 8.1.0? #61

smk508 opened this issue Apr 20, 2019 · 14 comments

Comments

@smk508
Copy link

smk508 commented Apr 20, 2019

I noticed that version 8.1.0 is no longer available, and also the latest tag now points to an older version of Jira. Is there any way to get the 8.1.0 image back?

@bobswift
Copy link

I noticed the CI builder says: Updated Atlassian JIRA Software master branch to latest version 8.1.0. So, it would seem CI builder knows about 8.1.0 from Atlassian at least.

@perlan
Copy link

perlan commented Apr 23, 2019

Looks like JIRA_VERSION was updated but Dockerfile is still fetching atlassian-jira-software-7.13.3.tar.gz. This seems a little brittle and would probably be fixed by PR #56.

@smk508
Copy link
Author

smk508 commented Apr 24, 2019

Also the CircleCI builder keeps reverting master to 7.13 after trying to upgrade to 8.1. It just did it again yesterday.

@perlan
Copy link

perlan commented Apr 25, 2019

Yes, It seems like the bin/prepare script is not working correctly. It will always pick the last entry for the tar file (the opposite to the comment in the file) and update the JIRA_VERSION back and forth between the two available versions. My guess is that previously, it has been only one entry in the Atlassian response.

@perlan
Copy link

perlan commented Apr 26, 2019

The version feed is now back to just single jira version (8.1.0) so the latest build is back to using 8.1.0. The problem in bin/prepare is still there so it will break again the next time there are multiple versions in the version feed.

@smk508
Copy link
Author

smk508 commented Apr 26, 2019

I think that atlassian considers 7.13.3 to be the 'long-term' version of Jira while 8.1 is the latest one, which is why the feed gives tars for both versions. So perhaps both of them should be built into separate branches?
Also, even though 8.1 is on master now, there isn't a separate branch for it like for the other Jira versions, so there's no way to pin to that version when pulling from Docker other than to pull latest.

Also, this is the line in the bash script that pulls the version feed and is causing issues for reference:

curl -Ls 'https://my.atlassian.com/download/feeds/current/jira-software.json' | sed 's/downloads(\(.*\))/\1/g' | jq -r '.[] | select(.description | test("TAR\\.GZ Archive")) | ("" + .zipUrl + " " + .version)' | while read -r URL VERSION

@zoispag
Copy link

zoispag commented Apr 29, 2019

It is now done.

@blop
Copy link

blop commented May 9, 2019

@zoispag
Copy link

zoispag commented May 9, 2019

@blop maybe not explicitly tagged, but it is there.

image

I am using latest: cptactionhank/atlassian-jira-software:latest

@blop
Copy link

blop commented May 9, 2019

Using ":latest" in production configurations is not recommended :
https://vsupalov.com/docker-latest-tag/

@viceice
Copy link

viceice commented May 12, 2019

https://hub.docker.com/r/cptactionhank/atlassian-jira/tags
https://hub.docker.com/r/cptactionhank/atlassian-jira-software/tags

Still no sign of the 8.1+

at least jira software 8.1.0 is finally there

@cptactionhank
Copy link
Owner

As long as the feed (https://my.atlassian.com/download/feeds/current/jira-software.json) does not contain any later version, this will not have that either.

You could push Atlassian for updating their feed.

@blop
Copy link

blop commented Jun 6, 2019

https://my.atlassian.com/download/feeds/current/jira-software.json -> JIRA 8.2.1
cptactionhank/atlassian-jira-software:8.2.1 not found: manifest unknown: manifest unknown

Maybe it's the same issue ?

@smurfy smurfy mentioned this issue Jul 5, 2019
@loneken79
Copy link

As a workaround you can pull the latest images and tag it localy, so you can use it in your process.

Assuming the latest commit is refering to the desired tag update (8.3.0 actually) the commands are:

  1. docker pull cptactionhank/atlassian-jira-software (get "latest" version of the image)
  2. docker tag cptactionhank/atlassian-jira:latest cptactionhank/atlassian-jira:8.3.0 (tag this image locally)
  3. check that you see both "latest" and "8.3.0" version with the same "Image ID" in docker images | head listing
  4. docker rmi cptactionhank/atlassian-jira:latest (clean unused "latest" version)

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

Successfully merging a pull request may close this issue.

8 participants