Commit 6f18643
committed
ci: containerize CI pipeline with pre-built Docker image
Add a BuildCIImage job that produces a content-hash-cached Docker image
(Ubuntu 22.04, JDK 8, conda, SBT, Spark, pre-cached datasets) published
to mmlsparkmcr.azurecr.io/synapseml/ci via Workload Identity Federation.
All test/build jobs now run inside this container, eliminating per-job
conda setup, CLI updates, and dataset downloads. Key changes:
- tools/docker/ci/Dockerfile: 109-line multi-stage image definition
- pipeline.yaml: container resource, BuildCIImage job, scoped compilation
via PROJECT variable, SBT_OPTS tuning, free_disk.yml template
- build.sbt: ForkJoinPool deadlock fix for parallel test execution
- TestBase.scala: 30-minute hard timeout for all test suites
- CodegenPlugin.scala: remove redundant root publishLocal in installPipPackage
- templates/free_disk.yml: disk cleanup helper
Performance: ~59% wall-clock reduction (66m -> 27m), 33.5% total compute
savings (1228m -> 817m agent-minutes) across 59 test jobs.1 parent 895752c commit 6f18643
7 files changed
Lines changed: 275 additions & 61 deletions
File tree
- core/src/test/scala/com/microsoft/azure/synapse/ml/core/test/base
- project
- templates
- tools/docker/ci
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
| |||
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
151 | 162 | | |
152 | 163 | | |
153 | 164 | | |
| |||
0 commit comments