195 Commits

Author SHA1 Message Date
Ayaz Salikhov
58649f1a9a Use tenacity.retry for merge_tags (#2285)
* Use tenacity.retry for merge_tags

* Add type: ignore

* Tenacity raises its own error
2025-04-13 14:55:18 +01:00
Ayaz Salikhov
4597bad999 Fix some typos 2025-04-04 02:04:15 +01:00
Ayaz Salikhov
1473c9bbda Force using keyword-only arguments where types are the same (#2277)
* Force using keyword-only arguments where types are the same

* Fix
2025-04-03 21:27:24 +01:00
Ayaz Salikhov
aa2004d90e Retry all docker operations 2025-04-01 23:38:50 +01:00
Ayaz Salikhov
8afbe01040 Handle attempts to push tag several times inside python 2025-04-01 20:16:51 +01:00
Ayaz Salikhov
b89b5ec4a2 [FAST_BUILD] Apply and merge tags in the same place (#2274)
* Apply and merge tags in the same place

* Multiple fixes

* Refactor merge_tags.py

* Small fixes

* Download aarch64 first

* Revert a change back

* Show docker images
2025-04-01 16:30:39 +01:00
Ayaz Salikhov
b98e55e28d Only create manifests when images are pushed to registry (#2273) 2025-04-01 01:57:34 +01:00
Ayaz Salikhov
19bfa74b5f Improve merge_tags: runnable multiple times, run in PRs, simpler function 2025-03-28 14:58:06 +00:00
Ayaz Salikhov
de998c41eb Log errors on docker run/exec failure 2025-03-25 08:46:26 +00:00
Ayaz Salikhov
bc3baf8ad8 Improve logs around running docker (#2261) 2025-03-23 11:09:53 +00:00
Ayaz Salikhov
dcd1c457d3 Refactor TrackedContainer run_detached/exec_cmd functions (#2256)
* Refactor TrackedContainer run_detached/exec_cmd functions

* Add get_logs() method

* Small fixes

* Make get_health() a method

* Remove kwargs, always print output

* Small fixes
2025-03-21 10:05:00 +00:00
Ayaz Salikhov
2c1df4020a Make taggers manifest functions (#2252)
* Make taggers and manifests functions

* Add changelog
2025-03-12 16:05:09 +00:00
Ayaz Salikhov
48b065050c Add tags for mamba and conda versions (#2251)
* Add tags for mamba and conda versions

* Update changelog
2025-03-12 14:56:39 +00:00
Ayaz Salikhov
3dea76fa66 Use textwrap.dedent in quoted_output 2025-03-10 23:35:44 +00:00
Ayaz Salikhov
f7d59ceffe Better logs in DockerRunner 2025-03-10 00:54:15 +00:00
Ayaz Salikhov
0510a43920 Refactor container.exec_run usages 2025-03-10 00:49:28 +00:00
Ayaz Salikhov
f2b42fd461 Make sure build info works properly for messages with more than one line
Test on this commit
2025-03-10 00:27:05 +00:00
Ayaz Salikhov
afdc806119 Move tagging/utils/config to tagging/apps/config 2025-03-05 02:01:07 +00:00
Ayaz Salikhov
9d4d382b36 Revert wrong usage of textwrap.dedent 2025-02-24 11:50:39 +00:00
Ayaz Salikhov
27dfcdb326 Fix broken link 2025-02-23 20:43:42 +00:00
Ayaz Salikhov
123d215128 Refactor tagging: create functions, better logs and names, textwrap.dedent (#2239) 2025-02-23 20:41:04 +00:00
Ayaz Salikhov
6c47a89558 Use textwrap.dedent() to create build info 2025-02-23 19:17:09 +00:00
Ayaz Salikhov
92a029158c Add MarkdownPiece class to make manifest pieces better structured (#2238) 2025-02-23 19:15:45 +00:00
Ayaz Salikhov
4ee4f2b906 Remove explicit utf-8 from decode() as it's default (#2237) 2025-02-22 14:15:53 +00:00
Ayaz Salikhov
8fc97cb36b Add tagging config to pass params easier (#2234)
* Add tagging config to pass params easier

* Shorter function signatures
2025-02-22 01:05:54 +00:00
Ayaz Salikhov
18e09a7872 Clarify container.remove() behaviour (#2235) 2025-02-22 00:46:48 +00:00
Ayaz Salikhov
1bbab5c80d Add more logs in tagging 2025-02-21 22:24:59 +00:00
Ayaz Salikhov
d9b6333f13 Write correct manifests in forks 2025-02-21 22:23:51 +00:00
Ayaz Salikhov
80f4426b8e Unify common arguments in tagging/apps (#2230) 2025-02-21 16:28:36 +00:00
Ayaz Salikhov
0c483ad1c1 Add copyright and improve tagging docs 2025-02-21 12:56:28 +00:00
Ayaz Salikhov
e815fde31b Better tagging directory structure (#2228) 2025-02-21 12:48:18 +00:00
Ayaz Salikhov
355813e360 Fix some typing comments 2025-02-21 01:56:40 +00:00
Ayaz Salikhov
e796b11ee1 Properly generate wiki home page in forks (#2226)
* Properly generate wiki home page in forks

* Better description
2025-02-20 00:01:55 +00:00
Fabian Rost
332aac5ba7 mkdir parents in update_wiki.py (#2225) 2025-02-19 18:07:14 +00:00
Ayaz Salikhov
8dddb5207c Use consistent order in metioning images 2025-02-18 17:30:19 +00:00
Ayaz Salikhov
b2246417aa Do not use deprecated datetime.utcnow() 2025-02-18 15:27:07 +00:00
Ayaz Salikhov
80b71625f0 Use Python 3.12 for internal code (#2222)
* Use Python 3.12 for internal code

* Add changelog entry
2025-02-18 15:26:06 +00:00
Ayaz Salikhov
e57047801c Improve handling common parser arguments (#2221) 2025-02-18 11:06:10 +00:00
Ayaz Salikhov
0b16cf8dbf Simplify unify_aarch64 2025-01-26 20:53:33 +00:00
Ayaz Salikhov
7e4e18403a Create all necessary directories during wiki update 2025-01-06 18:27:47 +05:00
Ayaz Salikhov
a6ef176ff3 Make commits a url on wiki home page 2024-12-31 21:16:33 +05:00
Ayaz Salikhov
ad4d4c6e6e Add yearly total stats to update_wiki 2024-12-31 20:41:30 +05:00
Ayaz Salikhov
a61c9ae8a7 Improve commits counting: inly count merge commits, calc between midnights UTC 2024-12-31 20:41:25 +05:00
Ayaz Salikhov
d812d68234 Allow no new manfests or build history lines files if special flag is present during update_wiki 2024-12-30 22:15:19 +05:00
Ayaz Salikhov
af0493a305 Add number of commits to wiki home page 2024-12-30 22:10:14 +05:00
Ayaz Salikhov
67dd54966c Fix args order when running python modules 2024-12-29 07:31:25 +05:00
Ayaz Salikhov
a41b6e80ce Add some statistics to wiki page 2024-12-29 06:51:06 +05:00
Ayaz Salikhov
c175251fdb [FAST_BUILD] Run mamba info without --quiet and put conda info in build manifest files (#2191) 2024-12-29 05:38:15 +05:00
Ayaz Salikhov
209a7464f4 Group build manifests by year 2024-12-29 02:36:27 +05:00
Ayaz Salikhov
2ba3651be1 Put manifest files by to year/year-month/ dirs 2024-12-29 01:30:11 +05:00