diff --git a/Makefile b/Makefile index 2297ec61dc..45e936f57b 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,6 @@ GO=GO111MODULE=on GOFLAGS=-mod=vendor go GO_BUILD_RECIPE=CGO_ENABLED=1 $(GO) build $(GO_GCFLAGS) GO_E2E_RECIPE=CGO_ENABLED=1 $(GO) test $(GO_GCFLAGS) -tags e2e -c -CI_TESTS_RUN ?= "" - OUT_DIR ?= bin # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) @@ -280,14 +278,6 @@ ci-install-hypershift-private: --external-dns-domain-filter=service.ci.hypershift.devcluster.openshift.com \ --wait-until-available -.PHONY: ci-test-e2e -ci-test-e2e: - hack/ci-test-e2e.sh ${CI_TESTS_RUN} - -.PHONY: ci-test-e2e-azure -ci-test-e2e-azure: - hack/ci-test-e2e-azure.sh - .PHONY: regenerate-pki regenerate-pki: REGENERATE_PKI=1 $(GO) test ./control-plane-pki-operator/... diff --git a/hack/ci-test-e2e-azure.sh b/hack/ci-test-e2e-azure.sh deleted file mode 100755 index 3e89a33237..0000000000 --- a/hack/ci-test-e2e-azure.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash -# -# This script takes the first argument and use it as the input for -test.run. - -set -euo pipefail - -set -o monitor - -set -x - -generate_junit() { - # propagate SIGTERM to the `test-e2e` process - for child in $( jobs -p ); do - kill "${child}" - done - # wait until `test-e2e` finishes gracefully - wait - - cat /tmp/test_out | go tool test2json -t > /tmp/test_out.json - gotestsum --raw-command --junitfile="${ARTIFACT_DIR}/junit.xml" --format=standard-verbose -- cat /tmp/test_out.json - # Ensure generated junit has a useful suite name - sed -i 's/\(