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

Update docker hub containers #3

Open
anki-code opened this issue Apr 30, 2021 · 15 comments
Open

Update docker hub containers #3

anki-code opened this issue Apr 30, 2021 · 15 comments

Comments

@anki-code
Copy link
Member

Hi @AstraLuma !

I've noticed that the xonsh version in the container is old:

docker run -it --rm xonsh/xonsh xonsh --version
# xonsh/0.9.24

We have 0.9.27 at this time and we'll have great new version in the near future.

What we should do to update container to the 0.9.27 and to the future version?

Thanks for the docker containers!

@AstraLuma
Copy link
Member

It should be rebuilding daily

@anki-code
Copy link
Member Author

By the Actions the last action was ran 5 months ago.

Could you please bump the update? It will be cool to have the references in the README of how to do this.

@anki-code
Copy link
Member Author

anki-code commented May 1, 2021

@AstraLuma oh, here it is:

Cirrus CI Poke / poke.yml
This scheduled workflow is disabled because 
there hasn't been activity in this repository for at least 60 days. 

@AstraLuma
Copy link
Member

Rude!

Maybe Cirrus cron tasks won't do that?

@AstraLuma
Copy link
Member

To be clear: no action is necessary when xonsh releases. It'll pick it up the next rebuild. (Which should be daily.)

@anki-code
Copy link
Member Author

Which should be daily

But we still have 0.9.24... why? :)

@AstraLuma
Copy link
Member

Which should be daily

But we still have 0.9.24... why? :)

This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days.

The solution is to probably replace the use of github actions with cirrus ci scheduled tasks.

@iamjackg
Copy link

I was just looking at this, and also noticed that the last image version was pushed in December 2020.

image

@anki-code
Copy link
Member Author

@iamjackg I'm using the recipe from xonsh cheatsheet to build docker container with xonsh.

@iamjackg
Copy link

Well yeah, that's simple enough to do, but an official prebuilt image is a lot more convenient, and from the comments in this issue it seems like @AstraLuma was already planning to fix it?

@AstraLuma
Copy link
Member

Yeah, I set it all up. But apparently the scheduled task stuff isn't working.

Any xore developers can manually trigger a new one.

The real fix is mentioned above.

@iamjackg
Copy link

So should I open an issue in the core repo for somebody to trigger a new build, or should I wait for you to figure out the schedule stuff?

@AstraLuma
Copy link
Member

huh, that's funny
image

this should have been fixed.

I guess I'll email cirrus.

@anki-code
Copy link
Member Author

anki-code commented Jul 29, 2022

Still have ancient version on docker hub.

docker pull xonsh/xonsh
docker run -it --rm xonsh/xonsh xonsh --version
# xonsh/0.9.24

Workaround from https://github.com/anki-code/xonsh-cheatsheet:

# Docker with certain Python version and latest release of xonsh
docker run --rm -it python:3.9-slim /bin/bash \
 -c "pip install 'xonsh[full]' && xonsh"

# Docker with certain Python version and xonsh from the master branch
docker run --rm -it python:3.9-slim /bin/bash \
 -c "apt update && apt install -y git && pip install -U git+https://github.com/xonsh/xonsh && xonsh"

@AstraLuma
Copy link
Member

Sorry, cirrus said just recreate the cron. If that didn't do it, I guess we need to bother them harder.

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

No branches or pull requests

3 participants