Browse Source

Merge branch 'dev_devops' of http://gitea.trustie.net/jasder/forgeplus into dev_devops

tags/v1.0.0
sylor_huang@126.com 6 years ago
parent
commit
b73dc77a4b
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      app/controllers/dev_ops/cloud_accounts_controller.rb

+ 0
- 1
app/controllers/dev_ops/cloud_accounts_controller.rb View File

@@ -23,7 +23,6 @@ class DevOps::CloudAccountsController < ApplicationController
cloud_account.save!
end


# 2. 生成oauth2应用程序的client_id和client_secrete
gitea_oauth = Gitea::Oauth2::CreateService.call(current_user.gitea_token, {name: "pipeline", redirect_uris: ["#{cloud_account.drone_url}/login"]})
logger.info "######### gitea_oauth: #{gitea_oauth}"


Loading…
Cancel
Save