diff --git a/catalogs/OWNERS b/catalogs/OWNERS deleted file mode 100644 index c01d9cb98..000000000 --- a/catalogs/OWNERS +++ /dev/null @@ -1,12 +0,0 @@ -# The OWNERS file is used by prow to automatically merge approved PRs. -# See https://github.com/kubernetes/test-infra/tree/master/prow/plugins/approve/approvers. -# It supports a list of approvers and reviewers and their github names must be provided. - -approvers: -- sthaha -- vdemeester - -reviewers: -- sthaha -- vdemeester - diff --git a/catalogs/cmd/catalogs/main.go b/catalogs/cmd/catalogs/main.go deleted file mode 100644 index 94d2a0eb0..000000000 --- a/catalogs/cmd/catalogs/main.go +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2019 The Tekton Authors - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package main // import "github.com/tektoncd/experimental/catalogs/cmd" - -import "fmt" - -func main() { - fmt.Println("Catalog integration project") -} diff --git a/catalogs/go.mod b/catalogs/go.mod deleted file mode 100644 index 89e902225..000000000 --- a/catalogs/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/tektoncd/experimental/catalogs/catalogs - -go 1.13 - -require github.com/google/licenseclassifier v0.0.0-20190926221455-842c0d70d702 // indirect diff --git a/catalogs/go.sum b/catalogs/go.sum deleted file mode 100644 index 8a6ccd2b8..000000000 --- a/catalogs/go.sum +++ /dev/null @@ -1,9 +0,0 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/licenseclassifier v0.0.0-20190926221455-842c0d70d702 h1:nVgx26pAe6l/02mYomOuZssv28XkacGw/0WeiTVorqw= -github.com/google/licenseclassifier v0.0.0-20190926221455-842c0d70d702/go.mod h1:qsqn2hxC+vURpyBRygGUuinTO42MFRLcsmQ/P8v94+M= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/catalogs/test/presubmit-tests.sh b/catalogs/test/presubmit-tests.sh deleted file mode 100755 index e0ba9aba3..000000000 --- a/catalogs/test/presubmit-tests.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/usr/bin/env bash - -# Copyright 2018 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# This script runs the presubmit tests; it is started by prow for each PR. -# For convenience, it can also be executed manually. -# Running the script without parameters, or with the --all-tests -# flag, causes all tests to be executed, in the right order. -# Use the flags --build-tests, --unit-tests and --integration-tests -# to run a specific set of tests. - -# Markdown linting failures don't show up properly in Gubernator resulting -# in a net-negative contributor experience. -export DISABLE_MD_LINTING=1 -export TEST_FOLDER=$(pwd) -export GO111MODULE=on - -source $(dirname $0)/../../vendor/github.com/tektoncd/plumbing/scripts/presubmit-tests.sh - -function pre_build_tests() { - pushd ${TEST_FOLDER} -} - -function pre_unit_tests() { - pushd ${TEST_FOLDER} -} - -function pre_integration_tests() { - pushd ${TEST_FOLDER} -} - -function post_build_tests() { - popd -} - -function post_unit_tests() { - popd -} - -function post_integration_tests() { - popd -} - -# June 28th 2019: work around https://github.com/tektoncd/plumbing/issues/44 -function unit_tests() { - local failed=0 - echo "Using overridden unit_tests" - go test -v -race ./... || failed=1 - echo "unit_tests returning $@" - return ${failed} -} - -# We use the default build, unit and integration test runners. -main $@ diff --git a/test/presubmit-tests.sh b/test/presubmit-tests.sh index 1405aff76..e1eca4605 100755 --- a/test/presubmit-tests.sh +++ b/test/presubmit-tests.sh @@ -58,7 +58,7 @@ function should_test_folder() { # Get list of changed files initialize_environment -projects="catalogs cel commit-status-tracker generators helm hub oci pipeline/cleanup pipelines-in-pipelines pipeline-to-taskrun tekdoc task-loops notifiers/github-app cloudevents" +projects="cel commit-status-tracker generators helm hub oci pipeline/cleanup pipelines-in-pipelines pipeline-to-taskrun tekdoc task-loops notifiers/github-app cloudevents" inanyprojectregex=$(echo "^${projects// /\/.* ^}\/.*" | sed 's/ /\\|/g') for proj in $projects; do