-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dicom overlay): Handle special cases of ArrayBuffer for various D…
…ICOM overlay attributes. (#3684) Co-authored-by: Alireza <[email protected]>
- Loading branch information
Showing
5 changed files
with
97 additions
and
55 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,43 +93,6 @@ jobs: | |
file: '/home/circleci/repo/platform/core/coverage/reports' | ||
flags: 'core' | ||
|
||
### | ||
# Workflow: PR_OPTIONAL_DOCKER_PUBLISH | ||
### | ||
# DOCKER_PR_PUBLISH: | ||
# <<: *defaults | ||
# steps: | ||
# # Enable yarn workspaces | ||
# - run: yarn config set workspaces-experimental true | ||
|
||
# # Checkout code and ALL Git Tags | ||
# - checkout | ||
# - restore_cache: | ||
# name: Restore Yarn and Cypress Package Cache | ||
# keys: | ||
# # when lock file changes, use increasingly general patterns to restore cache | ||
# - yarn-packages-{{ checksum "yarn.lock" }} | ||
# - yarn-packages- | ||
|
||
# - run: | ||
# name: Install Dependencies | ||
# command: yarn install --frozen-lockfile | ||
|
||
# - setup_remote_docker: | ||
# docker_layer_caching: false | ||
|
||
# - run: | ||
# name: Build and push Docker image | ||
# command: | | ||
# # Remove npm config | ||
# rm -f ./.npmrc | ||
# # Set our version number using vars | ||
# echo $CIRCLE_BUILD_NUM | ||
# # Build our image, auth, and push | ||
# docker build --tag ohif/app:PR_BUILD-$CIRCLE_BUILD_NUM . | ||
# echo $DOCKER_PWD | docker login -u $DOCKER_LOGIN --password-stdin | ||
# docker push ohif/app:PR_BUILD-$CIRCLE_BUILD_NUM | ||
|
||
### | ||
# Workflow: DEPLOY | ||
### | ||
|
@@ -180,6 +143,53 @@ jobs: | |
- commit.txt | ||
- version.json | ||
|
||
# just to make sure later on we can publish them | ||
BUILD_PACKAGES_QUICK: | ||
<<: *defaults | ||
steps: | ||
- run: yarn -v | ||
# Checkout code and ALL Git Tags | ||
- checkout | ||
- attach_workspace: | ||
at: ~/repo | ||
# Use increasingly general patterns to restore cache | ||
- restore_cache: | ||
name: Restore Yarn and Cypress Package Cache | ||
keys: | ||
- yarn-packages-{{ checksum "yarn.lock" }} | ||
- yarn-packages- | ||
- run: | ||
name: Install Dependencies | ||
command: yarn install --frozen-lockfile | ||
- save_cache: | ||
name: Save Yarn Package Cache | ||
paths: | ||
- ~/.cache/yarn | ||
key: yarn-packages-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Avoid hosts unknown for github | ||
command: | | ||
rm -rf ~/.ssh | ||
mkdir ~/.ssh/ | ||
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "ohif-bot" | ||
- run: | ||
name: Authenticate with NPM registry | ||
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc | ||
- run: | ||
name: Increase the event emitter limit | ||
command: | | ||
node ./increaseEventEmitterLimit.mjs | ||
- run: | ||
name: build half of the packages (to avoid out of memory in circleci) | ||
command: | | ||
yarn run build:package-all | ||
- run: | ||
name: build the other half of the packages | ||
command: | | ||
yarn run build:package-all-1 | ||
### | ||
# Workflow: RELEASE | ||
### | ||
|
@@ -406,7 +416,10 @@ jobs: | |
workflows: | ||
PR_CHECKS: | ||
jobs: | ||
- UNIT_TESTS | ||
- BUILD_PACKAGES_QUICK | ||
- UNIT_TESTS: | ||
requires: | ||
- BUILD_PACKAGES_QUICK | ||
|
||
- CYPRESS_CUSTOM_RUN: | ||
name: 'Cypress Tests' | ||
|
@@ -427,7 +440,7 @@ workflows: | |
cypress-cache-path: | ||
- '~/.cache/Cypress' | ||
requires: | ||
- UNIT_TESTS | ||
- BUILD_PACKAGES_QUICK | ||
|
||
# PR_OPTIONAL_VISUAL_TESTS: | ||
# jobs: | ||
|
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
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
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
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