def run(self):
        """
        Run the plugin.
        """

        metadatas = {}

        # get all the build annotations and labels from the orchestrator
        build_result = self.workflow.build_result

        annotations = build_result.annotations
        worker_builds = annotations['worker-builds']

        for platform, build_annotations in worker_builds.items():
            try:
                metadata = self.get_platform_metadata(platform,
                                                      build_annotations)
            except BadConfigMapError:
                continue  # should we just fail here instead?
            except Exception:
                self.log.error("Failed to get metadata for platform %s",
                               platform)
                raise

            metadatas[platform] = metadata

        return metadatas
Run the plugin.