SHA256
1
0
forked from pool/openQA

Offline generation of 4.6.1534873283.be929573

4.6.1534873283.be929573

OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=118
This commit is contained in:
Oliver Kurz 2018-08-21 18:56:08 +00:00 committed by Git OBS Bridge
parent 162790114e
commit e4ec75a425
10 changed files with 69 additions and 64 deletions

View File

@ -139,10 +139,5 @@ VOLUME [ "/opt/openqa" ]
RUN mkdir -p /opt/testing_area
RUN chown -R $NORMAL_USER:users /opt/testing_area
COPY entrypoint.sh /usr/bin/entrypoint
RUN ["chmod","+x","/usr/bin/entrypoint"]
USER ${NORMAL_USER}
ENTRYPOINT ["entrypoint"]
ENTRYPOINT ["/bin/bash"]
WORKDIR $OPENQA_DIR

View File

@ -1,7 +1,6 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="disabled">
<param name="extract">docker/travis_test/entrypoint.sh</param>
<param name="extract">docker/travis_test/Dockerfile</param>
<param name="extract">openQA.spec</param>
<param name="extract">openQA-test.spec</param>

View File

@ -1,46 +0,0 @@
#!/bin/bash
set -e
cp -rd /opt/openqa /opt/testing_area
cd /opt/testing_area/openqa
function create_db {
set -e
export PGDATA=$(mktemp -d)
initdb --auth=trust -N $PGDATA
cat >> $PGDATA/postgresql.conf <<HEREDOC
listen_addresses='localhost'
unix_socket_directories='$PGDATA'
fsync=off
full_page_writes=off
HEREDOC
pg_ctl -D $PGDATA start -w
createdb -h $PGDATA openqa_test
export TEST_PG="DBI:Pg:dbname=openqa_test;host=localhost;port=5432"
}
function run_as_normal_user {
cpanm -n --mirror http://no.where/ --installdeps .
if [ $? -eq 0 ]; then
create_db
export MOJO_LOG_LEVEL=debug
export MOJO_TMPDIR=$(mktemp -d)
export OPENQA_LOGFILE=/tmp/openqa-debug.log
else
echo "Missing depdencies. Please check output above"
fi
}
export -f create_db run_as_normal_user
run_as_normal_user;
dbus-run-session -- sh -c "$*"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8199978fbd74d744d981f907ba2626e8bea53487d714c8496679a62251272495
size 9234957

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44c808c1c379d976add6eb87cc49a64f23e26b1c7421d21b94c8069dc4f61c9d
size 9259533

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Aug 21 18:55:46 UTC 2018 - coolo@suse.com
- Update to version 4.6.1534873283.be929573:
* Remove entrypoint from specfile sources
* Makefile: Build env file for docker with needed environmental variables
* Fix Mojolicious version requirement
* Emit parent group ID in AMQP comment event
* Use subtests in AMQP test
* Makefile: Avoid also to parse env with spaces to travis
* tests: Fix builds on master
* Adapt fullstack tests to changes in os-autoinst
* Make javascript_console method less verbose when there are no errors
* test: disable broken test
* Do not call unblock introduced in 184d0c5d5
* Revert "Calculate blocked by jobs on creation in job resultset"
* Do not display blocked count
* Do not calculate blocked jobs
* Drop unused import
* Revert "Merge pull request #1729 from mudler/blocked_by"
* Revert "Fix usage of $blocked in test results template (#1740)"
* Revert "Merge pull request #1741 from coolo/fix_blocked_by"
* Makefile: cleanup
* tests: INSTALL_FROM_CPAN by default
* docker: Pass environment to docker
* docker: try to build our image with package upgrades and custom entrypoint while running tests
* docker: Upgrade container packages before running tests
* Fix suggested command for adding devel repo
-------------------------------------------------------------------
Fri Aug 10 15:29:12 UTC 2018 - coolo@suse.com

View File

@ -18,7 +18,7 @@
%define short_name openQA
Name: %{short_name}-test
Version: 4.6.1533914931.14b73490
Version: 4.6.1534873283.be929573
Release: 0
Summary: Test package for openQA
License: GPL-2.0+

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Aug 21 18:55:46 UTC 2018 - coolo@suse.com
- Update to version 4.6.1534873283.be929573:
* Remove entrypoint from specfile sources
* Makefile: Build env file for docker with needed environmental variables
* Fix Mojolicious version requirement
* Emit parent group ID in AMQP comment event
* Use subtests in AMQP test
* Makefile: Avoid also to parse env with spaces to travis
* tests: Fix builds on master
* Adapt fullstack tests to changes in os-autoinst
* Make javascript_console method less verbose when there are no errors
* test: disable broken test
* Do not call unblock introduced in 184d0c5d5
* Revert "Calculate blocked by jobs on creation in job resultset"
* Do not display blocked count
* Do not calculate blocked jobs
* Drop unused import
* Revert "Merge pull request #1729 from mudler/blocked_by"
* Revert "Fix usage of $blocked in test results template (#1740)"
* Revert "Merge pull request #1741 from coolo/fix_blocked_by"
* Makefile: cleanup
* tests: INSTALL_FROM_CPAN by default
* docker: Pass environment to docker
* docker: try to build our image with package upgrades and custom entrypoint while running tests
* docker: Upgrade container packages before running tests
* Fix suggested command for adding devel repo
-------------------------------------------------------------------
Fri Aug 10 15:29:12 UTC 2018 - coolo@suse.com

View File

@ -1,5 +1,5 @@
name: openQA
version: 4.6.1533914931.14b73490
mtime: 1533914931
commit: 14b7349010407f7ae048cd8affed46fa062114f3
version: 4.6.1534873283.be929573
mtime: 1534873283
commit: be929573b7a873262528c481db80c6d32809b436

View File

@ -36,7 +36,7 @@
# runtime requirements that also the testsuite needs
%define t_requires perl(DBD::Pg) perl(DBIx::Class) perl(Config::IniFiles) perl(SQL::Translator) perl(Date::Format) perl(File::Copy::Recursive) perl(DateTime::Format::Pg) perl(Net::OpenID::Consumer) perl(Mojolicious::Plugin::RenderFile) perl(Mojolicious::Plugin::AssetPack) perl(aliased) perl(Config::Tiny) perl(DBIx::Class::DynamicDefault) perl(DBIx::Class::Schema::Config) perl(DBIx::Class::Storage::Statistics) perl(IO::Socket::SSL) perl(Data::Dump) perl(DBIx::Class::OptimisticLocking) perl(Text::Markdown) perl(Net::DBus) perl(IPC::Run) perl(Archive::Extract) perl(CSS::Minifier::XS) perl(JavaScript::Minifier::XS) perl(Time::ParseDate) perl(Sort::Versions) perl(Mojo::RabbitMQ::Client) perl(BSD::Resource) perl(Cpanel::JSON::XS) perl(Pod::POM) perl(Mojo::IOLoop::ReadWriteProcess) perl(Minion) perl(Mojo::Pg)
Name: openQA
Version: 4.6.1533914931.14b73490
Version: 4.6.1534873283.be929573
Release: 0
Summary: The openQA web-frontend, scheduler and tools
License: GPL-2.0+
@ -48,7 +48,6 @@ Source0: %{name}-%{version}.tar.xz
Source1: cache.txz
Source101: update-cache.sh
Source102: Dockerfile
Source103: entrypoint.sh
BuildRequires: %{t_requires}
BuildRequires: fdupes
BuildRequires: os-autoinst
@ -56,7 +55,7 @@ BuildRequires: systemd
# critical bug fix
BuildRequires: perl(DBIx::Class) >= 0.082801
BuildRequires: perl(Minion) >= 9.02
BuildRequires: perl(Mojolicious) >= 7.24
BuildRequires: perl(Mojolicious) >= 7.92
BuildRequires: perl(Mojolicious::Plugin::AssetPack) >= 1.36
BuildRequires: rubygem(sass)
Requires: dbus-1
@ -129,7 +128,7 @@ operating system.
Summary: The openQA common tools for web-frontend and workers
Group: Development/Tools/Other
Requires: %{t_requires}
Requires: perl(Mojolicious) >= 7.24
Requires: perl(Mojolicious) >= 7.92
%description common
This package contain shared resources for openQA web-frontend and