mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
More tests without cluster (#6303)
* Run build-images command without cluster * Test odo remove binding without cluster * Make odo describe component work without cluster * Tests: configure cluster depending on nocluster label * Make odo list component work when --namespace is not used * Test odo list component before deployment without cluster * Some Generic tests * Unset KUBERNETES_SERVICE_HOST to disable in-cluster config * Set KUBECONFIG to empty file for no-cluster tests * Run no-cluster tests on Windows * Fix ListIngresses related changes * Add warning/error when no cluster connection is available
This commit is contained in:
@@ -80,9 +80,10 @@ function Run-Test {
|
||||
Shout "Create Binary"
|
||||
make install
|
||||
Shout "Running test"
|
||||
make test-integration-cluster | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
|
||||
make test-integration-no-cluster | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
|
||||
make test-integration-cluster | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
|
||||
Check-ExitCode $LASTEXITCODE
|
||||
make test-e2e | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
|
||||
make test-e2e | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
|
||||
Check-ExitCode $LASTEXITCODE
|
||||
|
||||
Pop-Location
|
||||
|
||||
Reference in New Issue
Block a user