Commit Graph

9726 Commits (bd12e7a7fe881e4a4e7febe4a8351d9f82fd1489)

Author SHA1 Message Date
che-bot bd12e7a7fe
Merge cb8139f2b5 into aa213c3003 2024-05-28 12:41:50 +02:00
Igor Vinokur aa213c3003
Update ch.qos.logback dependency version to latest (#687)
In order to fix the CVE-2023-6378 vulnerability, update ch.qos.logback maven dependency version to 1.5.6
2024-05-27 09:29:31 +03:00
Igor Vinokur 88cbaebd1a
Support raw devfile urls without yaml extension (#683)
On handling raw devfile urls, request content by the url, and check if the content is a devfile. If yes treat the url as a raw devfile url.

---------

Signed-off-by: ivinokur <ivinokur@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2024-05-15 10:13:37 +03:00
che-bot e072c7642b
chore: Update from ubi8-minimal:8.9-1108 to ubi8-minimal:8.9-1161 (#681)
* chore: Update from ubi8-minimal:8.9-1108 to ubi8-minimal:8.9-1161

Signed-off-by: Nick Boldt <nboldt@redhat.com>

* chore: Update from ubi8-minimal:8.9-1108 to ubi8-minimal:8.9-1161

Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2024-04-29 08:49:33 +03:00
che-bot b5f110c659
chore: Bump to 7.86.0-SNAPSHOT in main (#680)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-04-26 08:16:38 +03:00
Nick Boldt cb8139f2b5 chore: Update from ubi8-minimal:8.9-1108 to ubi8-minimal:8.9-1161
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2024-04-20 00:04:08 +00:00
Nick Boldt d0cc36dbfe chore: Update from ubi8-minimal:8.9-1108 to ubi8-minimal:8.9-1161
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2024-04-20 00:04:02 +00:00
Shmaraiev Oleksandr 95b1c390b2
Add info messages to git-flow tests (#676)
* Add info messages to tests
* Add 'waitFinishDeploymentCheServer' to avoid 'error: lost connection to pod'
2024-04-19 20:33:08 +03:00
Dmytro Nochevnov 858a12b3ff
Download chectl install script from che-incubator.github.io in tests (#677) 2024-04-17 14:22:19 +02:00
che-bot 7c07c3c135
chore: Bump to 7.85.0-SNAPSHOT in main (#675)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-04-09 15:52:32 +03:00
Igor Vinokur 2cfce0568a
Rework the Bitbucket Server oauth token validation (#673)
- Change the validation API request to get current user request. The /rest/api/1.0/application-properties request is irrelevant as it does not require a token.
- Pass oath token to the getPersonalAccessToken() API request in order to avoid circular getToken() request.
2024-04-08 09:30:02 +03:00
ivinokur c51919d1e3 fixup! Fix gitlab oauth token validation request 2024-04-04 11:10:45 +02:00
ivinokur 1fc4e07988 Fix gitlab oauth token validation request 2024-04-04 11:10:45 +02:00
sdawley 799fcb1d0e Updating tomcat version to 10.1.14 for CRW-4941
Signed-off-by: sdawley <sdawley@redhat.com>
2024-03-27 15:43:15 +01:00
Igor Vinokur 2e27c47f2f
Add provider name annotation to PAT secret (#670)
Add che.eclipse.org/scm-provider-name annotation to Personal Access Token secret.
2024-03-25 14:57:27 +02:00
ivinokur b8e0397b0a Update io.fabric8.kubernetes-client to 6.10.0 2024-03-22 18:13:04 +01:00
che-bot 661d852250
chore: Bump to 7.84.0-SNAPSHOT in main (#669)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-03-19 08:51:13 +02:00
Igor Vinokur ba6f30f963
Add Gitlab invalidate token implementation (#667) 2024-03-16 12:56:55 +02:00
Igor Vinokur dbe167276a
Encode redirect URL if needed on oauth1 callback request (#663)
The latest BItBucket Server decodes the callback url so that causes IllegalArgumentException error. Catch the error and decode the redirect url.
2024-03-16 06:26:52 +02:00
Anatolii Bazko 28002fb835
fix: Support BitBucket endpoint with path (#665)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2024-03-12 10:22:04 +01:00
Igor Vinokur 6cdf6f655a
Do not pass oauth2 as a username to Git credentials for Bitbucket (#662)
Set bitbucket-***** as a token name annotation for bitbucket token secret. This is needed to pass username instead of oauth2 for bitbucket credentials
2024-03-07 11:08:33 +02:00
Anatolii Bazko 7dc7a61511
chore: Remote workspace-stop roles (#659)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2024-03-05 12:38:09 +01:00
che-bot 60262e3a72
chore: Bump to 7.83.0-SNAPSHOT in main (#658) 2024-02-28 09:18:10 +02:00
Ilya Buziuk 5d79a849ef
Update CODEOWNERS (#657) 2024-02-27 17:27:09 +02:00
Igor Vinokur 3fef2347f0
Remove the DB related modules (#630) 2024-02-27 15:27:58 +02:00
Igor Vinokur aebdc3a04d
Add debug logs to KubernetesPersonalAccessTokenManager class (#656) 2024-02-21 20:24:27 +02:00
Igor Vinokur a691074548
Add debug logs to KubernetesPersonalAccessTokenManager class (#655) 2024-02-20 18:07:04 +02:00
Igor Vinokur f9f4c8e5d5
Encode redirect URL if needed on oauth callback request (#654)
Some SCM providers like BItBucket Server decode the callback url so that cause IllegalArgumentException error. Catch the error and decode the redirect url.
2024-02-19 19:07:07 +02:00
Igor Vinokur 4f8a84cb1d
Fetch oauth tokens from kubernetes secrets (#652)
Move AuthorisationRequestManager interface towsmaster/che-core-api-factory module in order to avoid circular dependency.
Rework the get oauth token method to return an oauth token from kubernetes secrets if token is not found in the system memory of the che-server pod. If provider name value is not configured in the kubernetes secret oauth token, get the token by mapping it by provider url from the secret and oauth provider name from the aouth config secret.
2024-02-08 10:22:51 +02:00
ivinokur 6f40c9856f Add isNullOrEmpty check to the BitbucketServerURLParser 2024-02-06 14:18:05 +01:00
che-bot 62f301c42d
chore: Bump to 7.82.0-SNAPSHOT in main (#651)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-02-02 19:53:07 +02:00
Shmaraiev Oleksandr 9422bf86ac
Add test 'che-smoke-test' as PR checks
* Add 'smoke-test' to OpenShift CI
* Add 'pod-che-smoke-test.yaml' component
* Add 'startSmokeTest' to 'common.sh'
* Update 'pod-oauth-factory-test.yaml' component
2024-01-30 12:06:23 +02:00
Nick Boldt be4383abac chore: remove Nick and Mario as code owners; add Sam
Change-Id: Ibb4d2cab011a42279ae93da528d7aa566bf4860d
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2024-01-23 12:04:37 +01:00
Dmytro Nochevnov fa7d6442f5
Fix syntax error in Dockerfile of OpenShift CI jobs (#646)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2024-01-19 13:25:47 +02:00
Dmytro Nochevnov e1ae06ec50
Get rid of failing curl in OpenShift CI jobs (#645)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2024-01-19 12:15:49 +02:00
Dmytro Nochevnov 901a30ea8c
Move installation of oc client from Dockerfile to common.sh (#644)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2024-01-18 16:41:12 +02:00
Dmytro Nochevnov 76913d93c2
Fix openshift-client-linux.tar.gz version in OpenShift CI job Dockerfile (#643)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2024-01-17 15:40:00 +02:00
Dmytro Nochevnov dc7edf634e
Get more OpenShift CI image build command logs 2024-01-17 13:17:42 +02:00
Igor Vinokur 12a3a8a8e7
Remove devfile validation schema mechanism (#640)
Remove devfile validation schema mechanism and related stuff.
2024-01-17 09:21:44 +02:00
Nick Boldt 3fb1df91f7 chore: Update from ubi8-minimal:8.9-1029 to ubi8-minimal:8.9-1108
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2024-01-15 14:40:57 +01:00
Nick Boldt 0e3b7c107c chore: Update from ubi8-minimal:8.9-1029 to ubi8-minimal:8.9-1108
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2024-01-15 14:40:57 +01:00
Mykhailo Kuznietsov 978f2cdd21 chore: Bump to 7.81.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-01-11 15:35:09 +01:00
Igor Vinokur f547c681a8
Fix license headers (#638)
Fix maven build by updating corresponding license headers
2024-01-10 11:36:56 +02:00
Igor Vinokur 06e14c854d
Pass status code to Exception on Unauthorised to GitHub Error (#618)
Pass status code to Exception on Unauthorised to GitHub Error in order to be able to recognise GitHub Server url if oAuth is not configured and no PAT is present.
2024-01-10 10:46:02 +02:00
Igor Vinokur d077bdd93d
Add new devfile versions support (#637)
Add missing devfile versions to the list of supported devfile versions
Add corresponding jsons.
2024-01-09 18:16:34 +02:00
Shmaraiev Oleksandr 96ac9beb7f
Delete 'yq' from Dockerfile (#636) 2024-01-09 10:14:54 +02:00
Nick Boldt 4e067e94d7
Update README.md - add link to status badge (#575) 2023-12-28 22:34:36 +02:00
che-bot e3ccf70b64
chore: Bump to 7.80.0-SNAPSHOT in main (#628)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-12-28 02:23:26 +02:00
Shmaraiev Oleksandr 6b584db971
Create test to check 'git-oauth-setup-flow' as PR checks (#633)
* Add new components to implement 'git-oauth-setup-flow' test
* Update existing files to implement 'git-oauth-setup-flow' test
2023-12-27 17:44:40 +02:00
Mykhailo Kuznietsov cc4dac0922
fix: adapt to latest changes in build.sh that uses podman now (#629)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-12-21 15:38:22 +02:00