From f00af21fca41fd2ddf6024424d72fb827a582caf Mon Sep 17 00:00:00 2001 From: Zuzana Svetlikova Date: Mon, 20 Jun 2022 12:48:31 +0200 Subject: [PATCH] Update modulemd to v3. --- gating.yaml | 2 +- nodejs.yaml | 123 +++++++++++++++++++++++++--------------------------- 2 files changed, 61 insertions(+), 64 deletions(-) diff --git a/gating.yaml b/gating.yaml index 9f1d298..5f810b7 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,6 +1,6 @@ --- !Policy product_versions: - - rhel-8 + - rhel-9 decision_context: osci_compose_gate_modules subject_type: redhat-module rules: diff --git a/nodejs.yaml b/nodejs.yaml index 29200cc..20f6cc0 100644 --- a/nodejs.yaml +++ b/nodejs.yaml @@ -1,66 +1,63 @@ --- -document: modulemd -version: 2 +document: modulemd-packager +version: 3 data: - name: nodejs - stream: 18 - summary: Javascript runtime - description: >- - Node.js is a platform built on Chrome's JavaScript runtime - for easily building fast, scalable network applications. - Node.js uses an event-driven, non-blocking I/O model that - makes it lightweight and efficient, perfect for data-intensive - real-time applications that run across distributed devices. - license: - module: - - MIT - dependencies: - - buildrequires: - platform: [el8] - requires: - platform: [el8] - references: - community: http://nodejs.org - documentation: http://nodejs.org/en/docs - tracker: https://github.com/nodejs/node/issues - profiles: - common: - rpms: - - nodejs - - npm - development: - rpms: - - nodejs - - nodejs-devel - - npm - minimal: - rpms: - - nodejs - s2i: - rpms: - - nodejs - - npm - - nodejs-nodemon - api: - rpms: - - nodejs - - nodejs-devel - - npm + name: nodejs + stream: 18 + summary: Javascript runtime + description: >- + Node.js is a platform built on Chrome's JavaScript runtime + for easily building fast, scalable network applications. + Node.js uses an event-driven, non-blocking I/O model that + makes it lightweight and efficient, perfect for data-intensive + real-time applications that run across distributed devices. + license: + - MIT + configurations: + - context: rhel9 + platform: el9 buildopts: - rpms: - macros: | - %_with_bundled 1 - components: - rpms: - nodejs-packaging: - rationale: RPM Macros and Utilities for Node.js Packaging - buildorder: 10 - ref: stream-nodejs-18-rhel-8.7.0 - nodejs: - rationale: Javascript runtime and npm package manager. - buildorder: 100 - ref: stream-nodejs-18-rhel-8.7.0 - nodejs-nodemon: - rationale: Simple monitor script for use during development of a node.js app - buildorder: 200 - ref: stream-nodejs-18-rhel-8.7.0 + rpms: + macros: | + %_with_bundled 1 + references: + community: http://nodejs.org + documentation: http://nodejs.org/en/docs + tracker: https://github.com/nodejs/node/issues + profiles: + common: + rpms: + - nodejs + - npm + development: + rpms: + - nodejs + - nodejs-devel + - npm + minimal: + rpms: + - nodejs + s2i: + rpms: + - nodejs + - npm + - nodejs-nodemon + api: + rpms: + - nodejs + - nodejs-devel + - npm + components: + rpms: + nodejs-packaging: + rationale: RPM Macros and Utilities for Node.js Packaging + buildorder: 10 + ref: stream-nodejs-18-rhel-8.7.0 + nodejs: + rationale: Javascript runtime and npm package manager. + buildorder: 100 + ref: stream-nodejs-18-rhel-8.7.0 + nodejs-nodemon: + rationale: Simple monitor script for use during development of a node.js app + buildorder: 200 + ref: stream-nodejs-18-rhel-8.7.0