|
19 | 19 |
|
20 | 20 | (s/def ::docker-image-name |
21 | 21 | (s/with-gen |
22 | | - (s/and ::non-blank-string |
23 | | - #(re-matches docker-image-name-re %)) |
24 | | - #(gen'/string-from-regex docker-image-name-re))) |
| 22 | + (s/and ::non-blank-string |
| 23 | + #(re-matches docker-image-name-re %)) |
| 24 | + #(gen'/string-from-regex docker-image-name-re))) |
25 | 25 |
|
26 | 26 | (def docker-tag-re (re-pattern "[-\\w.]+")) |
27 | 27 |
|
28 | 28 | (s/def ::docker-tag |
29 | 29 | (s/with-gen |
30 | | - (s/and ::non-blank-string |
31 | | - #(re-matches docker-tag-re %)) |
32 | | - #(gen'/string-from-regex docker-tag-re))) |
| 30 | + (s/and ::non-blank-string |
| 31 | + #(re-matches docker-tag-re %)) |
| 32 | + #(gen'/string-from-regex docker-tag-re))) |
33 | 33 |
|
34 | 34 | (s/def ::base-image-tag ::docker-image-name) |
35 | 35 |
|
36 | 36 | (def distro-component-re (re-pattern "[-_A-Za-z][-\\w.]+")) |
37 | 37 |
|
38 | 38 | (s/def ::distro |
39 | 39 | (s/with-gen |
40 | | - (s/and qualified-keyword? |
41 | | - #(->> % |
42 | | - ((juxt namespace name)) |
43 | | - ((fn [elements] |
44 | | - (every? (fn [e] (re-matches distro-component-re e)) |
45 | | - elements))))) |
46 | | - #(gen/fmap (fn [[namespace local]] (keyword namespace local)) |
47 | | - (gen/vector (gen'/string-from-regex distro-component-re) 2)))) |
| 40 | + (s/and qualified-keyword? |
| 41 | + #(->> % |
| 42 | + ((juxt namespace name)) |
| 43 | + ((fn [elements] |
| 44 | + (every? (fn [e] (re-matches distro-component-re e)) |
| 45 | + elements))))) |
| 46 | + #(gen/fmap (fn [[namespace local]] (keyword namespace local)) |
| 47 | + (gen/vector (gen'/string-from-regex distro-component-re) 2)))) |
48 | 48 |
|
49 | 49 | (s/def ::distros (s/coll-of ::distro :distinct true :into #{})) |
50 | 50 |
|
|
53 | 53 | ::all-tools #{::core/all})) |
54 | 54 | (s/def ::specific-build-tool-version |
55 | 55 | (s/with-gen |
56 | | - (s/and ::non-blank-string |
57 | | - #(re-matches #"(?:\d+\.)+\d+" %)) |
58 | | - #(gen/fmap (fn [nums] (str/join "." nums)) |
59 | | - (gen/vector (gen/int) 2 4)))) |
| 56 | + (s/and ::non-blank-string |
| 57 | + #(re-matches #"(?:\d+\.)+\d+" %)) |
| 58 | + #(gen/fmap (fn [nums] (str/join "." nums)) |
| 59 | + (gen/vector (gen/int) 2 4)))) |
60 | 60 |
|
61 | 61 | (s/def ::build-tool-version |
62 | 62 | (s/nilable ::specific-build-tool-version)) |
|
106 | 106 |
|
107 | 107 | (def build-tools |
108 | 108 | {"lein" "2.11.2" |
109 | | - "tools-deps" "1.12.1.1550"}) |
| 109 | + "tools-deps" "1.12.1.1561"}) |
110 | 110 |
|
111 | 111 | (def default-build-tool "tools-deps") |
112 | 112 |
|
113 | 113 | (def installer-hashes |
114 | 114 | {"lein" {"2.11.1" "03b3fbf7e6fac262f88f843a87b712a2b37f39cffc4f4f384436a30d8b01d6e4" |
115 | 115 | "2.11.2" "28a1a62668c5f427b413a8677e376affaa995f023b1fcd06e2d4c98ac1df5f3e"} |
116 | | - "tools-deps" {"1.12.1.1543" "09b7b8185b8a35b1ddcc9c2a5155d094fe1237805c24489312f3e324a83b0d4c" |
117 | | - "1.12.1.1550" "aea202cd0573d79fd8b7db1b608762645a8f93006a86bc817ec130bed1d9707d"}}) |
| 116 | + "tools-deps" {"1.12.1.1550" "aea202cd0573d79fd8b7db1b608762645a8f93006a86bc817ec130bed1d9707d" |
| 117 | + "1.12.1.1561" "b0328626c508af54c3eaf00cfb67e85d5215c6447b15c8ecc70fbe29ca95d64e"}}) |
118 | 118 |
|
119 | 119 | (def exclusions ; don't build these for whatever reason(s) |
120 | 120 | #{;; No more jammy builds for JDK 23+ |
|
0 commit comments