-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implement CI/CD using Github Actions #41
Conversation
@allyoucanmap this part if for you to review, I guess. |
@tdipisa @mo3rfan now there is another problem but it does not seems related to tests, it's saying https://github.com/mo3rfan/digital-twin-toolbox/actions/runs/11251898787 |
Tests are working now: https://github.com/mo3rfan/digital-twin-toolbox/actions/runs/11253236378/job/31292329536 Few things I need to do two things before we merge this:
|
I don't think I have the credentials or permission to get the geosolutions dockerhub tokens. @tdipisa or @randomorder We need to add two repository secrets here:
This token should have permission to push to both:
Eitherway, we can merge this PR now. The deployment job that will fail can be re-run at anytime after the above token is set. |
That's for you @randomorder |
Secrets are in place. Go ahead and test it again please @mo3rfan before merging |
@allyoucanmap The latest version of micromamba has broken the build again. Breaking change: https://mamba.readthedocs.io/en/latest/developer_zone/changes-2.0.html#micromamba It's best to pin the version of micromamba in the backend's |
@mo3rfan but it should be already forced to the version 1.5.10 https://github.com/geosolutions-it/digital-twin-toolbox/blob/main/backend/Dockerfile#L28. Is the branch aligned to main? |
Thanks for pointing out, I will rebase over those changes. |
also wanted to test cache effectiveness in this run
This reverts commit 4a4fa8e.
Builds are functional: https://github.com/geosolutions-it/digital-twin-toolbox/actions/runs/11441453209/job/31831496187?pr=41 Tested docker login with credentials: https://github.com/mo3rfan/digital-twin-toolbox/actions/runs/11441036990/job/31829327202#step:2:9 Also increased the space under |
Had to fix the
backend
Dockerfile and helper scripts to ensure the tests run. However the unit tests had some failure that I didn't check further.To check the github actions runs, you can find it on my fork: https://github.com/mo3rfan/digital-twin-toolbox/actions
Ref: #33