Revision f68a1708
Added by Tomer Brisker about 5 years ago
debian/bionic/foreman/control | ||
---|---|---|
.
|
||
The foreman package should be installed along with this package.
|
||
|
||
Package: foreman-test
|
||
Architecture: all
|
||
Section: web
|
||
Priority: extra
|
||
Depends: foreman (= ${binary:Version}), ${misc:Depends}
|
||
Description: metapackage providing test dependencies for Foreman
|
||
This package provides test dependencies for Foreman, a
|
||
flexible systems management web application.
|
||
.
|
||
The foreman package should be installed along with this package.
|
||
|
||
Package: foreman-assets
|
||
Architecture: any
|
||
Section: web
|
debian/bionic/foreman/foreman-test.install | ||
---|---|---|
bundler.d/test.rb /usr/share/foreman/bundler.d
|
debian/bionic/foreman/foreman-test.postinst | ||
---|---|---|
#!/bin/sh
|
||
# postinst script for foreman-*
|
||
#
|
||
# see: dh_installdeb(1)
|
||
|
||
[ -n "${DEBUG}" ] && set -x
|
||
set -e
|
||
|
||
. /usr/share/debconf/confmodule
|
||
|
||
LOGFILE='/var/log/foreman-install.log'
|
||
|
||
# if this script aborts with an error dpkg can
|
||
# hang if daemons have been started
|
||
trap db_stop EXIT
|
||
|
||
BUNDLE=bundle
|
||
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
|
||
|
||
# Update gems
|
||
export HOME=/usr/share/foreman
|
||
cd /usr/share/foreman
|
||
if [ ! -z "${DEBUG}" ]; then
|
||
$BUNDLE update --local
|
||
else
|
||
$BUNDLE update --local 2>&1 >> $LOGFILE
|
||
fi
|
||
|
||
# Own all the core files
|
||
chown -Rf foreman:foreman '/usr/share/foreman'
|
||
|
||
#DEBHELPER#
|
||
|
||
exit 0
|
debian/stretch/foreman/control | ||
---|---|---|
.
|
||
The foreman package should be installed along with this package.
|
||
|
||
Package: foreman-test
|
||
Architecture: all
|
||
Section: web
|
||
Priority: extra
|
||
Depends: foreman (= ${binary:Version}), ${misc:Depends}
|
||
Description: metapackage providing test dependencies for Foreman
|
||
This package provides test dependencies for Foreman, a
|
||
flexible systems management web application.
|
||
.
|
||
The foreman package should be installed along with this package.
|
||
|
||
Package: foreman-assets
|
||
Architecture: any
|
||
Section: web
|
debian/stretch/foreman/foreman-test.install | ||
---|---|---|
bundler.d/test.rb /usr/share/foreman/bundler.d
|
debian/stretch/foreman/foreman-test.postinst | ||
---|---|---|
#!/bin/sh
|
||
# postinst script for foreman-*
|
||
#
|
||
# see: dh_installdeb(1)
|
||
|
||
[ -n "${DEBUG}" ] && set -x
|
||
set -e
|
||
|
||
. /usr/share/debconf/confmodule
|
||
|
||
LOGFILE='/var/log/foreman-install.log'
|
||
|
||
# if this script aborts with an error dpkg can
|
||
# hang if daemons have been started
|
||
trap db_stop EXIT
|
||
|
||
BUNDLE=bundle
|
||
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
|
||
|
||
# Update gems
|
||
export HOME=/usr/share/foreman
|
||
cd /usr/share/foreman
|
||
if [ ! -z "${DEBUG}" ]; then
|
||
$BUNDLE update --local
|
||
else
|
||
$BUNDLE update --local 2>&1 >> $LOGFILE
|
||
fi
|
||
|
||
# Own all the core files
|
||
chown -Rf foreman:foreman '/usr/share/foreman'
|
||
|
||
#DEBHELPER#
|
||
|
||
exit 0
|
debian/xenial/foreman/control | ||
---|---|---|
.
|
||
The foreman package should be installed along with this package.
|
||
|
||
Package: foreman-test
|
||
Architecture: all
|
||
Section: web
|
||
Priority: extra
|
||
Depends: foreman (= ${binary:Version}), ${misc:Depends}
|
||
Description: metapackage providing test dependencies for Foreman
|
||
This package provides test dependencies for Foreman, a
|
||
flexible systems management web application.
|
||
.
|
||
The foreman package should be installed along with this package.
|
||
|
||
Package: foreman-assets
|
||
Architecture: any
|
||
Section: web
|
debian/xenial/foreman/foreman-test.install | ||
---|---|---|
bundler.d/test.rb /usr/share/foreman/bundler.d
|
debian/xenial/foreman/foreman-test.postinst | ||
---|---|---|
#!/bin/sh
|
||
# postinst script for foreman-*
|
||
#
|
||
# see: dh_installdeb(1)
|
||
|
||
[ -n "${DEBUG}" ] && set -x
|
||
set -e
|
||
|
||
. /usr/share/debconf/confmodule
|
||
|
||
LOGFILE='/var/log/foreman-install.log'
|
||
|
||
# if this script aborts with an error dpkg can
|
||
# hang if daemons have been started
|
||
trap db_stop EXIT
|
||
|
||
BUNDLE=bundle
|
||
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
|
||
|
||
# Update gems
|
||
export HOME=/usr/share/foreman
|
||
cd /usr/share/foreman
|
||
if [ ! -z "${DEBUG}" ]; then
|
||
$BUNDLE update --local
|
||
else
|
||
$BUNDLE update --local 2>&1 >> $LOGFILE
|
||
fi
|
||
|
||
# Own all the core files
|
||
chown -Rf foreman:foreman '/usr/share/foreman'
|
||
|
||
#DEBHELPER#
|
||
|
||
exit 0
|
Also available in: Unified diff
Drop tests package from debian builds
Tests aren't expected to run in production anyways, no point in
packaging them. We don't package them in RPMS as well.