Commit Graph

159 Commits (main)

Author SHA1 Message Date
Oleksandr Andriienko bd60ac5e18
Fix bundle check (#706)
* Fix bundle check

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-03-05 10:12:17 +02:00
Flavius Lacatusu 9047208934
Fix minikube jobs. Run minikube latest stable version in tests (#695)
* Adopt github actions to work with embedded minikube

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-03-03 09:12:17 +02:00
Anatolii Bazko 162cda431a
User --version flag to deploy and update Eclipse Che (#683)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-19 16:52:52 +02:00
Mykhailo Kuznietsov 2318cbb809
Update release documentation (#682)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-02-19 13:56:04 +02:00
Mykhailo Kuznietsov 88680b76f5
Apply fixes to release workflows (#679)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-02-18 15:05:50 +02:00
Flavius Lacatusu 562246c2fb
Merge pull request #676 from flacatus/fix_biuld
Unblock che operator build by removing temporary linux s390x platform
2021-02-15 11:30:51 +01:00
Flavius Lacatusu cc3a15175b
Remove s390x
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-02-15 09:10:34 +01:00
Anatolii Bazko 54307805b1
Login using OCP token for e2e tests (#675)
* Login using OCP token for e2e tests

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Use different operator image name

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Fix operator image name

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-12 22:44:36 +02:00
Nick Boldt 9de4414846
no need for base32 python wrapper as base32 executable is part of coreutils in ubuntu image; requirement for operator-sdk-v0.10.0 is now obsolete as Che 7.21 is EOL; switch to curl as it's better/safer than wget (#662)
Change-Id: Iba11ab83257b2df4d7b63f1fd242c15bde65c239
Signed-off-by: nickboldt <nboldt@redhat.com>
2021-02-04 10:09:08 -05:00
Nick Boldt 2143397b70
gh18864 - instead of curl, use GH action invocation (#660)
Change-Id: I93157a916f85bc2ef108328a969e5dbc38b67034
Signed-off-by: nickboldt <nboldt@redhat.com>
2021-02-04 09:56:33 -05:00
Mykhailo Kuznietsov 428e720ad3
Fix community operator update action (#661) 2021-02-04 09:45:29 -05:00
Nick Boldt 6ca3b5b661
gh18864 new GH action to run che-docs... (#657)
* gh18864 new GH action to run che-docs release when olm/eclipse-che-preview-*/deploy/olm-catalog/eclipse-che-preview-*/eclipse-che-preview-*.package.yaml is updated in master branch

Change-Id: Icfb71b6c1e254af4778dcc4f458c4565e94de867
Signed-off-by: nickboldt <nboldt@redhat.com>

* probably don't need python

Change-Id: I45e689555b9ca2f5722ff18309fd739181578379
Signed-off-by: nickboldt <nboldt@redhat.com>

* forgot the --trigger-release flag to create a tag

Change-Id: Ie41b19f473384eedf131153deb6e32a6288b689b
Signed-off-by: nickboldt <nboldt@redhat.com>
2021-02-03 11:32:30 -05:00
Flavius Lacatusu de5560b233
Merge pull request #634 from flacatus/multi_build
Add docker buildx to support multi-platform builds for release process
2021-01-19 14:41:41 +01:00
Flavius Lacatusu 5d4539b084
Fix tests
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-01-18 19:14:13 +01:00
Flavius Lacatusu 32fd67241c
Add docker buildx to support multi-platform builds for release process
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-01-18 17:51:29 +01:00
Flavius Lacatusu 7cf97afcdd
feat: Run nightly olm bundle checks only in master branches
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-01-14 11:11:57 +01:00
Flavius Lacatusu 7f7cb20c4a
fix workflow naming
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-01-13 16:23:59 +01:00
Flavius Lacatusu c5d00a4d0a
feat: Add code coverage artifacts for che operator
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-01-13 16:12:30 +01:00
Anatolii Bazko 5ae85f9ac7
Revert golang version to 1.13 (#617)
* Revert golang to 1.13

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-11 13:14:17 +02:00
Anatolii Bazko aa52e2892b
Add liveness and readiness probes (#610)
* Add liveness and readiness probes

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-08 18:30:58 +02:00
Flavius Lacatusu 44eb4acaeb
Move stable tests to release branches
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-01-04 10:36:02 +01:00
Nick Boldt f1ce539200
add missing operator-sdk (#579)
Change-Id: I635dca7f32ad72a2db48ac92a616b6b9aab5c308
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-12-15 10:10:35 -05:00
Nick Boldt 3bc36fd90e
apparently we also need operator-courier here too so add that and base32 too (#578)
Change-Id: Ib3916def63517068a3624e024d280a104499596c
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-12-15 10:06:47 -05:00
Nick Boldt d579b41e28
add missing exports; tweak comments and remove hub thing since GH installs it automatically (#577)
Change-Id: I651060c9c66e3984b3228c5b62fb6dedc268e7f6
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-12-15 10:03:25 -05:00
Nick Boldt 47a86b888b
instead of just prepare-community-operators-update.sh, run --update-nightly-olm-files and --prepare-community-operators-update; also see if we can enable more than one way of triggering this action (on workflow dispatch and on push) (#576)
Change-Id: I82526f3cbea68d452398542c010b6b04894c4a85
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-12-15 09:49:10 -05:00
Nick Boldt cce874092f
add new generated CSV files in olm/ folder... (#573)
* add new generated CSV files in olm/ folder to commits/PRs

Change-Id: Ic4143db3f3af24513ff37ead7f4b245605b89558
Signed-off-by: nickboldt <nboldt@redhat.com>

* add option to force update of 7.y.x branch and replace 7.y.z tag

Change-Id: I103ef5b089b927f80a071e1ed2554e32ad9b6c5c
Signed-off-by: nickboldt <nboldt@redhat.com>

* pull before pushing on an existing branch; delete local tag too

Change-Id: Ide15d5a2c48542b92b28e3077d013b31db7570f9
Signed-off-by: nickboldt <nboldt@redhat.com>

* don't fail if PR already exists (just force push commits into it); don't pull before pushing as it leads to more complaints from git

Change-Id: I3c907577f08e0ec44e33f5b0f66b7c566b5de64b
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-12-14 07:53:41 -05:00
Nick Boldt 9eee2bfc6f
new GH action to generate community operator PRs (#572)
* new GH action to generate community PRs;
seems default ubuntu runner already has hub installed, so don't need to explicitly install it

Change-Id: I928ff2c9e3d3010926077841af43ecac40ce3f07
Signed-off-by: nickboldt <nboldt@redhat.com>

* switch trigger to be when master branch PR is merged

Change-Id: I5e36b092f5e702ad36bac783d41b717cd0de6b44
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-12-11 09:31:27 +02:00
Nick Boldt 571d5e7b70
https://github.com/eclipse/che/issues/18393 turns out this already works using the exising user/pwd config: (#566)
secrets.QUAY_ECLIPSE_CHE_OPERATOR_KUBERNETES_USERNAME and secrets.QUAY_ECLIPSE_CHE_OPERATOR_OPENSHIFT_USERNAME
clean up debugging steps (comment out in case needed again in future)
fix comment re: https://github.com/eclipse/che/issues/18393

Change-Id: I63440f5b897c2bfe2a94404a708bbf5baf4fe81e
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-12-04 10:51:07 -05:00
Anatolii Bazko 5bb46fa458
Refactoring test scripts (#557)
* Refactoring test scripts

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-12-04 17:20:49 +02:00
Mykhailo Kuznietsov 682b180898
Remove odd exit from release script (#546)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-11-20 16:13:10 +02:00
Oleksandr Andriienko b1d5488e30
Use operator sdk 0.17.2 (#545)
* Pin to precise defined operator-sdk 0.17.2

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-20 13:57:06 +02:00
Mykhailo Kuznietsov 54ae835bb4
Fix GH actions release workflow (#538) 2020-11-18 15:02:53 +02:00
Mykhailo Kuznietsov f5fe6380cb
Add release workflow (#526) 2020-11-13 12:20:03 +02:00
Oleksandr Andriienko b893a2785a
Revert add bundle commit github action. We can't use it for protected master branch. (#523)
* Revert add bundle commit github action. We can't use it for protected master branch.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Update nightly bundle.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Pin ubuntu version for push github action.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-07 00:43:09 +02:00
Oleksandr Andriienko 0d51ea2f0d
Add commit new nightly bundle github action. (#498)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-10-20 17:46:41 +03:00
Flavius Lacatusu edfb217293
Merge master into branch
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-06 08:41:06 +02:00
Flavius Lacatusu 414154033e
Merge branch 'master' into single_host 2020-10-06 08:40:13 +02:00
Flavius Lacatusu 7f603c72b2
Rename jobs correspondingly
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-05 17:10:48 +02:00
Flavius Lacatusu c03a18b85b
More fixes to s-host actions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-05 14:19:25 +02:00
Flavius Lacatusu c1a7ca823a
fixes
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-05 13:08:49 +02:00
Flavius Lacatusu 1f09d952bb
Change single host native deployment test
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-05 12:59:00 +02:00
Flavius Lacatusu b6fda13cdd
Change single host action
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-05 12:40:24 +02:00
Flavius Lacatusu 2b5e6b299a
Fixes
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-05 11:52:58 +02:00
Flavius Lacatusu 878876ae39
Add single host minikube tests
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-05 11:48:39 +02:00
Flavius Lacatusu c225dd7e08
Build nightly images of operator in github actions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-10-01 13:56:04 +02:00
Flavius Lacatusu b2404dd41e
Fix
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-25 16:27:53 +02:00
Flavius Lacatusu 6786fb1d55
Fix api limitation minishift
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-25 16:21:13 +02:00
Flavius Lacatusu b881421fd1
Try to fix docker api github token
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-24 08:58:25 +02:00
Flavius Lacatusu 5f68b455c2
Implement suggestions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-23 14:45:16 +02:00
Flavius Lacatusu 555fa6669d
Fixes
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-23 11:03:35 +02:00
Flavius Lacatusu 56884fa960
Add github_token secret
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-23 11:00:32 +02:00
Flavius Lacatusu ef701eb2c7
Build operator image in nightly tests
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-23 10:53:51 +02:00
Flavius Lacatusu 4b3e6805e1
Add artifacts with job results to actions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-22 14:14:26 +02:00
Flavius Lacatusu 7c5ed743da
Fix openshift tests and rename actions name
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-22 13:19:36 +02:00
Flavius Lacatusu b993129f5b
Migrate jobs from ci.centos to GH actions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-09-18 12:23:00 +02:00
Oleksandr Andriienko 6a3e701d42
feat: Remove old olm format nightly files (#435)
* Use new olm bundle in the release script.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Remove deprecated nightly scripts.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Clean up some scripts.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Remove old format nightly channel files

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix make-release.sh script to work with new nightly bundle.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix broken github check.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-09-14 10:18:57 +03:00
Florent BENOIT f7a2bed4d2
chore(secrets): fix credentials values (#439) 2020-09-11 11:35:43 +03:00
Oleksandr Andriienko 84ac62cbd3
Use new opm bundle format. (#423)
* Use new opm bundle format.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix csv file. Check works :)

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add old files to pass check...

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Improve code.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Code clean up. Remove separated code for crc in the TestCatalogSource.sh. Test works for Crc in the same way like Openshift ci. Fix build opm bundle script.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Make bigger timeout for minishift ci test.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Remove not used script testCSV.sh. Update contribution README.md. Worked on fix minishift CI test.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use eclipse image registry to push images.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix and simplify testUpdate.sh for openshift nightly channel.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Improve docs. Provide buildFirstBundle.sh script for dev purpose.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add more info to the docs.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Improve docs about private registry

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use only nightly in the nightly bundles.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix README.md typos.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Handle requested code review changes.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Pr code check works notified me one time :) . So update nightly bundle and fix some docs.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix testCatalogSource.sh

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Remove accidentally commited generated file.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Update gitignore.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-09-10 10:33:24 +03:00
Michal Vala f03ed110c4
add github ci (#134)
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-11-29 12:28:24 +01:00