-
Notifications
You must be signed in to change notification settings - Fork 5
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
CI system #10
Comments
With group you mean an organisation? Actually I don't even know why GSS and SMASH are not yet under the geopaparazzi org: https://github.com/geopaparazzi If that is what you meant I will be more than happy to move them over there. (well, for a couple of days I will be working on other things, so it might be towards the weekend). |
Right; it could be a good idea to move them there :) |
Great, will move things over as soon as possible. |
Well, it was very straightforward. It is now all under geopaparazzi. :-) |
I would then ask to become part of the organization, so I can propose new PR on this very same repository and configure GitHub actions and such. |
It looks like we have some basic CI now, using GitHub actions and Docker build :) That should be just enough to check that the dependencies do not have major issues :) |
Since we are at it and you are the actions magician... how much work would it take to port such a script to github actions? :-)
Clearly some paths refer to my environment. This would allow for a complete release (also for mere human not using docker). |
We have something similar in Docker build already. My suggestion would be to improve the Dockerfile, if needed, and just copy the files out of the Docker image. This would also help in avoiding duplication and make it easier to replicate the CI locally, in my opinion. |
Hmmm, it sounds like a great plan. I just didn't even know you could copy files out of the image :-D Usually I guess the reverse is done. |
I would be glad to help :) |
Thanks, we could do it next week at some point? Then I could be available and maybe contribute (while learning :-) ) |
I would suggest adding a continuous integration system to test each commit and pull request.
A basic CI system could consist initially in building the docker image; basic tests could be added afterwards.
We could rely on GitHub Actions (https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action#creating-an-action-metadata-file) or use an external service, like Circle CI.
This would also be beneficial to have basic testing for the dependabot PRs (dependabot could also check for outdated images in Dockerfiles).
I would be glad to help with that. Having a group on GitHub instead of relying on personal repositories, could help others to join in maintaining and supporting projects like GSS and SMASH (configuring dockerhub to read from an organization, setting up github actions, PR policies and such).
The text was updated successfully, but these errors were encountered: