Commit Graph

55 Commits

Author SHA1 Message Date
GitLab Bot 05f0ebba3a Add latest changes from gitlab-org/gitlab@15-8-stable-ee 2023-01-18 19:00:14 +00:00
GitLab Bot 0c872e02b2 Add latest changes from gitlab-org/gitlab@15-7-stable-ee 2022-12-20 14:22:11 +00:00
GitLab Bot 6ed4ec3e0b Add latest changes from gitlab-org/gitlab@15-4-stable-ee 2022-09-19 23:18:09 +00:00
GitLab Bot b39512ed75 Add latest changes from gitlab-org/gitlab@15-3-stable-ee 2022-08-18 08:17:02 +00:00
GitLab Bot b595cb0c1d Add latest changes from gitlab-org/gitlab@15-2-stable-ee 2022-07-20 15:40:28 +00:00
GitLab Bot 41fe97390c Add latest changes from gitlab-org/gitlab@14-9-stable-ee 2022-03-18 20:02:30 +00:00
GitLab Bot a7b3560714 Add latest changes from gitlab-org/gitlab@14-8-stable-ee 2022-02-18 09:45:46 +00:00
GitLab Bot aee0a117a8 Add latest changes from gitlab-org/gitlab@14-6-stable-ee 2021-12-20 13:37:47 +00:00
GitLab Bot a5f4bba440 Add latest changes from gitlab-org/gitlab@14-0-stable-ee 2021-06-16 18:25:58 +00:00
GitLab Bot 1d287b3104 Add latest changes from gitlab-org/gitlab@13-12-stable-ee 2021-05-25 20:30:46 +00:00
GitLab Bot 48aff82709 Add latest changes from gitlab-org/gitlab@13-5-stable-ee 2020-10-21 07:08:36 +00:00
GitLab Bot a09983ae35 Add latest changes from gitlab-org/gitlab@13-2-stable-ee 2020-07-20 12:26:25 +00:00
GitLab Bot 9f46488805 Add latest changes from gitlab-org/gitlab@13-0-stable-ee 2020-05-20 14:34:42 +00:00
GitLab Bot 8a04ac238c Add latest changes from gitlab-org/gitlab@master 2019-12-15 21:07:47 +00:00
GitLab Bot cb3e6b9c1b Add latest changes from gitlab-org/gitlab@master 2019-10-29 18:06:15 +00:00
GitLab Bot 69849c280c Add latest changes from gitlab-org/gitlab@master 2019-10-10 12:06:19 +00:00
GitLab Bot 98dbb0a488 Add latest changes from gitlab-org/gitlab@master 2019-09-23 00:06:29 +00:00
Dinesh Panda 736b5908da Avoid calling freeze on already frozen strings in lib 2019-09-10 08:11:43 +00:00
Thong Kuah 428ee4bc60 Explicitly set master_auth for new GKE clusters
From 1.12, GKE will disable basic auth and client certificate by
default. Explicitly enable those now (currently we use 1.10/1.11
clusters) so that GKE cluster configuration will continue to work.
2019-03-13 16:28:04 +13:00
George Tsiolis 733ae94921 Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
gfyoung c8755543f0 Enable even more frozen string in lib/**/*.rb
Enables frozen string for the following files:

* lib/generators/**/*.rb
* lib/gitaly/**/*.rb
* lib/google_api/**/*.rb
* lib/haml_lint/**/*.rb
* lib/json_web_token/**/*.rb
* lib/mattermost/**/*.rb
* lib/microsoft_teams/**/*.rb
* lib/object_storage/**/*.rb
* lib/omni_auth/**/*.rb
* lib/peek/**/*.rb
* lib/rouge/**/*.rb
* lib/rspec_flaky/**/*.rb
* lib/system_check/**/*.rb

Partially addresses #47424.
2018-10-08 11:16:49 -07:00
Thong Kuah 2e47e1f80e Teach GoogleApi::CloudPlatform::Client#projects_zones_clusters_create about legacy_abac argument
Fix spec warning: removing `initialize' may cause serious problems

Actually verify that `service.create_cluster` is called with expected
request_body and other args
2018-09-14 16:26:51 +12:00
Matija Čupić b22959cc04
Remove redundant GoogleApi::CloudPlatform::Client methods
The methods removed are #projects_list #get_project_billing_info
as well as #project_zones_list and #project_zone_machine_types_list
2018-05-11 18:45:45 +02:00
Matija Čupić 45b3bcc396
Add zones_list and machine_types_list to Google Cloud API client 2018-03-16 17:50:48 +01:00
Rubén Dávila afe2c15e6b Fix provider server URL used when listing repos to import
Also use Gitlab::Auth::OAuth::Provider.config_for to access OmniAuth config
2018-03-12 16:01:43 -05:00
Mayra Cabrera 14978ddc53 Modify cluster creation API method to enable legacy_apac as default
GKE 1.8 has RBAC on by default, since GKE has bumped the default version
to 1.8.7 RBAC is now on, and we don't support that out of the box.

This was also avoiding cluster applications (tiller, prometheus, etc), to
be installed.

Closes #41619
2018-02-22 15:27:56 -06:00
Matija Čupić 1f0a4fe6a4
Add missing user agent header to GCP client 2018-01-11 02:29:36 +01:00
Kamil Trzciński cf6258af41 Fix billing checking 2018-01-10 15:23:22 +01:00
Matija Čupić c98238f18a
Inluce projects namespace when checking billing 2017-12-16 06:07:28 +01:00
Matija Čupić 957bedb1c3
Add Google Cloud client project billing info 2017-12-16 00:00:52 +01:00
Matija Čupić 596ea9e368
Add Google Cloud client project list 2017-12-15 19:39:15 +01:00
Matija Čupić bb80d439f4
Refactor GCP Client#user_agent_header to use #tap 2017-12-04 13:43:45 +01:00
Matija Čupić 68b43f4d9c
Test usage of custom user agent in GCP Client 2017-12-04 02:19:02 +01:00
Matija Čupić 04c6d10261
Use RequestOptions in GCP Client user_agent_header 2017-12-04 01:59:29 +01:00
Matija Čupić 50c8bd6350
Generate user agent header for GCP Client 2017-12-04 00:53:04 +01:00
Shinya Maeda 253bf69dda specs for feature 2017-11-01 03:59:40 +09:00
Kamil Trzcinski f9d490dbb9 Improve redirect uri state and fix all remaining tests 2017-10-06 16:14:14 +02:00
Shinya Maeda f293288589 Security fix: redirection in google_api/authorizations_controller 2017-10-06 21:28:40 +09:00
Shinya Maeda 638c616296 Use utc for time comparision 2017-10-06 18:23:53 +09:00
Shinya Maeda 31c8925882 spec/lib/google_api/auth_spec. spec/lib/google_api/cloud_platform/client_spec 2017-10-05 18:17:21 +09:00
Shinya Maeda 20abcbffae Add google_api to TOP_LEVEL_ROUTES. Import/Export model failure fix. Fix static analysys. 2017-10-04 16:04:45 +09:00
Shinya Maeda 6b7889f750 Implement Policy. Use show instead of edit. Chnage db column. fix comments. dry up workers 2017-10-03 23:44:06 +09:00
Shinya Maeda 34e66c427d PollingInterval, rename to gke_clusters, has_one :cluster 2017-10-02 21:58:50 +09:00
Shinya Maeda 2cb1d617d9 Use expires_in for access_token validation 2017-10-02 17:13:46 +09:00
Shinya Maeda 2d1a77b8a3 Revert KubernetesService. Introduce FetchKubernetesTokenService. 2017-10-01 17:48:21 +09:00
Shinya Maeda e499c1c39d Replace reactive_cache by multipel sidekiq workers 2017-10-01 00:54:22 +09:00
Shinya Maeda bda1b0a878 Databse foreing key, index, encrypt password. Use short path. Improve error handling. Polish. 2017-09-29 00:08:11 +09:00
Shinya Maeda fabc359e77 Multithreading cluster creation is done with `reactive_cache` 2017-09-28 18:11:17 +09:00
Shinya Maeda e9d05a2cdc Add login root. Remove ceration type. 2017-09-27 21:01:08 +09:00
Shinya Maeda 9900933432 Remove sensitive literal data 2017-09-27 17:04:25 +09:00