Compare commits

...

No commits in common. 'c9-stream-3.1' and 'stream-ruby-2.7-rhel-8.9.0' have entirely different histories.

@ -0,0 +1,16 @@
# A workflow with docker is still uncertain.
# Keep watching below file and other module's situation.
# https://github.com/container-images/container-image-template/blob/master/Dockerfile.template
FROM registry.fedoraproject.org/f26-modular/boltron
WORKDIR /build
COPY . .
ENV LC_CTYPE C.UTF-8
RUN dnf -y update
RUN dnf -y --nodocs install \
ruby \
&& dnf -y clean all
CMD /bin/bash

@ -0,0 +1,14 @@
DOCKER_IMAGE=ruby
default: test
build-docker:
docker build -t $(DOCKER_IMAGE) .
test-nspawn:
MODULE=nspawn $(MAKE) -C tests test
test-docker: build-docker
MODULE=docker URL=docker=$(DOCKER_IMAGE) $(MAKE) -C tests test
test: test-nspawn test-docker

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate_modules
subject_type: redhat-module
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier1.functional}

@ -1,19 +1,21 @@
--- ---
document: modulemd-packager document: modulemd
version: 3 version: 2
data: data:
name: ruby stream: 2.7
stream: 3.1
summary: An interpreter of object-oriented scripting language summary: An interpreter of object-oriented scripting language
description: >- description: >-
Ruby is the interpreted scripting language for quick and easy object-oriented Ruby is the interpreted scripting language for quick and easy object-oriented
programming. It has many features to process text files and to do system management programming. It has many features to process text files and to do system management
tasks (as in Perl). It is simple, straight-forward, and extensible. tasks (as in Perl). It is simple, straight-forward, and extensible.
license: license:
module:
- MIT - MIT
configurations: dependencies:
- context: '9' - buildrequires:
platform: el9 platform: [el8]
requires:
platform: [el8]
references: references:
community: http://ruby-lang.org/ community: http://ruby-lang.org/
documentation: https://www.ruby-lang.org/en/documentation/ documentation: https://www.ruby-lang.org/en/documentation/
@ -25,42 +27,55 @@ data:
api: api:
rpms: rpms:
- ruby - ruby
- ruby-bundled-gems
- ruby-default-gems - ruby-default-gems
- ruby-devel - ruby-devel
- ruby-libs - ruby-libs
- rubygem-abrt
- rubygem-bigdecimal - rubygem-bigdecimal
- rubygem-bson
- rubygem-bundler - rubygem-bundler
- rubygem-io-console - rubygem-io-console
- rubygem-irb - rubygem-irb
- rubygem-json - rubygem-json
- rubygem-minitest - rubygem-minitest
- rubygem-mongo
- rubygem-mysql2 - rubygem-mysql2
- rubygem-net-telnet
- rubygem-openssl
- rubygem-pg - rubygem-pg
- rubygem-power_assert - rubygem-power_assert
- rubygem-psych - rubygem-psych
- rubygem-rake - rubygem-rake
- rubygem-rbs
- rubygem-rexml
- rubygem-rss
- rubygem-rdoc - rubygem-rdoc
- rubygem-test-unit - rubygem-test-unit
- rubygem-typeprof - rubygem-xmlrpc
- rubygems - rubygems
- rubygems-devel - rubygems-devel
components: components:
rpms: rpms:
ruby: ruby:
rationale: An interpreter of object-oriented scripting language rationale: An interpreter of object-oriented scripting language
ref: stream-ruby-3.1-rhel-9.1.0 ref: stream-ruby-2.7-rhel-8.9.0
buildorder: 101 buildorder: 101
multilib: [x86_64] multilib: [x86_64]
rubygem-abrt:
rationale: ABRT support for Ruby
ref: stream-ruby-2.7-rhel-8.9.0
buildorder: 102
rubygem-bson:
rationale: Ruby Implementation of the BSON specification
ref: stream-ruby-2.7-rhel-8.9.0
buildorder: 102
rubygem-mongo:
rationale: Ruby driver for MongoDB
ref: stream-ruby-2.7-rhel-8.9.0
buildorder: 103
rubygem-mysql2: rubygem-mysql2:
rationale: A simple, fast Mysql library for Ruby, binding to libmysql rationale: A simple, fast Mysql library for Ruby, binding to libmysql
ref: stream-ruby-3.1-rhel-9.1.0 ref: stream-ruby-2.7-rhel-8.9.0
buildorder: 102 buildorder: 102
rubygem-pg: rubygem-pg:
rationale: A Ruby interface to the PostgreSQL RDBMS rationale: A Ruby interface to the PostgreSQL RDBMS
ref: stream-ruby-3.1-rhel-9.1.0 ref: stream-ruby-2.7-rhel-8.9.0
buildorder: 102 buildorder: 102
... ...

@ -0,0 +1,6 @@
# Installation
# https://meta-test-family.readthedocs.io/en/latest/installation.html#installing-mtf
test:
mtf-env-set
mtf-generator
mtf -l *.py

@ -0,0 +1,15 @@
document: modularity-testing
version: 1
name: ruby
modulemd-url: https://src.fedoraproject.org/cgit/modules/ruby.git/plain/ruby.yaml
packages:
rpms:
- ruby
module:
rpm:
url: http://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/26/Everything/x86_64/os/
docker:
url: docker.io/centos/ruby-23-centos7
test:
version:
- 'ruby -v'
Loading…
Cancel
Save