Commit Graph

9708 Commits (892623679d31c0cb2106cc4e48a758d1fa176b46)

Author SHA1 Message Date
Mykhailo Kuznietsov 892623679d chore: Bump to 7.84.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-03-15 17:21:41 +00: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
Igor Vinokur 151ef89772
Return oauth1 providers on registered oauth providers list request (#624)
Add the list of oauth1 providers to the list of registered oauth2 providers on get registered oauth providers API request.
2023-12-21 14:03:42 +02:00
Nick Boldt bda80f1d7b
chore(build): remove commented code that we didn't need for 7.77 release, as it's evidently safe to delete (#627)
Change-Id: I0d6db01942b35a1c5f31ad22718743dec8a90f23

Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
Co-authored-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
2023-12-20 09:29:10 -04:00
Igor Vinokur 3ecfbcd8b1
Modify the `build.sh` script to work with podman (#559)
In order to be able to build images directly in a wotkspace container, add BUILDER variable to be able to execute the build.sh script not only with docker but with podman and buildah.
2023-12-11 16:11:05 +02:00
Anatolii Bazko f7a49f9fec
fix: work with Bitbucket users containing special characters in theirs names (#622)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-12-07 17:35:43 +01:00
Igor Vinokur ebca10356e
Throw the API exception with authorization URL on SCMunauthorised error (#621)
Fixes a bug with broken oauth flow caused by https://github.com/eclipse-che/che-server/pull/615
2023-12-04 20:57:25 +02:00
Anatolii Bazko 7fe2a4dd3f
feat: Advanced authorization (#619)
* feat: Advanced authorization

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

* Renames fields

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

* Address remarks

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

* Address remarks

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

* Address remarks

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

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-12-04 15:55:35 +01:00
Mykhailo Kuznietsov 7acf4cc2d9 chore: Bump to 7.79.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-30 12:24:39 +01:00
Igor Vinokur 5baa3a7ccf
Align the unreachable devfile exception message (#615)
Add a common exception message and use it for cases when:

The devfile location is unavailable.
The devfile content is is not valid: e.g the response content is an html content of an scm authorisation page.
2023-11-28 18:09:57 +02:00
Igor Vinokur f34e80450b
Expand the raw devfile url resolver pattern with token query parameter (#616)
Rework the accept() check in the raw devfile url resolver to respect token query parameters e.g. https://raw.githubusercontent.com/vinokurig/private/main/devfile.yaml?token=<token>
2023-11-28 18:08:57 +02:00
Igor Vinokur 974c1b1890
Add support for PATs in GitHub Enterprise server (#603)
Add necessary checks to the GithubURLParser and AbstractGithubURLParser classes in order to support PAT for GitHub Enterprise server without configuring oAuth.
2023-11-21 11:11:06 +02:00
che-bot 6ca7127939
chore: Update from ubi8-minimal:8.7-1085 to ubi8-minimal:8.9-1029 (#612)
* chore: Update from ubi8-minimal:8.7-1085 to ubi8-minimal:8.9-1029

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

* chore: Update from ubi8-minimal:8.8-1072 to ubi8-minimal:8.9-1029

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

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-11-19 23:45:09 -04:00
Anatolii Bazko b9317fd1af
fix: Ignore PAT with emtpy SCM url (#610)
* fix: Ignore PAT with emtpy SCM url

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


---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-17 16:37:19 +01:00
Anatolii Bazko b5e1e2a4a2
chore: Validate OAuth token secrets on namespace provisioning (#608)
* chore: Validate OAuth token secrets on namespace provisioning

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

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-15 15:08:48 +01:00
che-bot 92b37d2b6e
chore: Bump to 7.78.0-SNAPSHOT in main (#605)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-13 13:38:23 +02:00
Samantha Dawley 7192bf1302
Merge pull request #606 from eclipse-che/SDawley-patch-2
Update make-release.sh
2023-11-09 18:32:26 -05:00
Samantha Dawley c68b96d762
Update make-release.sh
I think we're missing a folder. Hopefully fix build.
2023-11-09 15:30:28 -05:00
Mykhailo Kuznietsov 77011bb3c8
fix: che-22646 use gh instead of hub (#604)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-09 14:43:43 +02:00
Anatolii Bazko 72f191bcda
feat: Allow to configure 2 github providers simultaneously (#598)
* feat: Support enabling Github enterprise and SaaS simultaneously on Dev Spaces

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-07 12:57:48 +01:00