mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* Remove odo staorage commands * Remove "odo service" + "odo catalog * service" commands * Remove odo link/unlink commands * Remove related integration tests * Remove application concept * fix rebase * fix test * Remove config command * Remove env command * Remove application package * Remove config package * Move odogenerator and unions packages into kclient * Move notify package to cli/version * Fix script mockgen * Remove odo debug command oand debug package * Remove odo component describe/exec/log/status/test * Remove operator-hub tests from IBM tests * Remove operator hub tests from CI * Fix e2e tests
30 lines
671 B
Bash
Executable File
30 lines
671 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
shout() {
|
|
set +x
|
|
echo -e "\n.---------------------------------------\n${1}\n'---------------------------------------\n"
|
|
set -x
|
|
}
|
|
|
|
set -ex
|
|
|
|
# This is one of the variables injected by ci-firewall. Its purpose is to allow scripts to handle uniqueness as needed
|
|
SCRIPT_IDENTITY=${SCRIPT_IDENTITY:-"def-id"}
|
|
|
|
# Integration tests
|
|
shout "| Running integration Tests on MiniKube"
|
|
make test-cmd-project
|
|
make test-integration-devfile
|
|
|
|
shout "Cleaning up some leftover namespaces"
|
|
|
|
set +x
|
|
for i in $(kubectl get namespace -o name); do
|
|
if [[ $i == "namespace/${SCRIPT_IDENTITY}"* ]]; then
|
|
kubectl delete $i
|
|
fi
|
|
done
|
|
set -x
|
|
|
|
odo logout
|