Compare commits

...

No commits in common. "c8-stream-2.5" and "stream-ruby-2.6-rhel-8.9.0" have entirely different histories.

7 changed files with 66 additions and 12 deletions

16
Dockerfile Normal file
View File

@ -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

14
Makefile Normal file
View File

@ -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

7
gating.yaml Normal file
View File

@ -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}

View File

@ -2,7 +2,7 @@
document: modulemd
version: 2
data:
stream: 2.5
stream: 2.6
summary: An interpreter of object-oriented scripting language
description: >-
Ruby is the interpreted scripting language for quick and easy object-oriented
@ -28,7 +28,6 @@ data:
rpms:
- ruby
- ruby-devel
- ruby-irb
- ruby-libs
- rubygem-abrt
- rubygem-bigdecimal
@ -36,6 +35,7 @@ data:
- rubygem-bundler
- rubygem-did_you_mean
- rubygem-io-console
- rubygem-irb
- rubygem-json
- rubygem-minitest
- rubygem-mongo
@ -59,31 +59,27 @@ data:
rpms:
ruby:
rationale: An interpreter of object-oriented scripting language
ref: stream-ruby-2.5-rhel-8.6.0
ref: stream-ruby-2.6-rhel-8.9.0
buildorder: 101
multilib: [x86_64]
rubygem-abrt:
rationale: ABRT support for Ruby
ref: stream-ruby-2.5-rhel-8.6.0
ref: stream-ruby-2.6-rhel-8.9.0
buildorder: 102
rubygem-bson:
rationale: Ruby Implementation of the BSON specification
ref: stream-ruby-2.5-rhel-8.6.0
buildorder: 102
rubygem-bundler:
rationale: Library and utilities to manage a Ruby application's gem dependencies
ref: stream-ruby-2.5-rhel-8.6.0
ref: stream-ruby-2.6-rhel-8.9.0
buildorder: 102
rubygem-mongo:
rationale: Ruby driver for MongoDB
ref: stream-ruby-2.5-rhel-8.6.0
ref: stream-ruby-2.6-rhel-8.9.0
buildorder: 103
rubygem-mysql2:
rationale: A simple, fast Mysql library for Ruby, binding to libmysql
ref: stream-ruby-2.5-rhel-8.6.0
ref: stream-ruby-2.6-rhel-8.9.0
buildorder: 102
rubygem-pg:
rationale: A Ruby interface to the PostgreSQL RDBMS
ref: stream-ruby-2.5-rhel-8.6.0
ref: stream-ruby-2.6-rhel-8.9.0
buildorder: 102
...

6
tests/Makefile Normal file
View File

@ -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

15
tests/config.yaml Normal file
View File

@ -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'