-
Notifications
You must be signed in to change notification settings - Fork 8
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
Automatically deploy the latest LFortran version from the latest master #3
Comments
Please, could someone possibly share if the build |
Good question. Given that Also, we need to change quite a few things in the pages too, such as the LFortran's master git commit hash, etc. I think when LFortran's master CI runs, it will ping this repository to rebuild --- not sure what the best approach is, whether with some webhook, or rather LFortran's CI would push the new commit hash into the master of this repository. This will trigger this repository's CI. This CI will either download the lfortran.wasm, or build it. Either way, it will push the new lfortran.wasm into the gh-pages branch, together with the new website. So I am thinking here is a TODO list, let me know what you think:
|
I will share my thoughts on the above points in some time (We currently use We have a basic/preliminary |
As of now, the automatic update works, here is an example commit: 8deb3da, but as can be seen there, it puts the LFortran binary directly to master, so the master will grow very quickly (#12). I think we need some solution to this, either what I described above, or to push the |
Yes, got it. I am currently noting my thoughts. I will be sharing them very soon (10-15 mins). |
I looked into the points that you shared. I think they are great. Following are my thoughts:
|
Yes, I agree with this. LFortran's CI has to build |
Yes, I don't like it either. At GitLab I solve this exact issue by using webhooks that trigger the GitLab pipeline that just reruns. So I still trigger the webpage rebuild, but I do not have automatic commits in master. Is there some way to do this using GitHub? |
I am unsure. I will explore about it. |
Looks like it can be done: https://kontent.ai/blog/how-to-trigger-github-action-using-webhook-with-no-code/
|
A quick thought. Is there any feature to choose from a number of recent latest commits? Say latest 3 commits of lfortran and the last stable release. Not very urgent but I think it would be good to have this facility just in case someone wants to resolve to previous versions/commits. May not be a reasonable idea but having options as a user helps sometimes. |
I was thinking having dev.lfortran.org to just use the latest master. Then have another domain, perhaps |
From #3 (comment)
doubt: As the |
If pushing to the |
Also, please, could someone possibly share if it would be possible to store |
I am trying for this. Hopefully, it seems it could-be/is possible to support all commits (all commits since the time we incorporate this feature). |
The tarballs approach allows all commits, currently still visible at: https://lfortran.org/download/, hundreds of versions. |
The current approach of manually updating the Is this issue safe to close? |
Yes, the current approach is a good one. |
No description provided.
The text was updated successfully, but these errors were encountered: