Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-20 12:16:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-20 12:16:11 +0300
commitedaa33dee2ff2f7ea3fac488d41558eb5f86d68c (patch)
tree11f143effbfeba52329fb7afbd05e6e2a3790241 /config/routes
parentd8a5691316400a0f7ec4f83832698f1988eb27c1 (diff)
Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/admin.rb2
-rw-r--r--config/routes/group.rb8
-rw-r--r--config/routes/project.rb5
-rw-r--r--config/routes/sherlock.rb14
4 files changed, 12 insertions, 17 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index 7f19f6b8427..ed1afc9efa3 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -159,7 +159,7 @@ namespace :admin do
resources :labels
- resources :runners, only: [:index, :show, :update, :destroy] do
+ resources :runners, only: [:index, :show, :edit, :update, :destroy] do
member do
post :resume
post :pause
diff --git a/config/routes/group.rb b/config/routes/group.rb
index da205163e6d..c313f7209fb 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -43,6 +43,12 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
post :create_deploy_token, path: 'deploy_token/create'
end
+ resources :access_tokens, only: [:index, :create] do
+ member do
+ put :revoke
+ end
+ end
+
resources :integrations, only: [:index, :edit, :update] do
member do
put :test
@@ -64,7 +70,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
post :toggle_subscription, on: :member
end
- resources :packages, only: [:index]
+ resources :packages, only: [:index, :show]
resources :milestones, constraints: { id: %r{[^/]+} } do
member do
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 5f1b35d67c0..702ef64a2ca 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -212,7 +212,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
- resources :services, constraints: { id: %r{[^/]+} }, only: [:edit, :update] do
+ resources :integrations, controller: :services, constraints: { id: %r{[^/]+} }, only: [:edit, :update] do
member do
put :test
end
@@ -319,6 +319,9 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
namespace :google_cloud do
resources :service_accounts, only: [:index, :create]
+
+ get '/deployments/cloud_run', to: 'deployments#cloud_run'
+ get '/deployments/cloud_storage', to: 'deployments#cloud_storage'
end
resources :environments, except: [:destroy] do
diff --git a/config/routes/sherlock.rb b/config/routes/sherlock.rb
deleted file mode 100644
index a9be434dba7..00000000000
--- a/config/routes/sherlock.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-if Gitlab::Sherlock.enabled?
- namespace :sherlock do
- resources :transactions, only: [:index, :show] do
- resources :queries, only: [:show]
- resources :file_samples, only: [:show]
-
- collection do
- delete :destroy_all
- end
- end
- end
-end