-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Cache LFS Objects in the TARDIS-Carsus Compatibility Check Workflow #327
Merged
andrewfullard
merged 63 commits into
tardis-sn:master
from
atharva-2001:cache_LFS_bridge
Mar 30, 2023
Merged
Changes from 62 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
71f9239
Initial commit
atharva-2001 46591b5
Add step to download the CMFGEN database
atharva-2001 f91b7fb
Add URLs to the CMFGEN database
atharva-2001 d8232b0
Add tardis build job
atharva-2001 e9487e4
Add strategy for TARDIS build job
atharva-2001 3fd40c0
Fix lock file path
atharva-2001 0983b61
Add step to run notebook
atharva-2001 0e69c0f
Upload spectrum notebook
atharva-2001 b211146
Fix atom data path
atharva-2001 3e1d648
Change URL used to get the reference data file
atharva-2001 db03395
Download the file from the workflow
atharva-2001 3715561
Upload reference data as artifact
atharva-2001 38a8ce3
Try downloading all reference data
atharva-2001 6a419d7
Clone my fork of tardis refdata
atharva-2001 85208f1
Use lfs when cloning
atharva-2001 7ed5bca
Separate commands
atharva-2001 6a14e28
Add new env variables, generate reference data for comparision using …
atharva-2001 f0552c6
Clone my fork with arraydiff unpinned
atharva-2001 cda1c5e
Fix notebook path when creating artifact
atharva-2001 c100e69
Fix paths in environment variables
atharva-2001 b808e38
Install bokeh
atharva-2001 0eed8c0
Fix paths after moving branch
atharva-2001 79a26cf
Rename notebook
atharva-2001 890c619
Remove variables related to matrix strategy
atharva-2001 40b8496
Remove step to download reference data
atharva-2001 fbf5c56
Create copy of the quickstart notebook
atharva-2001 b8129a3
Delete markdown
atharva-2001 b820d3f
Add refdata_gen notebook instead of quickstart
atharva-2001 f0abdf9
Change branch when cloning carsus in the workflow
atharva-2001 6fb9add
Try removing chianti reader
atharva-2001 ca692c5
Put back elements in the atomic data
atharva-2001 338b266
Add chianti data back but without collisions
atharva-2001 d5c9b19
Change Chianti version
atharva-2001 56ee1ef
Continue workflow if step fails
atharva-2001 da36d02
Revert back Chianti version
atharva-2001 b16c783
Add step to fail job if spectra dont match
atharva-2001 91174d8
test
atharva-2001 e95c2e2
Exit if contents of tmp file are set to 0
atharva-2001 96f0c54
Exit code
atharva-2001 5917f4f
revert comments
atharva-2001 6cbe0c5
On workflow dispatch
atharva-2001 42c2bb4
Rename steps and use variables
atharva-2001 ecbf35c
Replace NBCONVERT_CMD variable with NBCONVERT_FLAGS
atharva-2001 b42d57f
Comment out Carsus build job temporarily, download reference data fro…
atharva-2001 b2d15a0
Disable workflow dispatch temporarily
atharva-2001 994066a
Fix paths for refdata compare notebook
atharva-2001 d0fef1f
Carsus build is necessary for TARDIS build
atharva-2001 8f920ad
Change file name in notebook
atharva-2001 f9b7183
Delete lines commented out which are not necessary
atharva-2001 0da5cbb
Do not clone my fork of the carsus repository
atharva-2001 57be609
Change title of the notebook and rename it
atharva-2001 9eb8aa8
Change file and step names
atharva-2001 db6cfd2
No need for inputs
atharva-2001 80d1417
Check file contents according to changes in tardis-sn/tardis-refdata#58
atharva-2001 dafafd3
Change path of refdata_compare_result file
atharva-2001 6fa893a
Change trigger back to workflow_dispatch
atharva-2001 c7aaaeb
Update URL to use TARDIS fork
atharva-2001 a5cd46a
Do not pin bokeh
atharva-2001 3a8c50c
Add name to comparison notebook artifact
atharva-2001 90e8ac7
Cache LFS objects
atharva-2001 5cb8396
Do git lfs checkout if the cache key is found
atharva-2001 07f4570
Merge branch 'master' into cache_LFS_bridge
atharva-2001 c22ea9f
Use cache no instead of v1 hardcoding
atharva-2001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why
v1
is hardcoded?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case we want to invalidate the cache manually- actions/checkout#165
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use a
CACHE_NUMBER: 0
variable on top of the file for that (I think setting to 1 is better though) and then replacev1
withv${{ env.CACHE_NUMBER }}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @epassaro.