You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dedicated section explaining how DOE discovers artifacts via OCI config
media type, required media types table, CI/CD pipeline considerations,
and how to verify artifact metadata with oras manifest fetch.
Copy file name to clipboardExpand all lines: articles/iot-operations/develop-edge-apps/howto-deploy-wasm-graph-definitions.md
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -199,6 +199,64 @@ See [Develop WebAssembly modules for data flow graphs](../develop-edge-apps/howt
199
199
For detailed information about creating and configuring the YAML graph definitions that define your data processing workflows, see [Configure WebAssembly graph definitions](../develop-edge-apps/howto-configure-wasm-graph-definitions.md).
200
200
201
201
202
+
## Registry artifact requirements
203
+
204
+
The operations experience uses OCI artifact metadata to discover and display graphs and modules. Understanding these requirements is important when you build custom CI/CD pipelines, copy artifacts between registries, or troubleshoot missing artifacts in the UI.
205
+
206
+
### How artifact discovery works
207
+
208
+
When you push an artifact to a registry with ORAS, the OCI manifest includes two relevant fields:
209
+
210
+
-**Config media type**: Identifies what kind of artifact this is. The operations experience filters on this field to find graphs and modules.
211
+
-**Layer media type**: Describes the content format of the actual file (YAML or WASM).
212
+
213
+
The operations experience uses the config media type for discovery, not the layer media type. If the config media type is missing or incorrect, the artifact exists in the registry but doesn't appear in the UI.
214
+
215
+
### Required media types
216
+
217
+
| Artifact type | Config media type (`--config` or `--artifact-type`) | Layer media type |
If you use automated pipelines to copy or promote artifacts between registries (for example, from a staging registry to a production registry), verify that the pipeline preserves OCI artifact metadata. Some tools strip or replace the config media type during transfer, which causes artifacts to silently disappear from the operations experience.
242
+
243
+
To verify that an artifact has the correct metadata after transfer, inspect its manifest:
If `configMediaType` shows a generic value like `application/vnd.oci.empty.v1+json`, the metadata was stripped and the artifact needs to be re-pushed with the correct flags.
259
+
202
260
## Related content
203
261
204
262
-[Develop WebAssembly modules](howto-develop-wasm-modules.md) for writing operators in Rust and Python (includes end-to-end quickstart)
0 commit comments