Compare commits

..

33 commits

Author SHA1 Message Date
Fedora Release Engineering
3d77066f0c Branching f33 from rawhide
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-20 04:49:38 +00:00
Jun Aruga
ee9e673941 Update macros.
* Remove %_without_hardening_test as f30 was removed from the buildroot.
* Add %test_timeout_scale to improve unstable tests by timeout in ruby.
2020-08-11 13:41:48 +02:00
Jun Aruga
368675fe5e Fix build failures.
* Skip el8 target to avoid the following error.
  "error: one or more PCH files were found, but they were invalid".
* Set %_without_hardening_test macro to avoid checksec error on f30.
2020-05-25 19:22:36 +02:00
Jun Aruga
fbccca2e79 Remove "-f28", as it's not the build target any more. 2020-05-22 17:56:52 +02:00
Jun Aruga
ddec35ca58 Add ruby-default-gems RPM. 2020-05-22 17:27:55 +02:00
Fedora Release Engineering
afeda4b525 Branching f32 from rawhide
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-02-14 17:11:07 +00:00
Fedora Release Engineering
a61d136f69 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-02-06 18:30:07 +00:00
Fedora Release Engineering
aec408b5ec Branching f31 from rawhide, fourth attempt after platform:f32 enablement due to https://pagure.io/releng/issue/8664
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-09-22 07:59:10 +00:00
Fedora Release Engineering
6b37365700 Branching f31 from rawhide, second attempt after platform:f32 enablement
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-08-26 14:03:56 +00:00
Fedora Release Engineering
28d4f50f24 Branching f31 from rawhide
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-08-13 20:04:52 +00:00
Fedora Release Engineering
0f8fedf4e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-08-12 15:07:09 +00:00
Jun Aruga
09fa9ca804 Change ruby-irb to rubygem-irb.
Because rpms/ruby changed the package name.
2019-05-29 14:55:49 +02:00
Jun Aruga
1e6f5f80fc Remove rubygem-bundler.
rubygem-bundler is now included in rpms/ruby.
2019-05-29 14:53:39 +02:00
Jun Aruga
3eb86e85d1 Remove outdated README.md.
modules/ruby is available now!
2019-05-02 16:03:33 +02:00
Jun Aruga
0a871b6a0b Empty commit to update the built RPM packages to latest verson. 2019-04-03 16:07:19 +02:00
Jun Aruga
dd0a785374 Remove "%_without_rubypick 1" to build with same condition of rpms/ruby. 2019-03-13 16:02:34 +01:00
Jun Aruga
2f9338d93d Empty commit to update the built RPM packages to latest verson.
To apply a latest commit to fix rpms/ruby FTBFS.
2019-03-11 17:15:31 +01:00
Fedora Release Engineering
2333349e7a Branching f30 from rawhide, second attempt after platform:f31 enablement
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-03-04 18:13:48 +00:00
Fedora Release Engineering
dd90e5da31 Branching f30 from rawhide
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-03-01 19:23:03 +00:00
Fedora Release Engineering
9f16514971 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-18 23:01:09 +00:00
Jun Aruga
e3210c173d Refactoring multilib. 2018-10-03 18:37:15 +02:00
Jun Aruga
16723c8251 Add multilib for both i686 and x86_64 versions to be installed on x86_64. 2018-10-03 18:32:00 +02:00
Jun Aruga
b66ae8c5de Remove macros to remove systemtap, git and cmake.
Because it is better to run the tests for that in rpms/ruby.
Last time we could not refer the packages that is not included in platform module.
But now we can.
2018-09-26 16:35:44 +02:00
Jun Aruga
e4b088785f The reason that we removed f28 from platform is for TLS 1.3 issues.
> Remove platform f28 to avoid the build failure as a temporary workflow.

Because on f28 the patch to fix TLS 1.3 issues are not applied.
The test TestNetHTTPS#test_session_reuse is failed.
2018-09-18 10:37:04 +02:00
Jun Aruga
bcce58d393 Remove platform f28 to avoid the build failure as a temporary workflow. 2018-09-17 17:40:25 +02:00
Jun Aruga
f21efbfb93 "platform: []" is recommended.
To build for all supported Fedora releases flexibly.
See https://docs.fedoraproject.org/en-US/modularity/making-modules/defining-modules/#_modular_dependencies
2018-09-14 17:58:23 +02:00
Jun Aruga
85e4fbf784 Remove the comment for dependency-report repository.
Because it is outdated.
See https://github.com/fedora-modularity/dependency-report/issues/12
2018-09-14 17:52:21 +02:00
Jun Aruga
326c4847b6 Skip tests because of test failure of rubygem-mongo. 2018-09-14 16:21:17 +02:00
Jun Aruga
c1fe9b8878 Empty commit to update the built RPM packages to latest verson. 2018-09-14 14:24:30 +02:00
Jun Aruga
e659d77af9 Update to modulemd v2. 2018-09-03 18:03:12 +02:00
Jun Aruga
28ccf1a2f9 Empty commit to update the built RPM packages to latest verson. 2018-09-03 15:15:57 +02:00
Jun Aruga
5d39416d84 Remove doc packages comments.
doc packages not listed in /data/api/rpms are shipped
as "unsupported" or "implementation details".
See https://pagure.io/modulemd/blob/master/f/spec.yaml
2018-08-31 12:12:42 +02:00
Jun Aruga
2f6b129c8e Remove doc packages from /data/filter/rpms to ship those. 2018-08-30 17:05:14 +02:00
8 changed files with 166 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.py[oc]
tests/generated.py

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

View file

@ -1 +0,0 @@
Unsupported

113
ruby.yaml Normal file
View 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
View file

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'