Commit Graph

9644 Commits (5d645e1d3ccb6aac3ae04fa81d88e1c7660f80b0)

Author SHA1 Message Date
Mykhailo Kuznietsov b68fa97aa2
chore: update CODEOWNERS file (#513) 2023-05-31 11:24:24 +03:00
Anatolii Bazko dd873a597b
chore: Use CheServer client factory to handle Kubernetes operation in a user namespace (#516)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-25 17:20:59 +03:00
che-bot ae4f6a33a5
chore: Update from ubi8-minimal:8.7-1107 to ubi8-minimal:8.8-860 (#515)
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-05-25 10:51:18 -03:00
Shmaraiev Oleksandr 3b74041d5d
Create tests to check 'Git zero-config' flow as PR checks (#494)
* Create 'Dockerfile' file to configure ci-operator
* Update 'build-pr-check.yml' github action
* Add tests to check git  flow without PAT setup
* Add tests to check git flow with PAT setup
---------
Co-authored-by: artaleks9 <artaleks9@users.noreply.github.com>
Co-authored-by: Igor Vinokur <ivinokur@redhat.com>
2023-05-22 11:22:03 +03:00
Mykhailo Kuznietsov 559de5a7f1 chore: Bump to 7.68.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-05-18 10:44:15 +02:00
Igor Vinokur cefc638dad
Pass user slug instead of user id when creating a PAT for bitbucket-server (#512)
Pass user neme instead of user id when creating a PAT secret for bitbucket-server in order to fix the generation of thegit-credentials-secret secret which requires the user name: https://<user name>:<token>@<host name>.
2023-05-16 13:53:10 +03:00
Mykhailo Kuznietsov 1fb16e5b63 chore: Bump to 7.67.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-05-10 10:27:11 +02:00
David Kwon eac9cef22b feat: allow che-operator to detect user-profile secret
Signed-off-by: David Kwon <dakwon@redhat.com>
2023-05-09 13:04:42 -04:00
Igor Vinokur 725506d26f
Fix provider name constant in the BitbucketServerUserDataFetcher calss (#511)
Change the OAUTH_PROVIDER_NAME constant from bitbucket to bitbucket-server in order to fix the git user data initialisation flow, when a PAT is initialised in a user namespace.
2023-05-09 16:14:38 +03:00
Mykhailo Kuznietsov 75979a6d6a
chore: che-21993 replace deprecated set-output in actions (#502) 2023-04-27 15:06:41 +03:00
Mykhailo Kuznietsov b333b7bdb9 chore: Bump to 7.66.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-04-21 13:06:43 +02:00
Igor Vinokur aa41ce0c74
Update the `Readme.md` with build and debug instructions (#503)
Update the Readme.md with build and debug instructions.
2023-04-20 10:07:54 +03:00
Mykhailo Kuznietsov d0402f0b8e chore: Bump to 7.65.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-04-19 11:11:56 +02:00
Igor Vinokur 8d0d9ac5d8
Withdraw scm-userid value in PAT secrets and use scm-username instead (#496)
Withdraw the scm-userid annotation from the PAT secret structure.
Rework the PAT validation to check scm-username instead scm-userid.
2023-04-19 09:37:29 +03:00
David Kwon d0549d4fc5 feat: add OpenShift web console dashboard definition
Signed-off-by: David Kwon <dakwon@redhat.com>
2023-04-17 15:37:16 +02:00
Shmaraiev Oleksandr 251a6e1095
Create the 'Dockerfile' to configure ci-operator (#495) 2023-04-13 10:10:00 +03:00
che-bot 16dff88b2e
chore: Update from ubi8-minimal:8.7-1085.1679482090 to ubi8-minimal:8.7-1107 (#492)
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-04-11 10:43:46 -03:00
che-bot c9e8f5eae9
chore: Update from ubi8-minimal:8.7-1085 to ubi8-minimal:8.7-1085.1679482090 (#475)
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-04-04 16:20:09 -07:00
Anatolii Bazko 8dda567e23
fix: Support Azure DevOps repository urls without project (#490)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-04 16:31:00 +03:00
Anatolii Bazko b24e3c7d95
feat: support retrieving Git user data when PAT is configured (#489)
* feat: support retrieving Git user data when PAT is configured

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-04 10:14:40 +03:00
Ilya Buziuk 188c722dae chore: Adding @Deprecated annotation to the unused services that will be removed in the future versions
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-04-03 15:40:13 +02:00
Igor Vinokur f5ea114c87
Revert "chore(deps): bump jgroups from 4.1.9.Final to 5.2.13.Final (#427)" (#473)
This reverts commit 4894dfd95b.
2023-03-30 12:35:13 +03:00
dependabot[bot] 4894dfd95b
chore(deps): bump jgroups from 4.1.9.Final to 5.2.13.Final (#427)
* chore(deps): bump jgroups from 4.1.9.Final to 5.2.12.Final

Bumps [jgroups](https://github.com/belaban/JGroups) from 4.1.9.Final to 5.2.12.Final.
- [Release notes](https://github.com/belaban/JGroups/releases)
- [Changelog](https://github.com/belaban/JGroups/blob/master/doc/history.txt)
- [Commits](https://github.com/belaban/JGroups/compare/JGroups-4.1.9.Final...jgroups-5.2.12.Final)

---
updated-dependencies:
- dependency-name: org.jgroups:jgroups
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update pom.xml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Igor Vinokur <ivinokur@redhat.com>
2023-03-30 10:28:53 +03:00
Igor Vinokur 45e9d18d22 Fix vuOAlnerable dependencies
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2023-03-29 19:04:50 +02:00
Mykhailo Kuznietsov 63c72d2628 chore: Bump to 7.64.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-03-27 15:40:05 +02:00
Valeriy Svydenko ab04d83427
fix: trim blank chars in PAT (#469)
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-03-20 21:16:38 +02:00
Anatolii Bazko 76445656a9
feat: GitLab support nested repositories (#467)
* feat: GitLab support nested repositories

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

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-20 08:32:05 +02:00
Igor Vinokur 5a04496ded
Return empty credentials from bitbucket URL with username (#466)
Override the getCredentials() method in the BitbucketUrl class to intercept bitbucket URL with username e.g. https://user@bitbucket.org/eclipse/che. Return empty credentials for such urls.
2023-03-17 13:24:14 +02:00
Igor Vinokur be757ec5a6
Check the devfile content before creating a factory (#463)
When Che creates a workspace from a repository URL, first we iterate and find a related git provider handler, then we gat a devfile location according to the handler rules. If we pass an unsupported git repository url we will have a default handler which will try find a devfile by the same url as the repository. In that case we will have an html content as a devfile.

We need to check the content before parsing the devfile, and throw a specific error in case if the content is not yaml.
2023-03-14 12:03:39 +02:00
Valeriy Svydenko 54827213f1
fix: extend pattern for BitBacket URL (#461)
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-03-10 10:14:37 +02:00
Anatolii Bazko d9ad2fbd7e Remove scopes from AzureDevOpsApiClient
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-09 18:09:31 +01:00
Anatolii Bazko ea1ceb09ac fix: update the way how Azure OAuth2 token is validated
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-09 18:09:31 +01:00
Anatolii Bazko 04bf956751
feat: Support git+ssh urls (#458)
* feat: Support git+ssh urls

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-09 14:24:49 +02:00
che-bot 709d872d24
chore: Bump to 7.63.0-SNAPSHOT in main (#459)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-03-08 18:05:13 -04:00
che-bot 8d6b8fba98
chore: Update from ubi8-minimal:8.7-1049.1675784874 to ubi8-minimal:8.7-1085 (#453)
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-03-02 14:15:53 -08:00
Anatolii Bazko 5bdea8981e
Merge pull request #456 from eclipse-che/CRW-3927-fix
fix: typo in AzureDevOpsPersonalAccessTokenFetcher
2023-03-02 11:45:15 +02:00
Anatolii Bazko f36a6943fe fixup
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-02 11:08:43 +02:00
Anatolii Bazko f22e52e519 fixup
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-02 11:03:58 +02:00
Anatolii Bazko bd4c1812fb fixup
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-02 10:53:41 +02:00
Anatolii Bazko b0514ce37c fix: typo in AzureDevOpsPersonalAccessTokenFetcher
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-02 10:31:05 +02:00
Anatolii Bazko f102475484
Merge pull request #452 from eclipse-che/CRW-3927
feat: Azure DevOps Services OAuth2 support
2023-02-28 17:57:37 +02:00
Anatolii Bazko 49773464e3 Fix remarks
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-27 16:32:29 +02:00
Anatolii Bazko a9507244a3 fixes
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-27 10:31:38 +02:00
Anatolii Bazko 426718a495 fix
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-23 15:20:20 +02:00
Anatolii Bazko 6e7e96873f fix typo
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-23 15:20:20 +02:00
Anatolii Bazko 7a84f92aee fix typo
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-23 15:20:20 +02:00
Anatolii Bazko 19d13edc7f feat: Azure DevOps Service OAuth2
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-23 15:20:20 +02:00
Igor Vinokur b9ededf339
Support Basic authentication for devfile factory URL (#451)
Add a parsing rule to detect credentials in factory URLs if it is in a format https://<username>:<pasword>@hostname.
Extract the credentials from factory URLs and pass them to the devfile content request.
2023-02-23 15:05:55 +02:00
Ilya Buziuk dcb0884fe0 refactor: switching to h2 datasource
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-02-22 17:18:23 +01:00
Ilya Buziuk 47184c4953 refactor: Deprecating api/user endpoint. Adding exta GET api/user/id endpoint for easily obtaining user ID
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-02-20 14:34:16 +01:00