Compare commits
33 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d77066f0c | ||
|
|
ee9e673941 | ||
|
|
368675fe5e | ||
|
|
fbccca2e79 | ||
|
|
ddec35ca58 | ||
|
|
afeda4b525 | ||
|
|
a61d136f69 | ||
|
|
aec408b5ec | ||
|
|
6b37365700 | ||
|
|
28d4f50f24 | ||
|
|
0f8fedf4e9 | ||
|
|
09fa9ca804 | ||
|
|
1e6f5f80fc | ||
|
|
3eb86e85d1 | ||
|
|
0a871b6a0b | ||
|
|
dd0a785374 | ||
|
|
2f9338d93d | ||
|
|
2333349e7a | ||
|
|
dd90e5da31 | ||
|
|
9f16514971 | ||
|
|
e3210c173d | ||
|
|
16723c8251 | ||
|
|
b66ae8c5de | ||
|
|
e4b088785f | ||
|
|
bcce58d393 | ||
|
|
f21efbfb93 | ||
|
|
85e4fbf784 | ||
|
|
326c4847b6 | ||
|
|
c1fe9b8878 | ||
|
|
e659d77af9 | ||
|
|
28ccf1a2f9 | ||
|
|
5d39416d84 | ||
|
|
2f6b129c8e |
8 changed files with 166 additions and 1 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
*.py[oc]
|
||||
tests/generated.py
|
||||
16
Dockerfile
Normal file
16
Dockerfile
Normal 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
14
Makefile
Normal 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
|
||||
|
|
@ -1 +0,0 @@
|
|||
Unsupported
|
||||
113
ruby.yaml
Normal file
113
ruby.yaml
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
document: modulemd
|
||||
version: 2
|
||||
data:
|
||||
# From ruby.spec Summary
|
||||
summary: An interpreter of object-oriented scripting language
|
||||
# From ruby.spec description
|
||||
description: >-
|
||||
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 tasks (as in Perl). It is simple,
|
||||
straight-forward, and extensible.
|
||||
license:
|
||||
module:
|
||||
- MIT
|
||||
references:
|
||||
community: http://ruby-lang.org/
|
||||
documentation: https://www.ruby-lang.org/en/documentation/
|
||||
tracker: https://bugs.ruby-lang.org/
|
||||
dependencies:
|
||||
- buildrequires:
|
||||
# platform: [] is recommended.
|
||||
platform: [-el8]
|
||||
requires:
|
||||
platform: [-el8]
|
||||
components:
|
||||
# SRPMs
|
||||
rpms:
|
||||
ruby:
|
||||
# From ruby.spec Summary
|
||||
rationale: An interpreter of object-oriented scripting language
|
||||
multilib: [x86_64]
|
||||
buildorder: 101
|
||||
ref: master
|
||||
rubygem-abrt:
|
||||
# From rubygem-abrt.spec Summary
|
||||
rationale: >-
|
||||
ABRT support for Ruby
|
||||
buildorder: 102
|
||||
ref: master
|
||||
rubygem-mysql2:
|
||||
# From rubygem-mysql2.spec Summary
|
||||
rationale: >-
|
||||
A simple, fast Mysql library for Ruby, binding to libmysql
|
||||
buildorder: 102
|
||||
ref: master
|
||||
rubygem-pg:
|
||||
# From rubygem-pg.spec Summary
|
||||
rationale: >-
|
||||
A Ruby interface to the PostgreSQL RDBMS
|
||||
buildorder: 102
|
||||
ref: master
|
||||
rubygem-bson:
|
||||
# From rubygem-bson.spec Summary
|
||||
rationale: >-
|
||||
Ruby Implementation of the BSON specification
|
||||
buildorder: 102
|
||||
ref: master
|
||||
rubygem-mongo:
|
||||
# From rubygem-mongo.spec Summary
|
||||
rationale: >-
|
||||
Ruby driver for MongoDB
|
||||
buildorder: 103
|
||||
ref: master
|
||||
buildopts:
|
||||
rpms:
|
||||
macros: |
|
||||
# To disable tests in several packages.
|
||||
%_without_tests 1
|
||||
# To avoid the test faiures by timeout in ruby.
|
||||
%test_timeout_scale 6
|
||||
api:
|
||||
# RPMs
|
||||
# From *.spec %package
|
||||
rpms:
|
||||
# From ruby.spec
|
||||
- ruby
|
||||
- ruby-devel
|
||||
- ruby-libs
|
||||
- ruby-default-gems
|
||||
- rubygems
|
||||
- rubygems-devel
|
||||
- rubygem-bigdecimal
|
||||
- rubygem-bundler
|
||||
# It's used in Ruby 2.6 on f31.
|
||||
- rubygem-did_you_mean
|
||||
- rubygem-io-console
|
||||
- rubygem-irb
|
||||
- rubygem-json
|
||||
- rubygem-minitest
|
||||
- rubygem-net-telnet
|
||||
- rubygem-openssl
|
||||
- rubygem-power_assert
|
||||
- rubygem-psych
|
||||
- rubygem-rake
|
||||
- rubygem-rdoc
|
||||
- rubygem-test-unit
|
||||
- rubygem-xmlrpc
|
||||
# From rubygem-abrt.spec
|
||||
- rubygem-abrt
|
||||
# From rubygem-mysql2.spec
|
||||
- rubygem-mysql2
|
||||
# From rubygem-pg.spec
|
||||
- rubygem-pg
|
||||
# From rubygem-bson.spec
|
||||
- rubygem-bson
|
||||
# From rubygem-mongo.spec
|
||||
- rubygem-mongo
|
||||
# Add profiles/default as a temporary workflow,
|
||||
# because of a issue for omitted profiles element.
|
||||
profiles:
|
||||
default:
|
||||
rpms:
|
||||
- ruby
|
||||
0
sources
Normal file
0
sources
Normal file
6
tests/Makefile
Normal file
6
tests/Makefile
Normal 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
15
tests/config.yaml
Normal 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue