From bd3b8e1748f05d552d20b5381557a9d4c2b268e4 Mon Sep 17 00:00:00 2001 From: Michael Valdron Date: Thu, 29 Feb 2024 16:27:35 -0500 Subject: [PATCH] revise name rhtap to konflux Signed-off-by: Michael Valdron --- CONTRIBUTING.md | 4 ++-- .../{check_rhtap_nightly.sh => check_konflux_nightly.sh} | 4 ++-- tests/{rhtap => konflux}/go.mod | 2 +- tests/{rhtap => konflux}/go.sum | 0 tests/{rhtap/rhtap_test.go => konflux/konflux_test.go} | 8 ++++---- tests/{rhtap => konflux}/types.go | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) rename tests/{check_rhtap_nightly.sh => check_konflux_nightly.sh} (72%) rename tests/{rhtap => konflux}/go.mod (99%) rename tests/{rhtap => konflux}/go.sum (100%) rename tests/{rhtap/rhtap_test.go => konflux/konflux_test.go} (96%) rename tests/{rhtap => konflux}/types.go (98%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0c8bb7c33..7eeb21f0d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -82,7 +82,7 @@ The devfile samples used in this devfile registry are stored in the `extraDevfil - Use the Developer perspective and import the Devfile Sample using Import from Git. -2) Verifying your Sample functions with RHTAP +2) Verifying your Sample functions with Konflux - Create an application by importing the sample from Git. @@ -113,7 +113,7 @@ In case you want to add another version to a new devfile sample you can update t - Use the Developer perspective and import the Devfile Sample using Import from Git. -2) Verifying your Sample functions with RHTAP +2) Verifying your Sample functions with Konflux - Create an application by importing the sample from Git. diff --git a/tests/check_rhtap_nightly.sh b/tests/check_konflux_nightly.sh similarity index 72% rename from tests/check_rhtap_nightly.sh rename to tests/check_konflux_nightly.sh index f4fb9bf39..bd90eb4ee 100755 --- a/tests/check_rhtap_nightly.sh +++ b/tests/check_konflux_nightly.sh @@ -6,11 +6,11 @@ ROOT_REPO_DIR=$(pwd) samplesFile="$ROOT_REPO_DIR/extraDevfileEntries.yaml" # Install golang modules -cd "$ROOT_REPO_DIR"/tests/rhtap && \ +cd "$ROOT_REPO_DIR"/tests/konflux && \ go mod tidy && \ go mod vendor && \ cd "$ROOT_REPO_DIR" ginkgo run -p \ --timeout 2h \ - tests/rhtap -- -samplesFile "$samplesFile" + tests/konflux -- -samplesFile "$samplesFile" diff --git a/tests/rhtap/go.mod b/tests/konflux/go.mod similarity index 99% rename from tests/rhtap/go.mod rename to tests/konflux/go.mod index 4a94256a6..7bc15b3ab 100644 --- a/tests/rhtap/go.mod +++ b/tests/konflux/go.mod @@ -1,4 +1,4 @@ -module github.com/devfile/registry/tests/rhtap +module github.com/devfile/registry/tests/konflux go 1.18 diff --git a/tests/rhtap/go.sum b/tests/konflux/go.sum similarity index 100% rename from tests/rhtap/go.sum rename to tests/konflux/go.sum diff --git a/tests/rhtap/rhtap_test.go b/tests/konflux/konflux_test.go similarity index 96% rename from tests/rhtap/rhtap_test.go rename to tests/konflux/konflux_test.go index fde12fec4..a39c089a0 100644 --- a/tests/rhtap/rhtap_test.go +++ b/tests/konflux/konflux_test.go @@ -1,4 +1,4 @@ -package rhtap +package konflux import ( "flag" @@ -23,14 +23,14 @@ func init() { flag.StringVar(&namespace, "namespace", "", "Namespace where create and build stack samples") } -func TestRhtap(t *testing.T) { +func TestKonflux(t *testing.T) { RegisterFailHandler(Fail) - RunSpecs(t, "rhtap suite") + RunSpecs(t, "konflux suite") } -var _ = Describe("RHTAP sample checks", Ordered, Label("nightly"), func() { +var _ = Describe("Konflux sample checks", Ordered, Label("nightly"), func() { var fw *testHub.ControllerHub component := &appservice.Component{} cdq := &appservice.ComponentDetectionQuery{} diff --git a/tests/rhtap/types.go b/tests/konflux/types.go similarity index 98% rename from tests/rhtap/types.go rename to tests/konflux/types.go index f9d767c5e..38b94598e 100644 --- a/tests/rhtap/types.go +++ b/tests/konflux/types.go @@ -1,4 +1,4 @@ -package rhtap +package konflux import ( "os"