@@ -91,13 +91,13 @@ The following command lists all the different projects the artifacts are distrib
91
91
92
92
[source,console]
93
93
----
94
- $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/' | jq '.[] | .name'
95
- " library"
96
- " sandbox"
97
- " sdp"
98
- " sdp-charts"
99
- " stackable"
100
- " stackable-charts"
94
+ $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/' | jq --raw-output '.[] | .name'
95
+ library
96
+ sandbox
97
+ sdp
98
+ sdp-charts
99
+ stackable
100
+ stackable-charts
101
101
----
102
102
103
103
`sdp` contains the product and operator Docker images. The Helm Charts for the operators are found under `sdp-charts`. Some artifacts like the
@@ -107,23 +107,24 @@ List the Helm Charts in `sdp-charts`:
107
107
108
108
[source,console]
109
109
----
110
- $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/sdp-charts/repositories?page_size=20' | jq '.[] | .name'
110
+ $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/sdp-charts/repositories?page_size=20' | jq --raw-output '.[] | .name'
111
111
----
112
112
113
113
List all available versions of a specific Helm Chart, e.g. the zookeeper-operator:
114
114
115
115
[source,console]
116
116
----
117
- $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/sdp-charts/repositories/zookeeper-operator/artifacts' | jq '.[] | .tags[].name'
118
- "0.0.0-dev"
119
- "0.0.0-pr919"
120
- "0.0.0-pr917"
121
- "24.11.1"
122
- "24.11.1-rc2"
123
- "24.11.1-rc1"
124
- "24.11.0"
125
- "24.7.0"
126
- "24.3.0"
117
+ $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/sdp-charts/repositories/zookeeper-operator/artifacts' | jq --raw-output '.[] | .tags[].name'
118
+ 0.0.0-dev
119
+ 0.0.0-pr920
120
+ 0.0.0-pr919
121
+ 0.0.0-pr917
122
+ 24.11.1
123
+ 24.11.1-rc2
124
+ 24.11.1-rc1
125
+ 24.11.0
126
+ 24.7.0
127
+ 24.3.0
127
128
----
128
129
129
130
[[docker-images]]
@@ -134,17 +135,17 @@ the `sdp` project, run this command:
134
135
135
136
[source,console]
136
137
----
137
- $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/sdp/repositories?page=1' | jq '.[] | .name'
138
- " sdp/statsd_exporter"
139
- " sdp/stackable-cockpit"
140
- " sdp/product1"
141
- " sdp/git-sync/git-sync"
142
- " sdp/sig-storage/csi-provisioner"
143
- " sdp/sig-storage/csi-node-driver-registrar"
144
- " sdp/kcat"
145
- " sdp/java-devel"
146
- " sdp/vector"
147
- " sdp/hello-world"
138
+ $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/sdp/repositories?page=1' | jq --raw-output '.[] | .name'
139
+ sdp/statsd_exporter
140
+ sdp/stackable-cockpit
141
+ sdp/product1
142
+ sdp/git-sync/git-sync
143
+ sdp/sig-storage/csi-provisioner
144
+ sdp/sig-storage/csi-node-driver-registrar
145
+ sdp/kcat
146
+ sdp/java-devel
147
+ sdp/vector
148
+ sdp/hello-world
148
149
----
149
150
150
151
Since the API is using pagination it might be necessary to increment the `page` in the command to see additional results.
@@ -153,21 +154,21 @@ It is also possible to list all the available image tags for a repository of cho
153
154
154
155
[source,console]
155
156
----
156
- $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/sdp/repositories/trino/artifacts?page=1&page_size=25' | jq '.[] | select(.extra_attrs.config != {}) | .tags[]?.name'
157
- "470 -stackable0.0.0-dev"
158
- " 451-stackable0.0.0-dev"
159
- "455 -stackable0.0.0-dev"
160
- " 470-stackable0.0.0-dev-arm64"
161
- " 455-stackable0.0.0-dev-arm64"
162
- " 451-stackable0.0.0-dev-arm64"
163
- " 470-stackable0.0.0-dev-amd64"
164
- " 455-stackable0.0.0-dev-amd64"
165
- " 451-stackable0.0.0-dev-amd64"
166
- " 469-stackable0.0.0-dev"
167
- " 469-stackable0.0.0-dev-arm64"
168
- " 469-stackable0.0.0-dev-amd64"
169
- " 451-stackable24.11.1"
170
- " 455-stackable24.11.1"
157
+ $ curl -X GET --header 'Accept: application/json' 'https://oci.stackable.tech/api/v2.0/projects/sdp/repositories/trino/artifacts?page=1&page_size=25' | jq --raw-output '.[] | select(.extra_attrs.config != {}) | .tags[]?.name'
158
+ 455 -stackable0.0.0-dev
159
+ 451-stackable0.0.0-dev
160
+ 470 -stackable0.0.0-dev
161
+ 470-stackable0.0.0-dev-arm64
162
+ 455-stackable0.0.0-dev-arm64
163
+ 451-stackable0.0.0-dev-arm64
164
+ 470-stackable0.0.0-dev-amd64
165
+ 455-stackable0.0.0-dev-amd64
166
+ 451-stackable0.0.0-dev-amd64
167
+ 469-stackable0.0.0-dev
168
+ 469-stackable0.0.0-dev-arm64
169
+ 469-stackable0.0.0-dev-amd64
170
+ 451-stackable24.11.1
171
+ 455-stackable24.11.1
171
172
----
172
173
173
174
Similar to the previous command, the API call uses pagination again. So the `page` value in the command can be incremented to see more results. Here the `page_size`
0 commit comments