43 Commits

Author SHA1 Message Date
Armel Soro
fc2ffce43a Stop testing binding-related code since the Service Binding Operator has been deprecated [1]
Also add warning notes to the corresponding command reference pages.

This section used to cause a bunch of flaky tests,
even if it hasn't seen any changes over the past months/years.

[1] https://redhat-developer.github.io/service-binding-operator/userguide/intro.html
2024-07-18 00:08:12 +02:00
Armel Soro
85926ff88a chore(CI): Fix potentially flaky tests 2024-06-28 14:41:47 +02:00
Armel Soro
2508cf7362 Run only of asubset of the integration tests in OpenShift CI
Rationale: All of the integration tests are already covered in GitHb CI
(using Kubernetes), and they tend to be a bit flaky on OpenShift.
2024-05-18 09:15:33 +02:00
Armel Soro
3bfebaa4e6 Revert "Run only E2E tests on OpenShift CI"
This reverts commit 133356ae44.
2024-05-17 11:11:22 +02:00
Armel Soro
133356ae44 Run only E2E tests on OpenShift CI
Integration tests are already covered a lot by the CI on GitHub and tend to be somewhat flaky on OpenShift. We don't need to run them all on OpenShift.
2024-05-08 15:32:59 +02:00
Parthvi Vala
431725543a Revert "Add DEVFILE_REGISTRY env var for periodic tests (#6709)" (#6725)
* Revert "Add DEVFILE_REGISTRY env var for periodic tests (#6709)"

This reverts commit f0bf9ee1dd.

* Use IBM Devfile registry for InterOP testing

Signed-off-by: Parthvi Vala <pvala@redhat.com>

---------

Signed-off-by: Parthvi Vala <pvala@redhat.com>
2023-04-12 07:21:57 -04:00
Philippe Martin
f0bf9ee1dd Add DEVFILE_REGISTRY env var for periodic tests (#6709)
* Add DEVFILE_REGISTRY env var for periodic tests

* Add SBO tests
2023-04-03 11:47:29 -04:00
Anand Kumar Singh
bb911ea3fa copy aritifacts only if ARTIFACT_DIR var is exposed (#6402)
Signed-off-by: anandrkskd <anandrkskd@gmail.com>

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-12-13 05:00:45 -05:00
Anand Kumar Singh
ce42ce435e InterOP: enable test report generation for tests (#6307)
* enable test report generation for tests

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* add test-reports to gitignore

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-11-16 20:22:49 +00:00
Anand Kumar Singh
f96c35ac0e fix login failure on interop tests with error: x509 (#6288)
* fix login failure on interop tests with error: x509

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update script

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-11-09 12:30:02 -05:00
Anand Kumar Singh
39b8c7e4c2 fix flake and use operatorhub to install EDB (#6004)
* fix flake

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* fix flake

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* check if namespace is created

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* check if namespace without sercice is created

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-08-29 11:26:57 -04:00
Anand Kumar Singh
c7f3f3b1d1 reduce test make targets, organize test file structure (#5931)
* reduce test make targets, organize test file structure

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove report collection

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-07-13 05:32:11 +00:00
Anand Kumar Singh
722020678f Migrate to ginkgo v2 (#5809)
* migrate to ginkgo v2 for tests

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update to ginkgo/v2

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update to ginkgo v2

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* use ginkgo binary for tests

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update to ginkgo v2

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove GOFLAG while downloading ginkgo

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove FlakeAttempts from tests

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* use ginkgo v2.1.4

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* mod cleanup and use mod to run ginkgo

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove unnecessary goget-ginkgo from sctipt

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-07-06 10:31:01 +00:00
Rodolfo Napoles
83f26da94d Reorganized test file directory structure (#5537)
* Rebased was required

* Replicated changes to  openshiftci related scripts to avoid test failure
2022-03-16 01:42:11 -04:00
Anand Kumar Singh
3eb92b6a47 POC for odo interactive testing (#5466)
* POC for odo interactive testing

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* add interactive tests to make target test-integration

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* [WIP] use func to pass test instructions

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* cleanup comments/test

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* cleanup minor changes

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* fix unit test failure

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* skip for windows

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* skip for windows by not compiling, cleanup

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* cleanup, and add the make target to test files

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* incorporate review, adding comments, cleanup

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* fix failing make validate

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update test dependency, and possible fix for windows

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* Revert "update test dependency, and possible fix for windows"

This reverts commit 55580b7dc5.

* Final cleanup

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-03-02 13:50:26 -05:00
Philippe Martin
850c7cd723 Remove commands that wont be implemented for v3-alpha1 (#5433)
* 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
2022-02-06 23:42:15 -05:00
Priti Kumari
d37298a367 Fix reports directory for operatorhub nightly tests (#4972)
* Fix reports directory for operatorhub nightly tests

* copy reports for project, login logout and operatorhub tests to artifacts dir reports

* one line command for copying both reports
2021-08-09 13:24:35 +00:00
Kandarpa Malipeddi
1d174c5285 Enabling operator-test for Power. (#4653) 2021-04-28 19:04:06 -04:00
xkwangcn
6faaf90eb1 add operator-hub tests to ci for s390x platform (#4601)
Co-authored-by: wangxinke <wangxinke@wangxinkes-mbp.cn.ibm.com>
2021-04-12 11:43:20 +02:00
jbpratt
81ddd194cc Swap login/logout calls from using odo to oc directly (#4573)
The telemetry prompt popped up during a test due to the call to `odo
login`. Swap that to use `oc` directly and avoid the prompt.

closes #4568
2021-04-01 10:42:25 +02:00
xkwangcn
06008d17cf Add test-integration-devfile tests for s390x (#4514)
For the test-integration-devfile, have verified supported on s390x.
2021-03-19 02:58:13 -07:00
Kandarpa Malipeddi
bf5b96e094 Add test-integration-devfile tests for ppc64le (#4526) 2021-03-18 09:54:31 -07:00
Mohammed Ahmed
7b3b5115b8 Renaming entrypoint scripts to use new job (#4419)
- 4.6 will now run the old presubmit-all script
 - psi will run as 4.6-e2e-4x-psi

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2021-02-12 05:14:59 -05:00
Mohammed Ahmed
b2483a5cf2 Setting up baseline POC of internal CI (#4063)
* Working on baseline POC of internal CI

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing golangci comments

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Reducing timeout for sake of PIC feedback

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Moving defer

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* jenkins build is now a number and dont cancel current build

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Updating envs to prevent conflicts, if any

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Update jenkins user envs

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Disabling auto delete and adding explicit shutdown

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing autodel

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some more fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Reenablong autodelete and sleeping

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Init and shutdown moved around a bit

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* 2 Connections on prow worker

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some more fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing nil pointer exception on rcvqchan

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some cleanup and fixing done message not being sent

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing up messaging

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Adding actual testing

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Make it fail purposefully

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Simplifying poc

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some more fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removing success chan as its not needed

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removing in favor of seperate repo

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removing related vendor

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Blah

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* updating testing scripts

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some script updates

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* build odo and copy it to path

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Re-ordering test script

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removed unneeded setup script

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Debugging

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some more stuff

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Re-enable hiding

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Cleaning up the script

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixup for windows and macos testing

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing env names to make it cleaner

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Allow redhat tests to specify precreated project name and delete it

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Updating script for kubeadmin login and handling some setup

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixup randomstring to satisfy dns format

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some stuff to do

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Remove deleteproject

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some more fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing project name

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Hiding deletion projects and export project names

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Increasing timeout and memory for java

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing after rebase

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Reverting fixes to tests

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Rebasing and fixing env names and adding one for ubi8 nodejs12

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing up way env is read

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing project name in oc import image

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Adding remaining tests

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Skipping user login tests

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removing coloration for ginkgo

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Adding helper for oc get pods and using it in operator hub tests

oc get pods succeeds, even if there are no resources. So to account
for delays in pods becoming available the fallthough from above mentioned
issue, this was created

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Moving noColor to GINKGO_TEST_ARGS

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Adding justbeforeeach and justafter each to a context

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixup for newer image

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removing Access information from file stat in pod.

1. Touching a file on mounts without `noatime` changes the access time.
2. This includes use by run script in container, hence resulting in errors.
3. We are not interested in access information anyway.

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing after rebase

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Increasing curl timeout

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Rebasing and addressing comments by @dharmit

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing after rebase

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Readjusting time and order

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Moving operator hub tests to top

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removing ginko nocolor as ansi stripping is available in ci-firewall

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing typo

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Adding back old openshift presubmit script with a -old

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing random project for nodejs-14

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing after rebase

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing odo command

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2021-02-08 15:23:09 -05:00
Anand Kumar Singh
d818d24f4e $ARTIFACTS_DIR is set by platform (#4399)
* is set by platform

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* removing env ARTIFACTS_DIR as it's set by platform

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* replacing env  to ARTIFACT_DIR

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* replacing env  to ARTIFACT_DIR

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2021-02-02 06:37:51 -05:00
Priti Kumari
96fc76e691 Execute make target consecutively even on failure (#4324)
* Execute make target consecutively even on failure

* intentionally failing the test to verify the pr behavior

* Reverting the intentionally introduced failure
2020-12-24 14:46:49 +01:00
Mohammed Ahmed
c941d6932d Splitting configure-installer-test-cluster into a library. (#4194)
* Spliting configure-installer-test-cluster into a library.

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing password for developer and libdir

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Some fixes

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixing periodic tests developer pass

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Changing way script gets it current dir

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Renameing function and doing a set -e

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Fixup for usage where caller script is called with `.`

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Updating remaining scripts to use same auth lib

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Moving htpass up one level

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Adding some echos

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Setting +e for login

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removing exit on error for parts of the script, where it should not matter

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2020-11-24 20:33:23 +01:00
Anand Kumar Singh
baa313049b Junit test report generation (#4214)
* Junit test report generation

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* Junit test report generation

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2020-11-20 04:47:51 +01:00
sarveshtamba
fe982a02a6 Update integration testcases and e2e testcases for ppc64le support (#4000)
* Update integration testcases and e2e testcases for ppc64le support

* Update integration testcases and e2e testcases for ppc64le support
2020-09-24 21:31:32 +00:00
Tomas Kral
ebe51e886b Switch from glide to go mod (#3866)
* switch to go modules

* update vendor (go mod vendor)

* swithing to go mod: update docs and makefile

* update goget-tools

* use go mod verify to check vendor

* Update goget-tools

- pin goget-tools versions
- update gikgo to 1.14.0
- reset GOFLAGS for goget-tools
- fix ginkgo get for Prow

* go mod: replace github.com/kr/pty with github.com/creack/pty

* update vendor (go mod vendor)

* fix make cross target

-mod=vendor was not used for corss compiling
2020-09-03 07:49:41 -04:00
Zheng Xiao Mei
47ba83b6bc Update e2e supported images test to support s390x arch. (#3744) 2020-08-18 15:21:18 +02:00
Zheng Xiao Mei
19514c1fb5 CI support for IBM Z (#3716) 2020-08-11 19:47:43 -04:00
sarveshtamba
8b6a698844 CI support for ODO on IBM P (#3643)
* CI support for ODO on IBM P

* CI support for ODO on IBM P
2020-08-10 11:46:48 -04:00
Zheng Xiao Mei
4b6498c386 CI support for IBM Z (#3529) 2020-07-24 10:19:53 +02:00
Amit Rout
6c507ec98f Including exit code in stderr verification (#3608)
* Including exit code in stderr verification

* Removing unnecessary test debug messages
2020-07-21 15:55:13 -04:00
Priti Kumari
62e2a825a9 Enabling verbose only for Integration test (#3598) 2020-07-18 08:13:46 -04:00
Priti Kumari
8791263cf1 Fixing kubeconfig path and login session for 4.x cluster (#3528) 2020-07-11 17:30:38 +02:00
Tomas Kral
c15e2d5ebd remove benchark tests (#2903) 2020-04-18 22:58:25 -04:00
John Collier
1eb878ea2d 'odo watch' support for devfile components (#2737)
* Move file watch to its own package

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Use parameter struct for odo push

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Implement odo watch for devfiles

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Clean up and tests

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Un-export addRecursiveWatch

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Move devfile tests into own package and add more watch tests

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Fix go sec error

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Address review comments

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Properly apply ignores for devfile watching

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Properly apply ignores for `odo push` as well

Signed-off-by: John Collier <John.J.Collier@ibm.com>
2020-03-28 11:01:51 +01:00
Dharmit Shah
51544e2342 Adds ability to list Operators available in the cluster (#2593)
* Add dependency on operator-lifecycle-manager (release-4.1)

* Add Operator Hub client to kclient package

* Add function to list installed operators

To be more specific, it lists the `ClusterServiceVersions` in the
cluster. But a `ClusterServiceVersion` is available only when
Operator(s) is/are installed by the cluster admin.

* List the CSVs in the cluster using odo commands

* Add dependency on github.com/golang/groupcache

* Removes futile call to get services from catalog

We're already getting services from the catalog in `Complete` function
and storing it in `o.services`.

* List the Operators only if experimental mode is enabled

* Update CI cluster setup script to setup operators

* Add OperatorHub tests to test-cmd-service

* Integration tests for listing operators

* Remove specific CSV version to let it be automatically selected

* Add test suite for OperatorHub tests to run

* Separate PHONY for OperatorHub tests and run it on 4.x cluster

* Use a CRD's kind instead of DisplayName to make service creation simpler in future

* Set environment variable for experimental mode

* Modify cluster setup to install operators on 4.1

* Execute different steps to setup OperatorHub if running on OCP 4.1

* Fix operator setup script for OCP 4.x

* Changes as per the PR review

https://github.com/openshift/odo/pull/2593#pullrequestreview-363449893

* Added klog dependency through `glide update -v`

* Changes as per the PR review

https://github.com/openshift/odo/pull/2593#pullrequestreview-372480988
https://github.com/openshift/odo/pull/2593#pullrequestreview-372484636
2020-03-11 05:06:15 -04:00
Tomas Kral
605ea6fac4 Do not run e2e test in verbose (#2450)
We have a lot of tests and running everithing in verbose mode create
output with few thousends of lines and it makes it really hard to find
failures.
Ginkgo is smart enought to dump all availble output when for failing
test even if verbose mode is not enabled.
2019-12-16 15:58:08 +01:00
Amit Rout
f899710437 Disabling ginkgo JUNIT report generator (#2403)
* Disabling ginkgo JUNIT report generator

* Remove reports upload to artifacts dir
2019-11-21 08:22:27 +01:00
Amit Rout
cbc484dfae Add all test target to a single OpenShift CI presubmit file (#2401)
* Add all test target to a single OpenShift CI presubmit file

* Updating review comments
2019-11-18 13:49:46 +01:00