update
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
62ab81441d
commit
3ae0366da0
|
@ -12,8 +12,7 @@ var cli *gitea.Client
|
|||
|
||||
func init() {
|
||||
var err error
|
||||
// cli, err = gitea.NewClient("http://gitea:3000/", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
|
||||
cli, err = gitea.NewClient("https://git.icechen.cn", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
|
||||
cli, err = gitea.NewClient("http://gitea:3000/", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ package go_handler_template
|
|||
const ApiProductionPipeline = `
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: 部署{{ .Name }}
|
||||
name: 部署production-api-{{ .Name }}
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
|
|
|
@ -3,7 +3,7 @@ package go_handler_template
|
|||
const ApiTestPipeline = `
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: 部署{{ .Name }}
|
||||
name: 部署test-api-{{ .Name }}
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
|
|
|
@ -3,7 +3,7 @@ package go_handler_template
|
|||
const ServiceProductionPipeline = `
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: 部署{{ .Name }}
|
||||
name: 部署production-service-{{ .Name }}
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
|
|
|
@ -3,7 +3,7 @@ package go_handler_template
|
|||
const ServiceTestPipeline = `
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: 部署{{ .Name }}
|
||||
name: 部署test-service-{{ .Name }}
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
|
|
Loading…
Reference in New Issue