-
Notifications
You must be signed in to change notification settings - Fork 97
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
Julia script creation system custom images #432
Conversation
…images It is inspired by the script available here https://github.com/CliMA/ClimateMachine.jl/blob/master/.dev/systemimage/climate_machine_image.jl + some add-ons
…t_creation_system_custom_images
…t_creation_system_custom_images
point to an existing source directory for Gridap and the tutorials, instead of cloning them
…t_creation_system_custom_images
…t_creation_system_custom_images
…t_creation_system_custom_images
…t_creation_system_custom_images
* Added a new CLA to control the name of the tutorial script from which to create the sysimage
Codecov Report
@@ Coverage Diff @@
## master #432 +/- ##
==========================================
+ Coverage 87.34% 88.57% +1.23%
==========================================
Files 158 158
Lines 11170 10216 -954
==========================================
- Hits 9756 9049 -707
+ Misses 1414 1167 -247
Continue to review full report at Codecov.
|
Do we have to update |
it would be nice |
[skip ci]
Done! |
Hi @fverdugo ... I guess that we can merge this right? or are we waiting for something I am not aware of? |
@amartinhuertas perhaps it is a good idea to release 0.14.2. Can you prepare the release? |
Yes, I can do it ... but now I am starting to become concerned about the fact that there are no actually tests for the Julia script I have added ... perhaps I can modify travis.yml such that the image is created and then the subpackage GridapTests is run with the image ... what do u think? Any better idea ? |
Testing is a good idea! Now we have 2 stages:
You want to create and use the system image in the 3rd job in the There is something that is problematic though. The default sys image creation depends on Tutorials and Tutorials depends on Gridap... It will cause some trouble when developing braking releases... Perhaps in travis, we want to generate the sys image by snooping the tests in GridapTests instead of cloning Tutorials. @amartinhuertas What do you think? |
I am aware of the two stages. But not actually of the three jobs (I know almost nothing about travis and associated nomenclature). By jobs, do you mean the three Unix shell commands below the
I want to modify the
I think you are right as usual. Yes, I will do that, I have to modify the |
@amartinhuertas Another minor remark. I would not use |
yes this, section defines the 3rd job (or whatever is called) in the |
I am not sure if I understand this comment. In particular, where am I using I agree that in |
BTW ... not related to this PR, but, when I go to travis in order to observe the progress of the Travis CI jobs, I get the following warning message on top of the page:
Do u observe the same as well ? |
Really ?? 😱😱😱 My last push has passed the CI. I hope it was a temporary bug in travis. 🤞 |
I keep getting the abovementioned error message in GridapDistributed.jl's Travis CI page. There have been recent changes into Travis pricing: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing In particular, the text under the header "Building on a public repositories only" precisely documents the behaviour that I am currently observing. |
Yes you are right! I also have seen the same problem. What these 1000 credits mean? We are already out of budget before finishing the first week of the month? Perhaps it has arrived the time to move to github CI. |
As far as I understand from that page, we were automatically put into the free trial plan right at the start of the week. This means that we had 10K credits (approx 1000 CPU minutes). Once these are consumed, we cannot run anymore on Travis if we do not hire one of the paid plans. There is the exception below, though.
Just guessing, we quickly ran out of these 1000 minutes because they are shared by all projects within the Gridap org. But not totally sure about this, as I was not able to figure out, using the TRAVIS-CI web app interface, how many credits we have already consumed.
You mean Github actions, right? There are GitHub-hosted runners where you can run your jobs in. By now, it seems to be free for open source projects (https://docs.github.com/en/free-pro-team@latest/actions/reference/usage-limits-billing-and-administration), but this may change in the future. There is also the concept of self-hosted runners (we have two machines in CIMNE Castelldefels that we could use for this purpose), although its use is highly discouraged for public repos, because of the following computer security reasons: https://docs.github.com/en/free-pro-team@latest/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories I think I am going to migrate GridapDistributed.jl to github actions, and then share with you what I have learnt, ok? |
Hi @fverdugo, @santiagobadia ... I think the script for compiling Gridap sysimages is ready to be merged into master. Note that there is a README.md file with up-to-date usage instructions, caveats, etc.