model-collection icon indicating copy to clipboard operation
model-collection copied to clipboard

SBRA-577 generalize the docker image build

Open A669015 opened this issue 1 year ago • 8 comments

This PR generalize the way the docker images are built. It remains a single Dockerfile that is generic and that is parametrized to build the image for a given use-case.

An env.yaml file has been added, in all use-case, to define the reference environment (python, ubuntu base image) for the given use-case. This file is read by the Github action to build a docker image with the proper environment.

Some remaining tasks are postponed to avoid conflicts with the parallel job of @elasto :

  • homogeneization of the image naming (will impact the use-case file tree)
  • freeze of all the environment (python, deps, ect)

A669015 avatar May 21 '24 09:05 A669015

Coverage report for weather_forecast/gwd/ use-case

File Coverage Missing
All files 93% :white_check_mark:
config.py 95% :white_check_mark: 37
data.py 98% :white_check_mark: 157
models.py 89% :white_check_mark: 37-40 90 99
trainer.py 88% :white_check_mark: 75-76 80

Minimum allowed coverage is 0%

Generated by :monkey: cobertura-action against c62acc45c025aef0d12b2474dd93b7d8b840c337

github-actions[bot] avatar May 21 '24 09:05 github-actions[bot]

Coverage report for combustion/gnns/ use-case

File Coverage Missing
All files 84% :white_check_mark:
config.py 94% :white_check_mark: 46 82 109
data.py 81% :white_check_mark: 109-136 163 215
inferer.py 89% :white_check_mark: 224-240
models.py 69% :white_check_mark: 85 116-139 164-168 218-222
plotters.py 92% :white_check_mark: 55-56 142-143 146-147 160 165
trainer.py 68% :white_check_mark: 67-72 81-83 87-89

Minimum allowed coverage is 0%

Generated by :monkey: cobertura-action against c62acc45c025aef0d12b2474dd93b7d8b840c337

github-actions[bot] avatar May 21 '24 09:05 github-actions[bot]

Coverage report for combustion/unets/ use-case

File Coverage Missing
All files 91% :white_check_mark:
config.py 95% :white_check_mark: 38
data.py 91% :white_check_mark: 62 76 79 122 132 138
models.py 87% :white_check_mark: 41-42 45 48
trainer.py 75% :white_check_mark: 58-61 65-66 70
unet.py 96% :white_check_mark: 90 120

Minimum allowed coverage is 0%

Generated by :monkey: cobertura-action against c62acc45c025aef0d12b2474dd93b7d8b840c337

github-actions[bot] avatar May 21 '24 09:05 github-actions[bot]

Coverage report for weather_forecast/3dcorrection/unets/ use-case

File Coverage Missing
All files 87% :white_check_mark:
config.py 95% :white_check_mark: 25
dataproc.py 92% :white_check_mark: 141 145-146 187-189
models.py 74% :white_check_mark: 55 60-61 64-68 87-90 106-107 110 113 116 119
trainer.py 72% :white_check_mark: 65-68 72-74 78
unet.py 94% :white_check_mark: 89 119 122

Minimum allowed coverage is 0%

Generated by :monkey: cobertura-action against 6ecf34f84705466b0ccee7ceada7a8177cec9d2b

github-actions[bot] avatar May 21 '24 09:05 github-actions[bot]

Coverage report for combustion/unets use-case

File Coverage Missing
All files 90% :white_check_mark:
config.py 95% :white_check_mark: 38
data.py 91% :white_check_mark: 62 76 79 122 132 138
models.py 87% :white_check_mark: 41-42 45 48
trainer.py 73% :white_check_mark: 58-61 65-67 71
unet.py 96% :white_check_mark: 90 120

Minimum allowed coverage is 0%

Generated by :monkey: cobertura-action against 7888d4837ccfc6c55d2c7eac7bbbd87e7f3c8da4

github-actions[bot] avatar May 24 '24 14:05 github-actions[bot]

Coverage report for combustion/gnns use-case

File Coverage Missing
All files 84% :white_check_mark:
config.py 94% :white_check_mark: 46 82 109
data.py 81% :white_check_mark: 109-136 163 215
inferer.py 89% :white_check_mark: 224-240
models.py 69% :white_check_mark: 85 116-139 164-168 218-222
plotters.py 92% :white_check_mark: 55-56 142-143 146-147 160 165
trainer.py 68% :white_check_mark: 67-72 81-83 87-89

Minimum allowed coverage is 0%

Generated by :monkey: cobertura-action against 7888d4837ccfc6c55d2c7eac7bbbd87e7f3c8da4

github-actions[bot] avatar May 24 '24 14:05 github-actions[bot]

Coverage report for weather_forecast/gwd use-case

File Coverage Missing
All files 93% :white_check_mark:
config.py 95% :white_check_mark: 37
data.py 98% :white_check_mark: 157
models.py 89% :white_check_mark: 37-40 90 99
trainer.py 88% :white_check_mark: 75-76 80

Minimum allowed coverage is 0%

Generated by :monkey: cobertura-action against 7888d4837ccfc6c55d2c7eac7bbbd87e7f3c8da4

github-actions[bot] avatar May 24 '24 14:05 github-actions[bot]

Coverage report for weather_forecast/3dcorrection/unets use-case

File Coverage Missing
All files 89% :white_check_mark:
config.py 95% :white_check_mark: 25
dataproc.py 92% :white_check_mark: 143 147-148 189-191
models.py 77% :white_check_mark: 52 62-63 66-70 94-95 98 101 104 107
trainer.py 72% :white_check_mark: 65-68 72-74 78
unet.py 94% :white_check_mark: 89 119 122

Minimum allowed coverage is 0%

Generated by :monkey: cobertura-action against 7888d4837ccfc6c55d2c7eac7bbbd87e7f3c8da4

github-actions[bot] avatar May 24 '24 14:05 github-actions[bot]