[master 8/11] Add a new makefile target that does everything needed for jenkins.
wgwoods
installerbot-noreply at redhat.com
Wed Jul 22 21:32:52 UTC 2015
From: Chris Lumens <clumens at redhat.com>
We should have as much of the logic of how the CI tests are run in source
control as possible, so that's what this target is for. Besides this, jenkins
just runs a "git clean" first.
---
Makefile.am | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index b2cef40..dc88133 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,7 +46,7 @@ ZANATA_PULL_ARGS = --transdir $(srcdir)/po/
ZANATA_PUSH_ARGS = --srcdir $(srcdir)/po/ --push-type source --force
RC_RELEASE ?= $(shell date -u +0.1.%Y%m%d%H%M%S)
-MOCKCHROOT ?= fedora-rawhide-x86_64
+MOCKCHROOT ?= fedora-rawhide-$(shell uname -m)
tag:
@git tag -s -a -m "Tag as $(ARCHIVE_TAG)" $(ARCHIVE_TAG)
@@ -153,3 +153,11 @@ runglade:
GLADE_CATALOG_SEARCH_PATH=$(srcdir)/widgets/glade \
GLADE_MODULE_SEARCH_PATH=$(builddir)/widgets/src/.libs \
glade ${GLADE_FILE}
+
+ci: rc-release
+ $(MAKE) -C utils/dd
+ $(MAKE) TMPDIR=/var/tmp check
+ @mkdir -p repo
+ @mv *rpm repo
+ @createrepo -p repo
+ @sudo $(MAKE) TMPDIR=/var/tmp TESTS=install/run_install_test.sh TEST_ANACONDA_REPO=file://$(builddir)/repo/ check
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/2772825700524cb64e0575f214be3ad8fb402ff1
More information about the anaconda-patches
mailing list