Skip to content

Commit a835e55

Browse files
committed
Merge branch 'main' into addClickOrientationTransformUpdated
2 parents 1f1b983 + db7b3ab commit a835e55

217 files changed

Lines changed: 10758 additions & 1393 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.azure/azure-build-test-gpu-pipeline.yml

Lines changed: 0 additions & 145 deletions
This file was deleted.

.dockerignore

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,24 @@
1212
__pycache__
1313
.idea
1414
.vscode
15-
16-
Dockerfile
17-
sample-apps/**/model
18-
node_modules
1915
.webpack
16+
node_modules/
17+
*.log
18+
19+
# Environments
20+
.env
21+
.venv
22+
env/
23+
venv/
24+
ENV/
25+
env.bak/
26+
venv.bak/
27+
.venv/
28+
ubuntu_venv/
29+
30+
# apps
31+
sample-apps/*/logs
32+
sample-apps/*/train
33+
sample-apps/*/model
34+
docs/build
35+
docs/source/apidocs

.github/workflows/blossom-ci.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ jobs:
3939
args: ${{ env.args }}
4040

4141
# This job only runs for pull request comments
42-
if: contains('\
43-
Nic-Ma,\
44-
SachidanandAlle,\
45-
diazandr3s,\
46-
tangy5,\
47-
wyli,\
48-
pxLi,\
49-
YanxuanLiu,\
50-
', format('{0},', github.actor)) && github.event.comment.body == '/build'
42+
if: |
43+
github.event.comment.body == '/build' &&
44+
(
45+
github.actor == 'Nic-Ma' ||
46+
github.actor == 'SachidanandAlle' ||
47+
github.actor == 'diazandr3s' ||
48+
github.actor == 'tangy5' ||
49+
github.actor == 'wyli' ||
50+
github.actor == 'wendell-hom'
51+
)
5152
steps:
5253
- name: Check if comment is issued by authorized person
5354
run: blossom-ci
@@ -62,7 +63,7 @@ jobs:
6263
runs-on: ubuntu-latest
6364
steps:
6465
- name: Checkout code
65-
uses: actions/checkout@v3
66+
uses: actions/checkout@v4
6667
with:
6768
repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}
6869
ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949

5050
steps:
5151
- name: Checkout repository
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5353

5454
# Initializes the CodeQL tools for scanning.
5555
- name: Initialize CodeQL
56-
uses: github/codeql-action/init@v2
56+
uses: github/codeql-action/init@v3
5757
with:
5858
languages: ${{ matrix.language }}
5959
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -74,4 +74,4 @@ jobs:
7474
# uses a compiled language
7575

7676
- name: Perform CodeQL Analysis
77-
uses: github/codeql-action/analyze@v2
77+
uses: github/codeql-action/analyze@v3

.github/workflows/docker-plugin.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
env:
2626
MONAI_ZOO_AUTH_TOKEN: ${{ github.token }}
2727
steps:
28-
- uses: actions/checkout@v3
29-
- name: Set up Python 3.8
30-
uses: actions/setup-python@v4
28+
- uses: actions/checkout@v4
29+
- name: Set up Python 3.9
30+
uses: actions/setup-python@v5
3131
with:
32-
python-version: 3.8
32+
python-version: 3.9
3333
- name: clean up
3434
run: |
3535
sudo rm -rf /usr/share/dotnet
@@ -39,6 +39,7 @@ jobs:
3939
python -m pip install --upgrade pip wheel
4040
- name: Build
4141
run: |
42+
rm -rf /opt/hostedtoolcache
4243
docker --version
4344
cd plugins/dsa
4445
docker system prune -f

.github/workflows/docker.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,24 @@ jobs:
2727
env:
2828
MONAI_ZOO_AUTH_TOKEN: ${{ github.token }}
2929
steps:
30-
- uses: actions/checkout@v3
31-
- name: Set up Python 3.8
32-
uses: actions/setup-python@v4
33-
with:
34-
python-version: 3.8
35-
- name: clean up
30+
- uses: actions/checkout@v4
31+
- name: Cleanup
3632
run: |
37-
sudo rm -rf /usr/share/dotnet
33+
echo Before Cleanup...
34+
df -h
3835
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
39-
- name: Install dependencies
40-
run: |
41-
python -m pip install --upgrade pip wheel
36+
rm -rf /opt/hostedtoolcache
37+
rm -rf /usr/share/dotnet/
38+
cd /opt
39+
find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
40+
cd -
41+
echo After Cleanup...
42+
df -h
4243
- name: Build
4344
run: |
44-
./runtests.sh --clean
45-
docker system prune -f
46-
DOCKER_BUILDKIT=1 docker build -t projectmonai/monailabel:${{ github.event.inputs.tag || 'latest' }} -f Dockerfile .
45+
DOCKER_BUILDKIT=0 docker build -t projectmonai/monailabel:${{ github.event.inputs.tag || 'latest' }} -f Dockerfile .
4746
- name: Verify
4847
run: |
49-
./runtests.sh --clean
5048
docker run --rm -i --ipc=host --net=host -v $(pwd):/workspace projectmonai/monailabel:${{ github.event.inputs.tag || 'latest' }} /workspace/runtests.sh --net
5149
- name: Publish
5250
run: |

0 commit comments

Comments
 (0)