Skip to content
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

test: Update released data resources #684

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions CMake/ITKExternalData.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ list(APPEND ExternalData_OBJECT_STORES

set(ExternalData_BINARY_ROOT ${CMAKE_BINARY_DIR}/ExternalData)

set(ITK_WASM_TESTING_DATA_RELEASED_CID bafybeict7vcnohr22jn4b6dtek5hmukhdykvcotrudmrpr4bfbg45b2dwq)
set(ITK_WASM_TESTING_DATA_RELEASED_CID bafybeia7tybccjqbomvlclfe6wlyzpqyxjgs4nkibo3jf7d3eiojdgikjm)
set(ExternalData_URL_ALGO_CID_lower cid)
set(ExternalData_URL_TEMPLATES "" CACHE STRING
"Additional URL templates for the ExternalData CMake script to look for testing data. E.g.
Expand All @@ -37,7 +37,13 @@ if(NOT ITK_FORBID_DOWNLOADS)
# Restricted gateway with released data
"https://itk.mypinata.cloud/ipfs/${ITK_WASM_TESTING_DATA_RELEASED_CID}/Objects/CID/%(hash)"

# Released data on web3.storage / estuary.tech
# New data on web3.storage
"https://w3s.link/ipfs/%(hash)"

# Released data on web3.storage
"https://${ITK_WASM_TESTING_DATA_RELEASED_CID}.ipfs.w3s.link/Objects/CID/%(hash)"

# Released data on estuary.tech
"https://${ITK_WASM_TESTING_DATA_RELEASED_CID}.ipfs.dweb.link/Objects/CID/%(hash)"

# Gateway for arbitrary new files, uploaded to web3.storage
Expand All @@ -50,7 +56,7 @@ if(NOT ITK_FORBID_DOWNLOADS)
"https://cloudflare-ipfs.com/ipfs/%(hash)"

# DataLad repository on gin.g-node.org
"https://gin.g-node.org/InsightSoftwareConsortium/itk-wasm-testing-data/raw/master/Objects/CID/%(hash)"
"https://gin.g-node.org/InsightSoftwareConsortium/itk-wasm-testing-data/raw/main/Objects/CID/%(hash)"
)
endif()

Expand Down