Commit Graph

9644 Commits (5d645e1d3ccb6aac3ae04fa81d88e1c7660f80b0)

Author SHA1 Message Date
Nick Boldt fbf318c0d6
chore: Bump to 7.62.0-SNAPSHOT in main (#447)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-02-16 13:28:52 -04:00
Nick Boldt 6d9f521cee
chore: always pull before push, and use rebase=true to resolve commits (#445)
Change-Id: I255d174a1067375921f567a21e2b933761ff5433

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-15 14:43:46 -04:00
Nick Boldt 3201e3a183
chore: remove ref to .ci/set_tag_version_images.sh script since it was deleted two weeks ago (#443)
Change-Id: Ie770b98d6ebd64deacb3e376f4fee0ec675135a0

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-15 12:07:18 -04:00
Igor Vinokur cb3565dbf8
Support Bitbucket-server oAuth2 factory (#440)
Apply Bitbucket Server oAuth-2 configuration for the factory flow.
2023-02-15 16:43:27 +02:00
che-bot 7bad48cfed
chore: Update from ubi8-minimal:8.7-1049 to ubi8-minimal:8.7-1049.1675784874 (#437)
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-02-09 12:54:18 -04:00
Ilya Buziuk 09e68d34a4 refactor: Removing dependency on UserManager from FactoryService
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-02-09 15:04:38 +01:00
Nick Boldt 7efb085cb7 further simplifications
Change-Id: Ifcd87155e07b88fbacf764d961f445063a770c54
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-07 14:16:46 +01:00
Nick Boldt 752e986a84 Update .github/CODEOWNERS 2023-02-07 14:16:46 +01:00
Nick Boldt 665b063bb7 Update .github/CODEOWNERS 2023-02-07 14:16:46 +01:00
Nick Boldt 3deb00d28a Fionn Kelleher (@osslate) is the replacement for Fabrice, but he doesn't seem to have rights to this repo, so comment this out for now
Change-Id: I67e1758196349544e34fc06f361020f6ea77451d
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-07 14:16:46 +01:00
Nick Boldt 98052dd94c chore: simplify the CODEOWNERS for che-server; remove people who've left; add replacements; remove global owners from subsection (assuming they already have full rights to the repo)
Change-Id: I524aa893c67eacca46cbac71aee38b3098981965
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-07 14:16:46 +01:00
Mykhailo Kuznietsov 3dd20f690a
chore: fix: don't fail release if commit/push is a no-op (for 7.yy.z releases) (#433)
* fix: fix set_tag_version_images.sh for bugfix releases

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* fix: fix set_tag_version_images.sh for bugfix releases

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* fixup! fix: fix set_tag_version_images.sh for bugfix releases

---------

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-02-02 12:54:56 -04:00
Ilya Buziuk 3b39854685 fix: Simplification of the 'canCreateNamespace' logic
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-02-02 09:42:36 +01:00
Igor Vinokur 7323f4776f
Apply Bitbucket server url validation by testing an API request (#428)
Support factory from public Bitbucket-server repository without any oAuth configuration in the Che side. Add a new check that detects a Bitbucket-server url by testing it by a Bitbucket-server Api request.
2023-01-26 15:25:09 +02:00
Mykhailo Kuznietsov 9a003e2351 chore: Bump to 7.61.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-01-26 11:30:33 +01:00
Igor Vinokur 63517be522
Add "read:user" to the list of github token scopes (#422)
In order to be able to use the generated github token from the workspace pod in the github CLI tool, add the necessary token scope to the list of default scopes.
2023-01-21 13:01:27 +02:00
Igor Vinokur 756342b0c0
Apply Gitlab server url validation by testing an API request (#421)
Support factory from public Gitlab-server repository without any oAuth configuration in the Che side. Add a new check that detects a Gitlab server url by testing it by a Gitlab Api request.
2023-01-19 14:07:50 +02:00
Nick Boldt 5a601bb840
chore: CRW-3811 update deps (for... (#419)
* chore: CRW-3811 update deps (for CVE-2021-0341 ?)

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

* unresolveable version, downgrade to previous

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

* more versions that can't be resolved from maven central

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

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-01-17 12:38:14 -04:00
che-bot 457aa84892
chore: Update from ubi8-minimal:8.7-1031 to ubi8-minimal:8.7-1049 (#416)
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-01-16 11:27:43 -04:00
Ilya Buziuk db249bf877 fixup! adressing review comments
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-01-12 17:28:48 +01:00
Ilya Buziuk a59cc49a7f feat: Removing dependency on the usr, account, profile db tables
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-01-12 17:28:48 +01:00
Nick Boldt 0337316203
chore: CRW-3802 CRW-3803 update to com.fasterxml.jackson 2.14.1 to fix CVEs (#415)
* chore: CRW-3802 CRW-3803 udpate to com.fasterxml.jackson 2.14.1 to fix CVEs

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

* add missing version for junit:junit:jar ==> 4.12

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

* use eq(DevfileImpl.class); update copyright date; thanks to @vinokurig for the fix!

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

* fix junit dependency issue

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

* ridiculous pom sorting rules

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

* remove junit version

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

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-01-11 15:04:36 -04:00
Mykhailo Kuznietsov 13a84d2943 chore: Bump to 7.60.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-01-09 14:10:06 +01:00
Nick Boldt d112b579f4
chore: #21763 - bump to py 3.9, temurin java... (#413)
* chore: #21763 - bump to py 3.9, temurin java 11 latest

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

* Update .github/workflows/release.yml

* update to latest temurin java 11

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

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-01-05 09:10:07 -04:00
Nick Boldt a97e6eec90
chore: update license headers to 2023 because we still use that annoying license header checker for some reason (#412)
To update next year:

  find . -name "*" -exec sed -i -r -e "s@-2023 Red Hat@-2024 Red Hat@g" {} \;

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

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-01-04 10:33:06 -04:00
che-bot 395a22ec32
chore: Update from ubi8-minimal:8.7-923.1669829893 to ubi8-minimal:8.7-1031 (#409)
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-01-04 08:04:43 -04:00
Igor Vinokur ef626cd6ee
Fix Delete oauth token API method (#408)
Rework the invalidate token oauth API method to send revoke token request to the git provider. After this request Che authorisation is unsynchronised so user is asked to re apply the authentication on new factory create step.
2023-01-04 10:06:25 +02:00
Piotr Karatkevich dd0e1820c6 feat(tomcat): Increase the maximum size of the request and response HTTP header to 32kb
Tomcat allows to configure the maximum size of the request and response HTTP header. If not specified, this attribute is set to 8192 (8 KB).
In order to avoid request blocking by this limitation, tomcat configuration has been adjusted to set 32768 (32 KB).
2022-12-22 15:53:22 +01:00
Igor Vinokur ab966cf9fe
Retry factory authentication when user rejects git service oauth (#405)
Currently when user rejects the oauth page for GitHub factory, Che tries to continue the factory flow without authentication (possible only for public repo). Apply the logic for the other git authentication providers.
2022-12-21 10:43:36 +02:00
Samantha Dawley 7d6f5f5af5
chore: Update GitHub actions to use Node 16 and Ubuntu to latest (#400)
* Update GitHub actions to use Node 16 and Ubuntu to latest

Signed-off-by: sdawley <sdawley@redhat.com>

* Switching Ubuntu to a set version (22.04). Changed release-action to v1 so it gets updates.

Signed-off-by: sdawley <sdawley@redhat.com>
2022-12-19 13:36:59 -04:00
Nick Boldt a0c25fe332
update integration tests to new root pom... (#402)
* update integration tests to new root pom version

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

* fix poms that point to obsolete version 7.58.0-SNAPSHOT

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

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2022-12-16 11:03:12 -04:00
Mykhailo Kuznietsov 23e5b5f891 chore: Bump to 7.59.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-12-15 15:50:16 +01:00
Igor Vinokur ea76cda24c
fix: Override bitbucket content provider to use API request (#399)
bitbucket.org doesn't allow to fetch raw file content from private repositories using oAuth token any more. Override the common fetch content flow specifically for bitbucket.
2022-12-09 10:46:01 +02:00
che-bot 3a9a03f9d1
chore: Update from ubi8-minimal:8.7-923 to ubi8-minimal:8.7-923.1669829893 (#395)
Signed-off-by: Nick Boldt <nboldt@redhat.com>

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2022-12-06 19:32:01 -04:00
Nick Boldt 659066dbf3
chore: clean up CODEOWNERS - remove... (#390)
* chore: clean up CODEOWNERS - remove @skabashnyuk, @metlos, and @MichalMaler; add @ibuziuk and @l0rd as global owners

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

* Update CODEOWNERS

remove owners who don't have write access to the repo

* Update CODEOWNERS

remove Ihor O per Martha's email

* Update .github/CODEOWNERS

* Update .github/CODEOWNERS

Co-authored-by: Mario Loriedo <mario.loriedo@gmail.com>

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Mario Loriedo <mario.loriedo@gmail.com>
2022-12-06 08:59:48 -04:00
Nick Boldt 8f7f4fb28d
chore: update all rpms in dockerfile, not just gnutls (get fresher RPM updates) (#394)
Change-Id: I133e6ed1b1b8b21ce4dc2b6fe36140ff662c1b04
Signed-off-by: Nick Boldt <nboldt@redhat.com>

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2022-12-05 13:02:51 -04:00
Mykhailo Kuznietsov 5e90d07987 chore: Bump to 7.58.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-11-24 15:30:55 +01:00
Ilya Buziuk 642732668b chore: Removing deprecated devfile endpoints. Updating the 2.2 schema to the latest version
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2022-11-22 09:32:32 +01:00
che-bot e897e7b2f2
chore: Update from ubi8-minimal:8.6-994 to ubi8-minimal:8.7-923 (#384)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-11-14 11:51:15 -04:00
Ilya Buziuk 5c8658724f chore: Decommissioning Organization, Resource, Permission, Keycloak, SSH, Activity services
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2022-11-14 12:53:46 +01:00
Vitaliy Gulyy cf508f009c
fix: Use SHA of the latest commit instead of the branch name when fetching raw file content (#376)
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
2022-11-14 09:20:44 +02:00
Igor Vinokur d11aeaf26b
chore: Add more Git unit tests (#375) 2022-11-08 09:38:27 +02:00
Samantha Dawley 621ad6ba71
chore: #21790 add badges for some actions and a link to downstream 3.x job (#380)
* chore: #21790 add badges for some actions and a link to downstream 3.x job

Signed-off-by: Samantha Dawley <sdawley@redhat.com>

* remove extra braces

* remove che-theia badges from che-server readme

Signed-off-by: Samantha Dawley <sdawley@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2022-11-07 18:48:41 -04:00
Ilya Buziuk 2400b7e1e5 chore: bumping kubernetes-client to the 5.12.4 version
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2022-11-07 14:52:24 +01:00
Mykhailo Kuznietsov fb0bdd249f chore: Bump to 7.57.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-11-04 15:32:21 +01:00
che-bot e200cd0870
chore: Update from ubi8-minimal:8.6-941 to ubi8-minimal:8.6-994 (#377)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-11-02 07:50:26 -03:00
Andrew Obuchowicz e8ae835df2 fixup! chore: remove che.infra.kubernetes.workspace_start_timeout_min property 2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 687df1a19d fixup! chore: remove che.infra.kubernetes.workspace_start_timeout_min property 2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 640c9b7373 fixup! chore: remove che.workspace.pod.tolerations_json property 2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 2adc95d690 fixup! chore: remove che.workspace.pod.node_selector property 2022-11-02 10:38:35 +01:00