Skip to content

Commit cc7aba4

Browse files
feat(boil): Add new image check command (#1464)
* feat(boil): Add new `image check` command This command allows users to check that all versions of an image are available in the specified registry. * chore(boil): Remove unused config key from boil.toml * chore: Add registry metadata to all boil configs * feat(boil): Properly support multi-registry image checks * chore(boil): Add dev comments for image subcommands * feat(boil): Collect missing images as error * chore(boil): Apply suggestions Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com> * chore(boil): Rename flat to non_recursive * chore(boil): Add and adjust dev comments --------- Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
1 parent f2643eb commit cc7aba4

40 files changed

Lines changed: 1422 additions & 196 deletions

Cargo.lock

Lines changed: 1013 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ clap_complete_nushell = "4.5.8"
1515
git2 = "0.20.1"
1616
glob = "0.3.2"
1717
oci-spec = "0.9.0"
18+
reqwest = { version = "0.13.2", features = ["json"] }
1819
rstest = "0.26.1"
20+
secrecy = "0.10.3"
1921
regex = "1.12.3"
2022
serde = { version = "1.0.217", features = ["derive"] }
2123
serde_json = "1.0.140"

airflow/boil-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[metadata.registries]
2+
"oci.stackable.tech" = { namespace = "sdp" }
3+
14
# Deprecated since SDP 25.11
25
[versions."2.9.3".local-images]
36
"shared/statsd-exporter" = "0.28.0"

boil.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,3 @@ authors = "Stackable GmbH <info@stackable.tech>"
1111
vendor-tag-prefix = "stackable"
1212
vendor = "Stackable GmbH"
1313
licenses = "Apache-2.0"
14-
15-
[docker-config]

druid/boil-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[metadata.registries]
2+
"oci.stackable.tech" = { namespace = "sdp" }
3+
14
# LTS since 24.11
25
[versions."30.0.1".local-images]
36
# https://druid.apache.org/docs/30.0.1/operations/java/

hadoop/boil-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[metadata.registries]
2+
"oci.stackable.tech" = { namespace = "sdp" }
3+
14
# Not part of SDP 25.7.0, but still required for hbase, hive, spark-k8s
25
[versions."3.3.6".local-images]
36
"hadoop/hadoop" = "3.3.6"

hbase/boil-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[metadata.registries]
2+
"oci.stackable.tech" = { namespace = "sdp" }
3+
14
[versions."2.6.3".local-images]
25
"hbase/hbase" = "2.6.3"
36
"hbase/hbase-operator-tools" = "1.3.0-hbase2.6.3"

hive/boil-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[metadata.registries]
2+
"oci.stackable.tech" = { namespace = "sdp" }
3+
14
[versions."3.1.3".local-images]
25
# Hive 3 must be built with Java 8 but will run on Java 11
36
java-base = "11"

java-devel/boil-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[metadata.registries]
2+
"oci.stackable.tech" = { namespace = "sdp" }
3+
14
[versions."8".local-images]
25
stackable-devel = "1.0.0"
36

jdk-base/boil-config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[versions."21".local-images]
22
vector = "0.52.0"
33

4-
54
[versions."24".local-images]
65
vector = "0.52.0"

0 commit comments

Comments
 (0)