Igor Vinokur
63d8a343e4
Use `login` instead of `name` in the GitHub scopes/username request ( #537 )
...
Change user.getName() to user.getLogin() in the GitHub getTokenScopes() API request, in order to fix a bug where NullPointer exception is appeared when a GitHub user request returns a user with null in the name field.
2023-08-01 21:42:49 +03:00
Mykhailo Kuznietsov
03cfb8e50e
chore: Set 7.72.0 release image tags
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-07-27 15:03:39 +00:00
Mykhailo Kuznietsov
54d8948716
chore: Bump to 7.72.1-SNAPSHOT in 7.72.x
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-07-27 15:03:37 +00:00
Igor Vinokur
df3fc9965a
Omit scm-username annotation from the PAT secret ( #533 )
...
Ignore the che.eclipse.org/scm-username annotation when fetching token from a PAT secret. Instead fetch the username from the isValid(<token>) request.
2023-07-25 18:52:54 +03:00
Igor Vinokur
00675893ff
Update openjdk version from 11 to 17 ( #535 )
...
Update openjdk version from 11 to 17 in order to fix the che-server sturtup error
2023-07-25 11:04:22 +03:00
Mykhailo Kuznietsov
2cd1bb2b46
chore: Bump to 7.72.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-07-24 12:10:57 +02:00
Igor Vinokur
c5963e0de7
Pass string to ObjectMapper instead of InputStream ( #531 )
...
Pass string to ObjectMapper instead of InputStream in order to avoid No content to map due to end-of-input error caused by jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.
An error was discovered in our customers environment
2023-07-12 10:33:56 +03:00
Igor Vinokur
aee2079322
Use hardcoded string as username for Azure git credentials ( #529 )
...
Since Azure git provider do not support username for its user object, use username string as username in the git credentials file if the PAT is related to Azure Devops: https://username :<token>@dev.azure.com
2023-07-06 09:37:33 +03:00
che-bot
21323d1b12
chore: Update from ubi8-minimal:8.8-860 to ubi8-minimal:8.8-1014 ( #530 )
...
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-07-04 11:27:14 -03:00
Mykhailo Kuznietsov
454bc7304f
chore: Bump to 7.71.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-30 09:45:41 +02:00
Igor Vinokur
287b903010
Provision git credentials secrets on workspace start ( #527 )
...
On workspace start iterate user PAT secrets. If a PAT secret is not included to the devworkspace-merged-git-credentials secret, create a git credentials secret based on the PAT secret.
Remove the redundant logic of creation an empty workspace-credentials-secret secret.
2023-06-26 17:18:32 +03:00
Igor Vinokur
ab83bee400
Omit extracting subfolder from a workspace URL ( #523 )
...
sparce-checkoutis no longer available from devfile 2.1, so omit the subfolder mechanism in order to support branch names with a / sign.
2023-06-15 13:41:43 +03:00
Ilya Buziuk
fbea05f0cc
chore: devfile update
2023-06-15 10:19:20 +02:00
Mykhailo Kuznietsov
c23792c7b1
chore: Bump to 7.70.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-15 10:18:24 +02:00
Igor Vinokur
afedaeed90
Add .vscode/settings.json with java settings ( #524 )
2023-06-14 10:14:24 +03:00
Anatolii Bazko
7c598014a2
fix: Cloning projects from Azure DevOps ( #522 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-06-08 12:44:06 +03:00
Igor Vinokur
98c2cc79eb
Update devfile to version 2, add extensions.json ( #520 )
2023-06-07 13:11:46 +03:00
Igor Vinokur
32c67ed032
Return the default resolver if the factory URL refers directly to a devfile ( #519 )
...
Check if the factory URL is a raw devfile URL. If so, use the devfile URL resolver, which resolves factories from a direct URL to a devfile content.
2023-06-06 10:38:03 +03:00
Mykhailo Kuznietsov
fdb2dbf163
chore: Bump to 7.69.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-02 16:13:59 +02:00
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