-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fetch Python environment from Sleipnir.jl for CI #6
Comments
I managed to sync files across repositories using the repo-file-sync-action with GH Actions. An example of how this work is illustrated in these two toy repositories:
What do you think @JordiBolibar ? I can directly implement this in |
Sounds good! The only annoying thing seems the 90 day token renewal, which will require maintenance. |
Actually, I think you can manually configure the token to never expire. However, I am not sure about how good of a practice this is. The good news is that the new tokens in GH allow you to have a very fine-tune on the tokens, meaning that we can create a token JUST for sync the repositories we want and JUST with the necessary right to perform the sync action. In this way, we don't need to compromise any security of the repo by creating this token forever. Also, this will be kept secret in GH, so we will be safe. I can move forward with this @JordiBolibar and implement accross repositories. |
OK, go for it! |
Right now we are duplicating the
environment.yml
file in each of the repos for the CI to have access to the Python environment. This is problematic, since any update to the Python environment will have to be extended to the 4 ODINN repositories.For that, we should update the CI to download (e.g. using
wget
) theenvironment.yml
file from Sleipnir.jl's GitHub repo.The text was updated successfully, but these errors were encountered: