Commit Graph

72 Commits (fa39d6f79e501ecfdbb8e26be16a2225a99abd9c)

Author SHA1 Message Date
Anatolii Bazko fa39d6f79e
Code clean up 3 (#753)
* Code clean up part 3

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-07 14:55:14 +03:00
Anatolii Bazko ea73ff97ce
Add nightly olm bundle version check (#750)
* Add nightly olm bundle version check

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-02 14:09:18 +03:00
Nick Boldt 2727aa5b5d
18879 refactor force_update to use same forceRecreateTags logic in other repos, and block release if tag exists w/o forceRecreateTags = true (#748)
Change-Id: I6febb719f6838826cf6fb0cc05bb1fc4dc0ab990
Signed-off-by: nickboldt <nboldt@redhat.com>
2021-03-31 08:57:46 +03:00
Nick Boldt 3b00a575f2
use 🚫 or ... (#747)
* use 🚫 or  when announcing pass/fail in MM

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

* #19334 use mattermost/action-mattermost-notify@1.0.2 instead of master

Signed-off-by: nickboldt <nboldt@redhat.com>
2021-03-30 09:41:46 +03:00
Flavius Lacatusu e055c4e426
Install olm 0.17 version instead off minikube addon
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-03-29 09:24:44 +02:00
Flavius Lacatusu 1b0963f43e
Merge pull request #740 from flacatus/fix
Minor fix. Che operator update tests still curl to `eclipse` org
2021-03-26 14:32:50 +01:00
Flavius Lacatusu c4e7891ecf
fix
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-03-26 13:57:14 +01:00
Mykhailo Kuznietsov 8724853a84
Release workflows refactoring (#733)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-03-26 11:49:27 +02:00
Anatolii Bazko 4091005785
Replace `eclipse` organization occurrence on `eclipse-che` (#727)
* Replace eclipse organization occurrence on eclipse-che

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-03-22 12:32:48 +02:00
Mykhailo Kuznietsov 40e3dd466c
Add yq to post-operator release jobs (#691)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-03-11 14:01:02 +02:00
Nick Boldt 961cb422b6
add MM message (#712)
Change-Id: I0126ccf4cdcae72fad232f1222535d066b7d99b5
Signed-off-by: nickboldt <nboldt@redhat.com>
2021-03-11 12:16:33 +02:00
Oleksandr Andriienko 92c76f3223
Add docs how to use 'stable' OLM channel, remove migration manifests job. (#711)
* Add docs how to use 'stable' OLM channel, remove migration manifests job.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-03-10 16:20:17 +02:00
Oleksandr Andriienko 36edfbe887
Olm bundles for stable channel (#690)
* Create and use stable channel for OLM bundles.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-03-09 16:34:04 +02:00
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