Commit Graph

59 Commits

Author SHA1 Message Date
beabc7d164 Add latest changes from gitlab-org/gitlab@master 2023-06-14 21:10:36 +00:00
fa138c9c24 Add latest changes from gitlab-org/gitlab@master 2023-01-05 21:10:21 +00:00
37439afe69 Add latest changes from gitlab-org/gitlab@master 2022-12-15 12:08:09 +00:00
37a739daec Add latest changes from gitlab-org/gitlab@master 2022-09-13 12:12:50 +00:00
5074a6923e Add latest changes from gitlab-org/gitlab@master 2022-08-16 00:10:02 +00:00
a5c89610f3 Add latest changes from gitlab-org/gitlab@master 2022-07-29 21:08:53 +00:00
0599ea8fb3 Add latest changes from gitlab-org/gitlab@master 2022-07-25 18:10:00 +00:00
b6f17c6992 Add latest changes from gitlab-org/gitlab@master 2022-07-12 21:09:53 +00:00
6a9ab27963 Add latest changes from gitlab-org/gitlab@master 2022-03-15 12:07:44 +00:00
e57809ded8 Add latest changes from gitlab-org/gitlab@master 2022-02-11 18:18:58 +00:00
d6ce16a407 Add latest changes from gitlab-org/gitlab@master 2022-01-28 12:17:26 +00:00
b8d516a687 Add latest changes from gitlab-org/gitlab@master 2021-11-24 15:14:19 +00:00
f9d25383cf Add latest changes from gitlab-org/gitlab@master 2021-06-10 06:10:08 +00:00
686c2375e1 Add latest changes from gitlab-org/gitlab@master 2021-05-25 09:10:54 +00:00
cf37ae7acd Add latest changes from gitlab-org/gitlab@master 2020-10-07 12:09:12 +00:00
2f147005c5 Add latest changes from gitlab-org/gitlab@master 2020-07-11 00:09:17 +00:00
48650fe1bf Add latest changes from gitlab-org/gitlab@master 2020-05-18 12:08:08 +00:00
8a04ac238c Add latest changes from gitlab-org/gitlab@master 2019-12-15 21:07:47 +00:00
cb3e6b9c1b Add latest changes from gitlab-org/gitlab@master 2019-10-29 18:06:15 +00:00
69849c280c Add latest changes from gitlab-org/gitlab@master 2019-10-10 12:06:19 +00:00
98dbb0a488 Add latest changes from gitlab-org/gitlab@master 2019-09-23 00:06:29 +00:00
736b5908da Avoid calling freeze on already frozen strings in lib 2019-09-10 08:11:43 +00:00
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
733ae94921 Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
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
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
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
45b3bcc396 Add zones_list and machine_types_list to Google Cloud API client 2018-03-16 17:50:48 +01:00
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
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
1f0a4fe6a4 Add missing user agent header to GCP client 2018-01-11 02:29:36 +01:00
cf6258af41 Fix billing checking 2018-01-10 15:23:22 +01:00
c98238f18a Inluce projects namespace when checking billing 2017-12-16 06:07:28 +01:00
957bedb1c3 Add Google Cloud client project billing info 2017-12-16 00:00:52 +01:00
596ea9e368 Add Google Cloud client project list 2017-12-15 19:39:15 +01:00
bb80d439f4 Refactor GCP Client#user_agent_header to use #tap 2017-12-04 13:43:45 +01:00
68b43f4d9c Test usage of custom user agent in GCP Client 2017-12-04 02:19:02 +01:00
04c6d10261 Use RequestOptions in GCP Client user_agent_header 2017-12-04 01:59:29 +01:00
50c8bd6350 Generate user agent header for GCP Client 2017-12-04 00:53:04 +01:00
253bf69dda specs for feature 2017-11-01 03:59:40 +09:00
f9d490dbb9 Improve redirect uri state and fix all remaining tests 2017-10-06 16:14:14 +02:00
f293288589 Security fix: redirection in google_api/authorizations_controller 2017-10-06 21:28:40 +09:00
638c616296 Use utc for time comparision 2017-10-06 18:23:53 +09:00
31c8925882 spec/lib/google_api/auth_spec. spec/lib/google_api/cloud_platform/client_spec 2017-10-05 18:17:21 +09:00
20abcbffae Add google_api to TOP_LEVEL_ROUTES. Import/Export model failure fix. Fix static analysys. 2017-10-04 16:04:45 +09:00
6b7889f750 Implement Policy. Use show instead of edit. Chnage db column. fix comments. dry up workers 2017-10-03 23:44:06 +09:00
34e66c427d PollingInterval, rename to gke_clusters, has_one :cluster 2017-10-02 21:58:50 +09:00
2cb1d617d9 Use expires_in for access_token validation 2017-10-02 17:13:46 +09:00
2d1a77b8a3 Revert KubernetesService. Introduce FetchKubernetesTokenService. 2017-10-01 17:48:21 +09:00
e499c1c39d Replace reactive_cache by multipel sidekiq workers 2017-10-01 00:54:22 +09:00