Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
95e589f
check that the correct version of the pretrained weights is available…
oleschwen Jul 8, 2025
953857d
download pretrained model weights if not already available
oleschwen Jul 8, 2025
7ad0178
quoted, as suggested by copilot
oleschwen Jul 8, 2025
ee26af0
adapted to changed argument in script
oleschwen Jul 8, 2025
4860629
restored base image and pip package installation/versions that were a…
oleschwen Jul 8, 2025
0d00d52
Revert "removed precision specification that apparently does not work…
oleschwen Jul 8, 2025
6de586b
chore: simplify APT package installation in Dockerfile and update bui…
gfidlab-ci-user Jul 9, 2025
8232bc2
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 9, 2025
003f5fb
chore: update apt versions based on rebuild
gfidlab-ci-user Jul 9, 2025
40914c2
fix echo
Ultimate-Storm Jul 9, 2025
3c7e3e8
slightly extended README and marked todos
oleschwen Jul 9, 2025
b233434
updated apt package versions
oleschwen Jul 9, 2025
4280c62
Merge branch 'apt-version-update-20250708' into dev-34-latest-update-…
oleschwen Jul 9, 2025
badbc6a
incremented version number
oleschwen Jul 9, 2025
d17cf4f
Merge pull request #58 from KatherLab/dev-34-latest-update-from-gusta…
Ultimate-Storm Jul 10, 2025
9881cf6
Merge remote-tracking branch 'origin/main'
gfidlab-ci-user Jul 10, 2025
d4cc4dc
feat: add Odelia all sites configuration YAML for server and client s…
Ultimate-Storm Jul 10, 2025
5e11d99
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 10, 2025
1c17c46
chore: pin APT package versions in Dockerfile for consistency
gfidlab-ci-user Jul 10, 2025
5c1d0c0
chore: enhance APT update workflow with debug logging and final Docke…
gfidlab-ci-user Jul 10, 2025
8016685
chore: update APT version check to use dpkg for improved accuracy
Ultimate-Storm Jul 10, 2025
2ca49b3
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 10, 2025
7a1ff1a
chore: pin APT package versions in Dockerfile and update version chec…
gfidlab-ci-user Jul 10, 2025
242a483
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 10, 2025
8dd171a
chore: update APT package versions in Dockerfile and adjust CI workflow
Ultimate-Storm Jul 10, 2025
a4c97b6
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 10, 2025
9a8ad27
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Jul 10, 2025
cba7221
Potential fix for code scanning alert no. 4: Workflow does not contai…
Ultimate-Storm Jul 10, 2025
1fb41d4
chore: restructure project files and add initial scripts for ODELIA d…
gfidlab-ci-user Jul 10, 2025
f0cf386
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 10, 2025
d0f7a65
fix: pin APT package versions in Dockerfile for consistent builds
gfidlab-ci-user Jul 10, 2025
055ad7a
chore: copy pre-trained model weights to Docker image
gfidlab-ci-user Jul 10, 2025
b1b5827
Merge pull request #71 from KatherLab/fix_ci_apt_update
Ultimate-Storm Jul 10, 2025
de3d561
docs: add developer and operator usage guides to README files
Ultimate-Storm Jul 10, 2025
d1893ba
docs: update README badges for PR tests and build status
gfidlab-ci-user Jul 10, 2025
d2e3b5d
fix: comment out git fetch and diff check in update_apt_versions.sh
gfidlab-ci-user Jul 10, 2025
5d04b91
Merge pull request #78 from KatherLab/ci/apt-update-1752138322
Ultimate-Storm Jul 10, 2025
5c1a536
Update README.md
Ultimate-Storm Jul 10, 2025
ac86350
Update assets/readme/README.participant.md
Ultimate-Storm Jul 10, 2025
73b685e
Update assets/readme/README.participant.md
Ultimate-Storm Jul 10, 2025
2405785
Update assets/readme/README.developer.md
Ultimate-Storm Jul 10, 2025
77ebb12
chore: rename README_old.md for improved organization
gfidlab-ci-user Jul 10, 2025
bee3234
Merge remote-tracking branch 'origin/dev_demo_odelia' into dev_demo_o…
gfidlab-ci-user Jul 10, 2025
287dd37
Merge branch 'main' into dev_demo_odelia
gfidlab-ci-user Jul 10, 2025
ad71a2e
Merge pull request #79 from KatherLab/dev_demo_odelia
Ultimate-Storm Jul 10, 2025
40893b4
iterated README for swarm participants
oleschwen Jul 10, 2025
9a2b3fd
note on site name
oleschwen Jul 10, 2025
3b4196e
indentation for nested list
oleschwen Jul 10, 2025
85387a0
moved local training before swarm training
oleschwen Jul 10, 2025
b0c7829
fix: update script paths in README for improved clarity
gfidlab-ci-user Jul 10, 2025
bf21531
addressed some todos and moved description of docker.sh (in startup k…
oleschwen Jul 11, 2025
b0d4e44
Merge pull request #82 from KatherLab/fix_odelia_preprocessing_docume…
Ultimate-Storm Jul 11, 2025
0304a59
updated apt package versions
oleschwen Jul 11, 2025
8878603
fix: enable change detection in update_apt_versions.sh
gfidlab-ci-user Jul 11, 2025
73f229a
Merge pull request #84 from KatherLab/fix-apt-versions-20250711
oleschwen Jul 11, 2025
5a80a9e
Merge branch 'main' into 80-improve-documentation-in-readme-files
oleschwen Jul 11, 2025
d970624
Merge pull request #81 from KatherLab/80-improve-documentation-in-rea…
oleschwen Jul 11, 2025
bc40815
feat: add new client configuration for MEVIS_3 in project_Odelia_alls…
gfidlab-ci-user Jul 11, 2025
42dc422
added tee to capture command line output to files
oleschwen Jul 14, 2025
fce2d9a
explanation on local training, not marked as optional for now
oleschwen Jul 14, 2025
8a66d0f
Merge pull request #87 from KatherLab/fix-add-capturing-output-to-readme
oleschwen Jul 14, 2025
a3ff6e8
made source more readable
oleschwen Jul 14, 2025
c4829e4
output what is actually used as number of classes
oleschwen Jul 14, 2025
5e4ef33
removed misleading comment
oleschwen Jul 14, 2025
3b6d5ce
removed confusing output for now
oleschwen Jul 14, 2025
346d21c
use http for communication also in tests
oleschwen Jul 15, 2025
85bf8dd
updated apt package versions
oleschwen Jul 15, 2025
420b5a9
Merge pull request #88 from KatherLab/fix-omit-confusing-number-of-la…
Ultimate-Storm Jul 15, 2025
9509e13
chore: update APT version update workflow with permissions and branch…
gfidlab-ci-user Jul 16, 2025
064e53f
chore: refine APT update workflow by removing branch condition and en…
gfidlab-ci-user Jul 16, 2025
45d2d4d
Merge branch 'ci/apt-update'
gfidlab-ci-user Jul 16, 2025
dc40756
chore: update APT version update workflow with permissions and branch…
gfidlab-ci-user Jul 16, 2025
a023eb2
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Jul 21, 2025
7a4561e
Merge pull request #93 from KatherLab/ci/apt-update-1753072085
oleschwen Jul 21, 2025
17ffb1f
create scratch dir only at user-writable location, avoid need for sud…
oleschwen Jul 21, 2025
a4c194d
ignore openvpn configuration files at recommended location
oleschwen Jul 22, 2025
f0f7101
log mediswarm version in training (passed to the Docker container as …
oleschwen Jul 22, 2025
d0a893c
try ResNet 10 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
0ed0b3a
try ResNet 18 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
7c248a3
try ResNet 34 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
1524a6a
try ResNet 50 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
dd83ca1
try ResNet 101 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
22bbb72
try ResNet 152 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
0c6a27d
set parameters for pre-trained ResNet depending on variant rather tha…
oleschwen Jul 22, 2025
97d609c
try ResNet 10 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
e5d3baa
try ResNet 18 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
1b111e7
try ResNet 34 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
daa6e0f
try ResNet 50 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
92e1ba9
try ResNet 101 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
ecf04ad
try ResNet 152 (pretrained; downloaded from within container)
oleschwen Jul 22, 2025
b2b5b56
omit potentially large workspace directory from copy (from which it w…
oleschwen Jul 22, 2025
147173c
fixed rsync option to exclude directory
oleschwen Jul 22, 2025
dc9518f
back to MST
oleschwen Jul 24, 2025
9cc8169
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 28, 2025
1ee9290
chore: format APT install lines for better readability
gfidlab-ci-user Jul 28, 2025
2e3c5c4
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 28, 2025
b556bdd
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 28, 2025
a5fb311
refactor: update parse_apt_versions to return a dictionary of package…
gfidlab-ci-user Jul 28, 2025
1710d40
WIP: remove apt versions for rebuild
gfidlab-ci-user Jul 28, 2025
41ac377
refactor: optimize regex pattern for parsing APT versions
gfidlab-ci-user Jul 28, 2025
4a28fe7
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Jul 29, 2025
25b662b
restored lost apt package version
oleschwen Jul 29, 2025
8691b72
Merge pull request #98 from KatherLab/ci/apt-update-1753763278
oleschwen Jul 29, 2025
e005b37
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Jul 30, 2025
cf6f187
Merge pull request #99 from KatherLab/ci/apt-update-1753849694
oleschwen Jul 30, 2025
d0bf26b
Merge branch 'main' into dev-85-implement-feedback-on-readme-files
oleschwen Jul 30, 2025
618444b
fix: remove unnecessary line breaks in APT installation commands
gfidlab-ci-user Jul 30, 2025
ee53d3a
keep argument -y in same line as RUN apt install
oleschwen Jul 30, 2025
9bbb055
updated apt version numbers
oleschwen Jul 30, 2025
494f6a3
refactored to remove duplicate definitions
oleschwen Jul 30, 2025
e5614d9
Merge branch 'main' into fix_apt_versions_separate_lines
oleschwen Jul 30, 2025
f7d0609
Merge pull request #97 from KatherLab/fix_apt_versions_separate_lines
Ultimate-Storm Jul 31, 2025
04d5b0a
Merge branch 'main' into dev-85-implement-feedback-on-readme-files
oleschwen Jul 31, 2025
19f6b3c
added potential pitfalls
oleschwen Jul 31, 2025
a552c58
Merge pull request #96 from KatherLab/dev-85-implement-feedback-on-re…
oleschwen Aug 12, 2025
49a1a2e
fixed file name
oleschwen Aug 12, 2025
516d02a
note on age column
oleschwen Aug 15, 2025
e885310
docs: enhance VPN setup guide with troubleshooting steps for existing…
gfidlab-ci-user Aug 15, 2025
66ccb58
extended description of VPN issue
oleschwen Aug 15, 2025
4439f1e
added potential pitfall
oleschwen Aug 15, 2025
7031591
use consistent server name
oleschwen Aug 13, 2025
4097f79
scripts to start a dummy training from the startup kits
oleschwen Aug 13, 2025
5b6cbfb
skeleton for further tests
oleschwen Aug 14, 2025
4c3c23d
added preflight checks (without checking their output so far)
oleschwen Aug 15, 2025
e6ace29
check if (source code for) license is available on github and if READ…
oleschwen Aug 18, 2025
62f00ee
check if second startup kit can be built and contains expected files
oleschwen Aug 18, 2025
b3911ae
check output of preflight checks
oleschwen Aug 18, 2025
0538226
check captured console output of swarm training and files created
oleschwen Aug 18, 2025
b2431e5
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Aug 19, 2025
d0c8f45
Merge pull request #103 from KatherLab/102-implement-further-feedback…
oleschwen Aug 20, 2025
4019b94
manually updated furhter outdated package version
oleschwen Aug 20, 2025
5113461
Merge branch 'main' into ci/apt-update-1755576679
oleschwen Aug 20, 2025
0f8b22e
Merge pull request #107 from KatherLab/ci/apt-update-1755576679
oleschwen Aug 20, 2025
b491a39
Merge branch 'main' into 104-testing-startup-kits
oleschwen Aug 20, 2025
00c07b7
test pushing and pulling image to/from local docker registry
oleschwen Aug 20, 2025
c7974a9
Revert "test pushing and pulling image to/from local docker registry"…
oleschwen Aug 20, 2025
f8bd6f5
use defined variable rather than hard-coded name
oleschwen Aug 20, 2025
915e142
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Aug 21, 2025
8e18ed8
added missing apt package version numbers
oleschwen Aug 21, 2025
a33b480
Merge pull request #108 from KatherLab/ci/apt-update-1755749452
oleschwen Aug 21, 2025
b7f801b
Merge branch 'main' into 104-testing-startup-kits
oleschwen Aug 21, 2025
b0ff12c
removed valiadion of pinned versions
oleschwen Aug 21, 2025
82f04a7
Merge pull request #110 from KatherLab/109-update-apt-versions-workfl…
oleschwen Aug 22, 2025
0ccc650
added missing space
oleschwen Aug 22, 2025
7836bb7
chore: update apt versions in Dockerfile_ODELIA
oleschwen Aug 22, 2025
7fb54b8
Merge pull request #111 from KatherLab/ci/apt-update-1755849977
oleschwen Aug 22, 2025
4ebcf65
Merge branch 'main' into fix-Dockerfile-for-version-1.0.1
oleschwen Aug 22, 2025
cece3a7
increased version number for swarm technical test
oleschwen Aug 22, 2025
f25349a
Merge pull request #112 from KatherLab/fix-Dockerfile-for-version-1.0.1
oleschwen Aug 22, 2025
36965fa
Merge branch 'main' into 104-testing-startup-kits
oleschwen Aug 25, 2025
292ccf3
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Aug 27, 2025
23b35ef
renamed file for running integration tests
oleschwen Aug 27, 2025
f10e526
refactored tests to be run in Docker: moved to separate scripts
oleschwen Aug 27, 2025
f86c235
Merge pull request #114 from KatherLab/ci/apt-update-1756267803
oleschwen Aug 27, 2025
d421b48
Merge branch 'main' into 104-testing-startup-kits
oleschwen Aug 27, 2025
c2f5e40
moved method to script for running integration tests
oleschwen Aug 27, 2025
05866f3
moved generating two sets of startup kits to script for integration t…
oleschwen Aug 27, 2025
1e25eb3
dedicated function to generate synthetic data
oleschwen Aug 27, 2025
f7e06b5
more meaningful name for method
oleschwen Aug 27, 2025
f004064
moved/merged cleanup to script for integration tests
oleschwen Aug 27, 2025
235f45e
moved test for running Docker/GPU preflight check, i.e., extended exi…
oleschwen Aug 28, 2025
172c041
moved method for running data access preflight check
oleschwen Aug 28, 2025
7058c7d
refactored so that individual steps (including cleanup) can be run se…
oleschwen Aug 28, 2025
41d044a
integrated 3dcnn training in simulation mode in Docker in test
oleschwen Aug 28, 2025
8da161e
let scripts fail on error
oleschwen Aug 28, 2025
93883ef
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Sep 8, 2025
8dfdf6f
Merge pull request #117 from KatherLab/ci/apt-update-1757304641
oleschwen Sep 8, 2025
54be703
Merge branch 'main' into 104-testing-startup-kits
oleschwen Sep 8, 2025
62ef912
moved (last remaining) test of server and clients to script for integ…
oleschwen Sep 8, 2025
1a06b1b
removed unnecessary block
oleschwen Sep 8, 2025
de29705
completed "all" section
oleschwen Sep 8, 2025
1004218
consistently output what is being run
oleschwen Sep 8, 2025
b928e92
running simulation mode of 3D CNN training does not work yet, comment…
oleschwen Sep 9, 2025
8ad95cc
expanded run_local_tests and moved unit test script to more suitable …
oleschwen Sep 9, 2025
a3c281c
disabled NVFlare unit tests as before
oleschwen Sep 9, 2025
d8e9a89
updated developer readme
oleschwen Sep 9, 2025
219ecf0
run integration tests in CI in one go
oleschwen Sep 9, 2025
e722909
renamed expect script and moved it to more suitable location
oleschwen Sep 9, 2025
15efd9f
removed step using script that no longer exists
oleschwen Sep 9, 2025
2bac35e
trying to enable test of 3D CNN in simulation mode
oleschwen Sep 9, 2025
7c85dd7
moved check of name resolution to where it is needed
oleschwen Sep 9, 2025
966a099
removed unnecessary step
oleschwen Sep 9, 2025
aa5c983
made tests that do not use the startup kits callable individually
oleschwen Sep 9, 2025
631c1f7
call tests as separate steps in workflow
oleschwen Sep 9, 2025
a51099a
arguments for docker run like in docker.sh from startup scripts to cr…
oleschwen Sep 9, 2025
325b537
write coverage file to location outside code directory
oleschwen Sep 9, 2025
a2be697
ensure directory exists
oleschwen Sep 9, 2025
e9f2228
renamed server "localhost" so that it does not need mapping to an IP …
oleschwen Sep 9, 2025
0ef20d9
allow local user to create home directory
oleschwen Sep 9, 2025
e6acae0
avoid name clashes of Docker containers
oleschwen Sep 9, 2025
e27bb47
fixed replacement of version identifiers
oleschwen Sep 9, 2025
8f51416
fixed missing closing "
oleschwen Sep 10, 2025
d29ac31
wait longer so that sys_info sees both clients
oleschwen Sep 10, 2025
42cc98a
check that models for dummy training are small
oleschwen Sep 10, 2025
cbdf38a
added check whether job ID is logged by server
oleschwen Sep 10, 2025
a350349
use defined container name for container running admin console
oleschwen Sep 10, 2025
d4d50b9
use correct container names in `docker kill`
oleschwen Sep 10, 2025
d831f66
updated instructions on building startup kits
oleschwen Sep 10, 2025
3c44e88
check for keywords in documentation
oleschwen Sep 10, 2025
630931d
clean up temp dir in case more than this test is run in a container
oleschwen Sep 10, 2025
6b84f07
updated documentation of test output
oleschwen Sep 10, 2025
fe0a203
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Sep 11, 2025
0e88922
Merge pull request #119 from KatherLab/ci/apt-update-1757563820
oleschwen Sep 11, 2025
b034b42
Merge branch 'main' into 104-testing-startup-kits
oleschwen Sep 11, 2025
52ce9d4
check that aggregation and metrics are communicated
oleschwen Sep 15, 2025
b2a7405
check number of rounds
oleschwen Sep 15, 2025
6639893
check that dummy training ApC is available
oleschwen Sep 15, 2025
0f7e50e
temporarily removed failing test from CI workflow
oleschwen Sep 16, 2025
f0f490f
test listing licenses
oleschwen Sep 16, 2025
ceb33ff
Added test of pushing image to local registry (in separate Docker con…
oleschwen Sep 17, 2025
d74a31d
removed lengthy test step that does not provide much value from CI pi…
oleschwen Sep 17, 2025
0be2cd5
more speaking names of the CI test steps
oleschwen Sep 17, 2025
54f9182
fixed syntax of workflow
oleschwen Sep 17, 2025
1c31e02
do not need -it for listing licenses
oleschwen Sep 17, 2025
baee7cd
implemented test that client with incorrect startup kit cannot connect
oleschwen Sep 19, 2025
d9b7771
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Sep 21, 2025
22f9aaf
Merge pull request #121 from KatherLab/ci/apt-update-1758427807
oleschwen Sep 22, 2025
d1ab0ae
Merge branch 'main' into 104-testing-startup-kits
oleschwen Sep 22, 2025
0baaedc
need to use correct startup kit
oleschwen Sep 22, 2025
611813b
extended troubleshooting
oleschwen Aug 27, 2025
3b547be
added file forgotten in baee7cd9eb2de8b8d7ac54a04a79274f49a4d551
oleschwen Sep 23, 2025
5e90e08
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Sep 23, 2025
fb9d2d1
Merge pull request #124 from KatherLab/ci/apt-update-1758634394
oleschwen Sep 23, 2025
9ff3b1c
Merge branch 'main' into 104-testing-startup-kits
oleschwen Sep 23, 2025
3135784
Merge branch 'main' into 102-implement-further-feedback-on-readme-fil…
oleschwen Sep 23, 2025
d6507ac
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Sep 24, 2025
b4c5f2c
fix: update DATADIR path in pr-test.yaml for correct directory reference
gfidlab-ci-user Sep 24, 2025
58a6af1
Merge pull request #125 from KatherLab/ci/apt-update-1758687004
oleschwen Sep 24, 2025
403af1a
Merge branch 'main' into 102-implement-further-feedback-on-readme-fil…
oleschwen Sep 24, 2025
9ff4e78
Merge branch 'main' into 104-testing-startup-kits
oleschwen Sep 24, 2025
13f8209
Implemented test setup for swarm nodes to connect to locally hosted V…
oleschwen Sep 24, 2025
c29d64d
ensure that VPN docker image exists before starting server
oleschwen Sep 24, 2025
90773c1
Update README.participant.md with instructions for /etc/hosts
Ultimate-Storm Sep 30, 2025
79417db
avoid need for admin rights for client nodes: allow local user to sta…
oleschwen Sep 30, 2025
2e5fc14
updated pinned versions
oleschwen Sep 30, 2025
f47bcfe
added VPN IPs for production server, use same "--add-host" mechanism …
oleschwen Sep 30, 2025
eee4a51
made path from where VPN credentials are copied more configurable
oleschwen Sep 30, 2025
8286edb
pass directory with VPN credentials as command-line argument
oleschwen Sep 30, 2025
b558c63
extended documentation how to build startup kits with VPN credentials
oleschwen Sep 30, 2025
a856e9c
CI script now needs additional argument for building image
oleschwen Sep 30, 2025
d7fc3ca
updated apt package versions
oleschwen Sep 30, 2025
14858e7
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Oct 1, 2025
7054246
Merge pull request #127 from KatherLab/ci/apt-update-1759309004
oleschwen Oct 1, 2025
4965f6b
Merge branch 'main' into 102-implement-further-feedback-on-readme-fil…
oleschwen Oct 1, 2025
3a762f2
Merge pull request #123 from KatherLab/102-implement-further-feedback…
Ultimate-Storm Oct 1, 2025
ebc73ae
chore: update apt versions in Dockerfile_ODELIA
Ultimate-Storm Oct 2, 2025
f30455d
Merge pull request #128 from KatherLab/ci/apt-update-1759378194
oleschwen Oct 2, 2025
131d00e
Merge branch 'main' into dev-122-vpn-from-within-container
oleschwen Oct 2, 2025
6350530
build only one test image (without Docker cache), added argument (fol…
oleschwen Oct 2, 2025
c5407b4
corrected comment
oleschwen Oct 2, 2025
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
78 changes: 45 additions & 33 deletions .github/workflows/pr-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ on:
- main
- dev

permissions:
contents: read

jobs:
validate-swarm:
runs-on: self-hosted
timeout-minutes: 45

env:
DATADIR: /mnt/swarm_alpha/Odelia_challange/ODELIA_Challenge_unilateral/
DATADIR: /mnt/sda1/Odelia_challange/ODELIA_Challenge_unilateral/
SCRATCHDIR: /mnt/scratch
SITE_NAME: UKA
PYTHONUNBUFFERED: 1


steps:
- name: Checkout repository (with submodules)
uses: actions/checkout@v3
Expand All @@ -34,50 +36,60 @@ jobs:
echo "VERSION=$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Build Docker image for real project (MEVIS)
run: |
chmod +x buildDockerImageAndStartupKits.sh
./buildDockerImageAndStartupKits.sh -p application/provision/project_MEVIS_test.yml
- name: Build Docker image and startup kits for test project
run: ./buildDockerImageAndStartupKits.sh -p tests/provision/dummy_project_for_testing.yml -c tests/local_vpn/client_configs

- name: Show workspace path for MEVIS project
- name: Show workspace path for test project
run: |
echo "WORKSPACE_PATH: ${{ env.WORKSPACE_PATH }}"
find workspace -maxdepth 1 -type d -name "odelia_*_MEVIS_test" || echo "No workspace found"
find workspace -maxdepth 1 -type d -name "odelia_*_dummy_project_for_testing" || echo "No workspace found"

- name: Run integration test checking documentation on github
continue-on-error: false
run: |
./runIntegrationTests.sh check_files_on_github

- name: Run controller unit tests
continue-on-error: false
run: |
./runIntegrationTests.sh run_unit_tests_controller

- name: Run dummy training standalone
continue-on-error: false
run: |
./runIntegrationTests.sh run_dummy_training_standalone

- name: Run dummy training in simulation mode
continue-on-error: false
run: |
./runIntegrationTests.sh run_dummy_training_simulation_mode

- name: Build Docker image and dummy startup kits
run: ./buildDockerImageAndStartupKits.sh -p tests/provision/dummy_project_for_testing.yml --use-docker-cache
- name: Run dummy training in proof-of-concept mode
continue-on-error: false
run: |
./runIntegrationTests.sh run_dummy_training_poc_mode

- name: Prepare dummy trainings
continue-on-error: true
- name: Run 3DCNN training in simulation mode
continue-on-error: false
run: |
./runTestsInDocker.sh prepare_dummy_trainings
echo "Dummy training project prepared"
./runIntegrationTests.sh run_3dcnn_simulation_mode

- name: Run dummy training
- name: Run integration test creating startup kits
continue-on-error: false
run: |
./runTestsInDocker.sh run_dummy_training
echo "Dummy training finished"
echo "=== Checking log output ==="
ls -lh workspace/*/prod_00/client_A/logs || echo "No logs found for dummy training"
./runIntegrationTests.sh create_startup_kits

- name: Run 3D CNN preflight check
- name: Run intergration test listing licenses
continue-on-error: false
run: |
./runTestsInDocker.sh preflight_check
echo "Preflight check finished"
echo "=== Checking synthetic log output ==="
ls -lh workspace/*/prod_00/client_A/logs || echo "No logs found for preflight"
./runIntegrationTests.sh run_list_licenses

- name: Run Unit Tests inside Docker
continue-on-error: true
- name: Run integration test Docker GPU preflight check
continue-on-error: false
run: |
./runTestsInDocker.sh run_tests
echo "=== [LOG CHECK] ==="
docker logs $(docker ps -a -q --latest) | grep -i "error" && echo "Error found in logs" || echo "No error found"
./runIntegrationTests.sh run_docker_gpu_preflight_check

- name: Cleanup training artifacts
continue-on-error: true
- name: Run integration test Data access preflight check
continue-on-error: false
run: |
./runTestsInDocker.sh cleanup
echo "Cleanup finished"
./runIntegrationTests.sh run_data_access_preflight_check
44 changes: 15 additions & 29 deletions .github/workflows/update-apt-versions.yml
Original file line number Diff line number Diff line change
@@ -1,67 +1,53 @@
name: Auto Update APT Versions
name: Auto Update APT Versions (Self-hosted)

on:
schedule:
- cron: '0 5 * * 0' # Every Sunday at 05:00 UTC
# run eveyday at 04:00 UTC
- cron: '0 4 * * *'
workflow_dispatch:

jobs:
update-apt:
name: Update APT Package Versions in Dockerfile
runs-on: ubuntu-latest
runs-on: self-hosted
timeout-minutes: 60

steps:
- name: Checkout repository (with submodules)
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y git

- name: Configure Git for CI
- name: Set up Git
run: |
git config --global user.email "ci@github.com"
git config --global user.name "GitHub CI"

- name: Create and switch to apt-update branch
run: |
git checkout -b ci/apt-update || git switch ci/apt-update

- name: Make update script executable
run: chmod +x scripts/ci/update_apt_versions.sh

- name: Run APT update script
run: scripts/ci/update_apt_versions.sh

- name: Check for changes
id: check_changes
run: |
if git diff --quiet; then
echo "NO_CHANGES=true" >> $GITHUB_ENV
echo "No changes detected."
else
echo "NO_CHANGES=false" >> $GITHUB_ENV
echo "Changes detected."
fi
chmod +x scripts/ci/update_apt_versions.sh
scripts/ci/update_apt_versions.sh
- name: Show git diff for debugging
run: git diff || true

- name: Push ci/apt-update to origin
- name: Push apt-update branch
if: env.NO_CHANGES == 'false'
run: git push origin ci/apt-update
run: git push origin ci/apt-update --force

- name: Create Pull Request
if: env.NO_CHANGES == 'false'
uses: peter-evans/create-pull-request@v5
with:
commit-message: "chore: update apt versions in Dockerfile_ODELIA"
branch: ci/apt-update
branch-suffix: timestamp
title: "chore: Update APT versions in Dockerfile"
body: |
This PR automatically updates APT package version numbers in `Dockerfile_ODELIA`
based on a rebuild and inspection of installation logs.
base: main
delete-branch: false

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,6 @@ provision

# Ignore provisioned files
/workspace/

# Ignore directory for caching pre-trained models
docker_config/torch_home_cache
Loading
Loading