Skip to content

Commit

Permalink
[DON'T COMMIT] debug commit to show pod and imagestream for apicast
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelsorianod committed Jul 20, 2021
1 parent 9dc41e3 commit 1704ce6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ test-manifests-version:
TEST_E2E_PKGS = $(shell $(GO) list ./... | grep 'github.com/3scale/3scale-operator/controllers')
ENVTEST_ASSETS_DIR=$(PROJECT_PATH)/testbin
test-e2e: generate fmt vet manifests
while true ; do \
echo "getting apicast-production pod yaml content ..." ; \
oc get pod --all-namespaces -l threescale_component=apicast,threescale_component_element=production,deploymentConfig=apicast-production -o yaml ; \
echo "getting amp-apicast imagestream content ..." ; \
oc get is --all-namespaces -l threescale_component=apicast -o yaml ; \
echo "sleeping for 60 seconds ..." ; \
sleep 60 ; \
done &
mkdir -p ${ENVTEST_ASSETS_DIR}
test -f $(ENVTEST_ASSETS_DIR)/setup-envtest.sh || curl -sSLo $(ENVTEST_ASSETS_DIR)/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.6.3/hack/setup-envtest.sh
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); USE_EXISTING_CLUSTER=true $(GO) test $(TEST_E2E_PKGS) -coverprofile cover.out -ginkgo.v -ginkgo.progress -v -timeout 0
Expand Down

0 comments on commit 1704ce6

Please sign in to comment.