-
Notifications
You must be signed in to change notification settings - Fork 12
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
[DevOps] automatic Workflow for container publish #21
Comments
I'd like to keep the full game version which I think rules out scraping patch notes. I currently get this from the server binary ( An automatic pipeline would be great though. Just a few ideas that could be worth looking into:
|
I have the version working by just Running a steamcmd container and installing Avorion there. The last thing missing is the checking if the build has to run. I would try to use Tags or (Pre-)Releases for that. The only Problem, that I could see with that is that the version for the beta tag show the stable number if there is a stable release later than the beta. I have no idea if or when this could come up but I'll try some stuff. |
The Pipeline should be done. I had to change the way Please look into my changes and tell me everything you might want changed. |
This Repository needs an automatic Deploy job.
I started testing and found a way of doing this. The pipeline can be found in my fork of this (https://github.com/lightlike/docker-avorion)
The job currently only pushes to ghcr but that should be changable with some credentials.
There are still two points I need to discuss.
1. How should versioning work?
My pipeline is currently only setting the tag of the container statically (e.g. stable/beta)
It would be nice for compatibility to set the version for containers but this is only optional as this could bring instability.
This could be done using one of the following methods:
https://api.steampowered.com/ISteamNews/GetNewsForApp/v2/?appid=445220&count=1&tags=patchnotes
and grepThe second possibility is only as reliable as the posts from the dev team but would mean that the pipeline could run automatically.
2. Should this pipeline run automatically?
If the automatic versioning should be used. The build could run daily and the would be no maintanance except for errors.
This would not be a Problem when using the free plan as you get 2,000 min/month and the pipeline currently takes one minute.
This maybe could also be triggered using some e-mail hook or similar but that is not supported by github and one would need to run a third party tool for that.
The text was updated successfully, but these errors were encountered: