Commit 349a5bc
authored
ci: authenticate Cargo Artifactory index fetch (NVIDIA#60)
#### Overview
Fix the scheduled Cargo Artifactory publish job so Cargo can authenticate both the registry index fetch and the publish request.
- [x] I confirm this contribution is my own work, or I have the right to submit it under this project's license.
- [x] I searched existing issues and open pull requests, and this does not duplicate existing work.
#### Details
- Add `NEMO_FLOW_CI_PYTHON_VERSION` and use uv-managed Python 3.11 for the Cargo publish job's inline metadata parsing.
- Remove the apt-installed `python3` dependency from the Cargo publish job.
- Install `git`, configure Cargo to fetch the Artifactory registry index with the Git CLI, and write a scoped Git credential entry from the existing Artifactory CI secrets.
- Keep the existing Cargo registry token for the publish request itself.
#### Where should the reviewer start?
Start with `.gitlab-ci.yml`, especially the `publish:artifactory:cargo` job credential setup.
#### Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
- Relates to: none
## Summary by CodeRabbit
* **Chores**
* Enhanced CI/CD pipeline configuration to strengthen the Cargo package publishing process with improved dependency management
* Upgraded Artifactory credential handling with more secure credential configuration and git integration capabilities
* Optimized build environment setup for increased reliability, consistency, and automated version tracking across publishing workflows
Authors:
- Will Killian (https://github.com/willkill07)
Approvers:
- Bryan Bednarski (https://github.com/bbednarski9)
URL: NVIDIA#601 parent 696bd99 commit 349a5bc
1 file changed
Lines changed: 33 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | | - | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
243 | | - | |
| 245 | + | |
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
247 | 249 | | |
248 | 250 | | |
249 | 251 | | |
| 252 | + | |
250 | 253 | | |
251 | 254 | | |
252 | 255 | | |
| |||
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
259 | 284 | | |
| 285 | + | |
260 | 286 | | |
261 | 287 | | |
262 | 288 | | |
263 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
264 | 293 | | |
| 294 | + | |
265 | 295 | | |
266 | 296 | | |
267 | 297 | | |
268 | 298 | | |
| 299 | + | |
269 | 300 | | |
270 | 301 | | |
271 | 302 | | |
| |||
0 commit comments