https://github.com/imagingdatacommons/idc-viewers-sandbox-gha-testing
https://github.com/imagingdatacommons/idc-viewers-sandbox-gha-testing
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/imagingdatacommons/idc-viewers-sandbox-gha-testing
- Owner: ImagingDataCommons
- License: mit
- Created: 2024-01-05T21:16:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-15T17:35:35.000Z (8 months ago)
- Last Synced: 2025-10-16T16:41:58.531Z (8 months ago)
- Size: 34.2 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IDC Viewers Sandbox - GitHub Actions Testing
This repository stores and manages GitHub Actions for various Imaging Data Commons (IDC) repositories.
### Associated IDC Repositories:
- [Viewers](https://github.com/OHIF/Viewers) (upstream)
- [ViewersV3](https://github.com/ImagingDataCommons/ViewersV3) (fork of upstream)
- [OHIF IDC Mode](https://github.com/ImagingDataCommons/ohif-idc-mode)
- [OHIF GCP Mode](https://github.com/ImagingDataCommons/ohif-gcp-mode)
- [Slim Viewer](https://github.com/ImagingDataCommons/slim)
- [DICOM Microscopy Viewer](https://github.com/ImagingDataCommons/dicom-microscopy-viewer)
## GitHub Actions Overview
This repository contains the following GitHub Actions for automated deployment and testing across IDC repositories:
- **ohif/deploy-v3**
Deploys a preview of the [ViewersV3](https://github.com/ImagingDataCommons/ViewersV3) repository’s `master` branch.
- **ohif/deploy-v3-with-add-ons**
Deploys a preview of the [ViewersV3](https://github.com/ImagingDataCommons/ViewersV3) `master` branch, pre-configured with the latest changes from:
- [OHIF GCP Mode](https://github.com/ImagingDataCommons/ohif-gcp-mode)
- [OHIF GCP Extension](https://github.com/ImagingDataCommons/ohif-gcp-extension)
- **ohif/deploy-v3-upstream**
Deploys a preview of the [Viewers](https://github.com/OHIF/Viewers) repository’s `master` branch.
- **ohif/deploy-v3-upstream-with-add-ons**
Deploys a preview of the [Viewers](https://github.com/OHIF/Viewers) `master` branch, pre-configured with the latest changes from:
- [OHIF GCP Mode](https://github.com/ImagingDataCommons/ohif-gcp-mode)
- [OHIF GCP Extension](https://github.com/ImagingDataCommons/ohif-gcp-extension)
Format of the URL for configuring secondary GHC DICOM store: `https://viewers-sandbox-gha-testing.web.app/viewer?StudyInstanceUIDs=&gcp=projects//locations//datasets//dicomStores/`
Switching primary DICOM store: `http://localhost:3000/projects/project-x/locations/us/datasets/some-dataset/dicomStores/test-samples/study/1.3.6.1.4.1.123.5.2.1.123.123.123`
- **slim/deploy**
Deploys the latest version of [Slim Viewer](https://github.com/ImagingDataCommons/slim).
Secondary store format: `https://andrey-slim-test.web.app/studies/?gcp=https://healthcare.googleapis.com/v1//dicomWeb`
- **slim/deploy-with-dmv**
Deploys the latest version of [Slim Viewer](https://github.com/ImagingDataCommons/slim) along with the latest [DICOM Microscopy Viewer](https://github.com/ImagingDataCommons/dicom-microscopy-viewer).
### Deployment URL
Actions deploy:
* OHIF v3 to [https://viewers-sandbox-gha-testing.web.app/](https://viewers-sandbox-gha-testing.web.app/)
* Slim to [https://andrey-slim-test.web.app/](https://andrey-slim-test.web.app/)
Consent screen is managed under `idc-external-031`.
## Configuration
The following environment variables are required for configuring the GitHub Actions:
- **FIREBASE_PROJECT_ID**
Firebase project identifier.
- **OHIF_CONFIG_JS_URL**
URL to a Gist containing the OHIF configuration (with OIDC).
- **OHIF_FIREBASE_JSON_URL**
URL to the Firebase configuration for OHIF.
- **SLIM_CONFIG_JS_URL**
URL to a Gist containing the Slim Viewer configuration (with OIDC).
- **SLIM_FIREBASE_JSON_URL**
URL to the Firebase configuration for Slim Viewer.
---