From 71c526e24b819dec9b027e4b70a6578bc4c428c1 Mon Sep 17 00:00:00 2001 From: Jiri Hnidek Date: Fri, 15 Nov 2024 16:51:43 +0100 Subject: [PATCH] fix: Renamed integration-tests to cockpit-tests * Card ID: CCT-741 * The new name describes better the purpose of the directory * We are going to add real integration tests and there would be interference in names --- .cockpit-ci/run | 2 +- {integration-tests => cockpit-tests}/run | 10 +++++----- {integration-tests => cockpit-tests}/vm.install | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename {integration-tests => cockpit-tests}/run (86%) rename {integration-tests => cockpit-tests}/vm.install (100%) diff --git a/.cockpit-ci/run b/.cockpit-ci/run index 2400c9fa6e..dc220f39bd 120000 --- a/.cockpit-ci/run +++ b/.cockpit-ci/run @@ -1 +1 @@ -../integration-tests/run \ No newline at end of file +../cockpit-tests/run \ No newline at end of file diff --git a/integration-tests/run b/cockpit-tests/run similarity index 86% rename from integration-tests/run rename to cockpit-tests/run index a414cc413f..a442cb3e0d 100755 --- a/integration-tests/run +++ b/cockpit-tests/run @@ -6,8 +6,8 @@ # like this: # # $ export TEST_OS=rhel-8-4 -# $ ./integration-tests/run prepare -# $ ./integration-tests/check-subscriptions -v -j1 -t +# $ ./cockpit-tests/run prepare +# $ ./cockpit-tests/check-subscriptions -v -j1 -t # # You need a couple of things installed for that. At least Python 3, # a Chromium browser, and libvirtd. See @@ -20,7 +20,7 @@ ifeq ($(TEST_OS),) TEST_OS = rhel-8-4 endif export TEST_OS -SUB_MAN_COCKPIT=$(CURDIR)/integration-tests/submancockpit +SUB_MAN_COCKPIT=$(CURDIR)/cockpit-tests/submancockpit VM_IMAGE=$(SUB_MAN_COCKPIT)/test/images/$(TEST_OS).qcow2 SUBMAN_TAR=$(CURDIR)/dist/subscription-manager.tar.gz SMBEXT_TAR=$(CURDIR)/dist/subscription-manager-build-extra.tar.gz @@ -45,7 +45,7 @@ $(SUBMAN_TAR): $(SMBEXT_TAR): tar czf $(SMBEXT_TAR) build_ext -$(VM_IMAGE): $(SUB_MAN_COCKPIT) $(SUBMAN_TAR) $(SMBEXT_TAR) integration-tests/vm.install +$(VM_IMAGE): $(SUB_MAN_COCKPIT) $(SUBMAN_TAR) $(SMBEXT_TAR) cockpit-tests/vm.install rm -f $(VM_IMAGE) # setup the test image from subscription-manager-cockpit without # a custom subscription-manager, which will be installed manually @@ -54,7 +54,7 @@ $(VM_IMAGE): $(SUB_MAN_COCKPIT) $(SUBMAN_TAR) $(SMBEXT_TAR) integration-tests/vm cd $(SUB_MAN_COCKPIT) && bots/image-customize -v $(TEST_OS) \ -u $(SUBMAN_TAR):/var/tmp/ \ -u $(SMBEXT_TAR):/var/tmp/ \ - -s ../../integration-tests/vm.install + -s ../../cockpit-tests/vm.install $(SUB_MAN_COCKPIT): git clone --quiet https://github.com/candlepin/subscription-manager-cockpit.git $(SUB_MAN_COCKPIT) diff --git a/integration-tests/vm.install b/cockpit-tests/vm.install similarity index 100% rename from integration-tests/vm.install rename to cockpit-tests/vm.install