419 Commits

Author SHA1 Message Date
Zheng Xiao Mei
21d115bcab Remove the unused step in configure-installer-tests-cluster-s390x.sh. (#4390) 2021-01-27 11:17:33 -05:00
Priti Kumari
dbab5f9748 Fixing kubeconfig file not found error while running configure scripts locally (#4378) 2021-01-22 18:51:21 +01:00
Zheng Xiao Mei
5544b25ec0 Add same fix with #4206. (#4317)
Add some fix for importing java imagestream.
2021-01-19 19:57:22 -05:00
Mohammed Ahmed
e7c77943b5 Bumping odo version from v2.0.3 to v2.0.4 (#4352)
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2021-01-19 13:19:49 -05:00
Mohammed Ahmed
e51cecfbea Configure-installer script refactor part 2 (#4292)
* Moving to static htpasswd file as it is for ephermal test cluster anyway

 - password still remains password@123

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

* Moving kubeadmin to its own script

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

* Updating script name

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

* Adding check for non-existent KUBECONFIG

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

* Removing reset_kubeconfig

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

* Fixing reset_kubeconfig as it should not be called unless user wants to do it

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

* Addressing comment by girish

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2021-01-14 07:05:14 -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
Rodolfo Napoles
051ad88c2c #4062 Update installing odo on Windows section to fix filename and ad… (#4176)
* #4062 Update installing odo on Windows section to fix filename and add additional steps and information required

* #4062 updated to make it generic, got rid of go/bin references

* Incorporated feedback from dharmit

* #4062 made changes to replace tar.gz for .zip for windows installer

* #4062 incorporated feedback from Dharmit

* #4062 Fixed a couple of typos to addres dharmit feedback

* 4062 fix mising dot in .exe

* 4062 fix if sattement

* 4062 fix syntax error

* 4062 fix syntax error

* 4062 fix syntax error

* 4062 fix syntax error

* 4062 fix syntax error

* Fixed statements for when suffix is .exe

* Fixed if syntax

* changed syntax

* Fixed syntax

* fixed zip command syntax

* Removed unnecessary comments and updtaed redistributable filename to add .exe before .zip
2020-12-18 06:53:39 +00:00
Mohammed Ahmed
f990de616e Bumping odo version v2.0.2 -> v2.0.3 (#4294)
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2020-12-08 06:34:20 -05:00
Dharmit Shah
a5b561133a Makes odo work with v0.3.0 of Service Binding Operator (#4274)
* Makes odo work with v0.3.0 of Service Binding Operator

* Self-review of documentation

* Change from SBR to SB in integration test

* Fix Group and Kind when checking for SB support
2020-12-07 12:58:33 -05:00
Priti Kumari
585fd6dc5c Adding the latest java image ubi8/openjdk-11 in odo supported list (#4206)
* Adding the latest java image ubi8/openjdk-11 on ocp 4.6 version as supported

* Modifying the init image version
2020-11-25 06:49:03 +01:00
Mohammed Ahmed
3529787025 Bumping odo version v2.0.1 -> v2.0.2 (#4251)
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2020-11-24 20:33:30 +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
sarveshtamba
2e8304e3df Update configure-installer-tests-cluster-ppc64le to support nodejs12 e2e test (#4229)
Update configure-installer-tests-cluster-ppc64le to support nodejs12 e2e test
2020-11-20 09:50:03 +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
Zheng Xiao Mei
8a35be2428 Update configure-installer-tests-cluster-s390x to support nodejs12 e2e test. (#4215) 2020-11-13 15:27:07 +01:00
Priti Kumari
b742a0ce65 Adding ubi8/nodejs-12 images as supported (#4070)
* Adding ubi8/nodejs-12 images as supported

* Updated image stream yaml

* Revert image stream yaml changes

* verify ubi8 nodejs image with e2e test

* Added image namespace in the script file

* changing dc from source bin to deployment

* Revert the dc change

* update odo-init-container to v1.1.6

Co-authored-by: Tomas Kral <tkral@redhat.com>
2020-11-06 10:06:13 +01:00
sarveshtamba
89eeae65c8 Update required s2i imagestreams for nodejs and java on IBM Power (#4181) 2020-11-03 11:03:45 -05:00
Zheng Xiao Mei
b33adbce69 Update required s2i imagestreams for nodejs and java. (#4180) 2020-11-02 07:07:46 +01:00
Girish Ramnani
70116e82c5 update the owner files (#4171)
* updated the owner files

* add prietyc123 and rnapoles-rh in some owner files
2020-10-30 18:40:11 +01:00
Charlie Drage
a9fff7da48 Release 2.0.1 of odo (#4152)
**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind feature

**What does does this PR do / why we need it**:

Releases 2.0.1 of odo

**Which issue(s) this PR fixes**:

N/A

**PR acceptance criteria**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-10-26 12:03:08 -04:00
Girish Ramnani
53fd14e764 Revert "Updating golang version to 1.15 (#4121)" (#4132)
This reverts commit 436015d028.
2020-10-23 04:24:53 -04:00
Charlie Drage
0f38a9e5f9 Ignore lifecycle/rotten labels when generating changelog (#4122)
**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind cleanup

**What does does this PR do / why we need it**:

Ignores "lifecycle/rotten" issues when generating the changelog

**Which issue(s) this PR fixes**:

Closes https://github.com/openshift/odo/issues/3192#issuecomment-707521200

**PR acceptance criteria**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-10-22 11:51:59 -04:00
Girish Ramnani
436015d028 Updating golang version to 1.15 (#4121) 2020-10-21 17:07:30 -04:00
Priti Kumari
566f7df76f Remove mongo db operators (#4127) 2020-10-21 13:03:00 -04:00
sarveshtamba
5d466fab42 Update configure-installer-tests-cluster-ppc64le.sh script to import right imagestream for tests. (#4065) 2020-10-06 22:47:43 -04:00
Zheng Xiao Mei
58420b1583 Update configure-installer-tests-cluster-s390x.sh script to import right imagestreams for tests. (#4054) 2020-10-06 22:47:36 -04: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
Zheng Xiao Mei
e9cc59445c Update s2i image for the library change on s390x plaftorm. (#3974) 2020-09-23 02:26:16 +00:00
Charlie Drage
6fbb9d9bfa Release 2.0.0 (#4021)
**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind feature

**What does does this PR do / why we need it**:

Release 2.0.0 of odo

**Which issue(s) this PR fixes**:

N/A

**PR acceptance criteria**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-09-22 14:46:14 -04:00
sarveshtamba
f535cb943f Update s2i image from library for ppc64le (#3939)
Update s2i image from library for ppc64le
2020-09-14 11:17:20 +05:30
Mohammed Ahmed
4305079156 Cleaning up odo rpm spec and scripts (#3904)
* Fixing rpm spec Provides and Obsoletes to be more specific

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

* Fixing local build script to use dist/rpmbuild and topdir for build

 - This prevents polluting users main rpmbuild

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

* Setting goflags during `make test` and turning off missing buildid

 - without goflags, unit tests take a while as they dont use vendor
 - providing -mod=vendor does not seem to help
 - missing gnu build ids in go binaries can cause warnings

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

* Removing GOFLAGS from spec and adding build_flags to test target

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

* Unsetting any goflags for make test in openshift ci

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

* Removing the set +x from local build script

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

* Adding rpm tests

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

* Removing last rm -rf

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

* Reverting to explicitly setting GOFLAGS for make test

 - It appears that while `-mod=vendor` flag is available for `go test`
   it is sometimes not respected
 - It is therefore, better to just set GOFLAGS only for make test
 - More investigation is needed to find better solution, but we should
   not break stuff relation to testing and release, where we should not
   be pulling from outside world

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

* Cleaning up rpm-prepare

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

* Removing unnessasary newline

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

* Adding version file to spec for any future automation to have easier time

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2020-09-10 11:55:19 -04:00
Priti Kumari
7766cd4e5a Syncing service binding operator starting csv version (#3885) 2020-09-07 10:59:01 -04:00
sarveshtamba
1447f9b55e Update s2i image from library for ppc64le (#3873) 2020-09-05 03:34:15 -04: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
a674741000 Update s2i image from library. (#3861) 2020-08-31 21:29:44 -04:00
sarveshtamba
95d2b6188f Applying secret to namespace for authenticated registry for ppc64le (#3849) 2020-08-31 21:29:36 -04:00
Mohammed Ahmed
89b5ab6608 Updating cross-compile script to produce stripped binaries (#3864)
- This is a soft requirement for downstream releases
   which will need waiver every time, if not done

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2020-08-31 17:54:14 -04:00
Mohammed Ahmed
55c074e978 Bumping odo version to 1.2.5 -> 1.2.6 (#3848)
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2020-08-27 09:03:26 -04:00
Priti Kumari
2e46179eea Replace unstable mongodb-enterprise operator subscription with percona-server-mongodb-operator (#3820)
* Replace unstable mongodb-enterprise operator subscription with percona-server-mongodb-operator

* Updating the operatorhub test according to the installed operator
2020-08-25 01:44:31 -04:00
Zheng Xiao Mei
c3093e2fb4 Applying secret to namespace for authenticated registry for s390x (#3802) 2020-08-21 01:31:11 +02:00
Zheng Xiao Mei
1e80be60ff Fix the make test-coverage for s390x arch (#3765) 2020-08-20 05:12:48 +02:00
Zheng Xiao Mei
47ba83b6bc Update e2e supported images test to support s390x arch. (#3744) 2020-08-18 15:21:18 +02:00
Priti Kumari
ed9f304a1e Fixing cluster service version issue for operators on 4.6 cluster (#3746) 2020-08-13 05:38:31 +02:00
Amit Rout
81154f8c41 Applying secret to namespace for authenticated registry (#3737)
* Applying secret to namespace for authenticated registry

* Updated installer config script

* Addressing review comments

* Addressing review comments
2020-08-12 23:37:38 +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
Charlie Drage
0aeec48e4d Release 1.2.5 (#3689)
**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind feature

**What does does this PR do / why we need it**:

Release 1.2.5 of odo

**Which issue(s) this PR fixes**:

N/A

**PR acceptance criteria**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-08-04 11:53:41 -04:00
Amit Rout
b3cf595506 Remove deprecated images and update tests (#3587)
* Remove deprecated nodejs 8 images

* Update README

* Updated README

* Addressed review comments

* Fixing unit test failure

* Addressed review comment

* Fixing travis failure

* Checking oc version

* Applying supported image imagestream

* Applying supported image imagestream

* Added supported is

* Debugging

* Cleanup

* Updated test doc

* Cleanup
2020-07-27 03:31:33 +02:00
Zheng Xiao Mei
4b6498c386 CI support for IBM Z (#3529) 2020-07-24 10:19:53 +02:00
Dharmit Shah
e66e8ca157 Adds support for linking a Devfile component with an Operator backed service (#3557)
* Add dependency on service binding operator

* Add extra dependencies for service binding operator

* Adds support for odo link between component and operator hub service

* Add owner reference for the link

* Deals with inability to install SBO the OLM way on k8s

https://github.com/redhat-developer/service-binding-operator/issues/536

* Adds and removes 'odo link' entry to/from env.yaml

* Makes odo push set appropriate "envFrom" for a podTemplateSpec

* Changes to unit test & those based on PR feedback

* Rebase and "glide update -v"

* Make the linter happy. Remove unused variables

* Fix unit test of envinfo to include 'link' paramter

* Move 'odo link' tests under operator hub tests

* Install SBO on the cluster

* Changes as per PR feedback

* Check for Operator before trying to create a link

* Change error message expected in tests

* Make example less confusing by using less 'example'
2020-07-23 13:49:09 +02:00