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() {
|
func init() {
|
||||||
var err error
|
var err error
|
||||||
// cli, err = gitea.NewClient("http://gitea:3000/", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
|
cli, err = gitea.NewClient("http://gitea:3000/", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
|
||||||
cli, err = gitea.NewClient("https://git.icechen.cn", gitea.SetToken("4322b0d361004db5dcea1741417f9e014a0f428f"))
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ package go_handler_template
|
||||||
const ApiProductionPipeline = `
|
const ApiProductionPipeline = `
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: 部署{{ .Name }}
|
name: 部署production-api-{{ .Name }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
|
|
@ -3,7 +3,7 @@ package go_handler_template
|
||||||
const ApiTestPipeline = `
|
const ApiTestPipeline = `
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: 部署{{ .Name }}
|
name: 部署test-api-{{ .Name }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
|
|
@ -3,7 +3,7 @@ package go_handler_template
|
||||||
const ServiceProductionPipeline = `
|
const ServiceProductionPipeline = `
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: 部署{{ .Name }}
|
name: 部署production-service-{{ .Name }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
|
|
@ -3,7 +3,7 @@ package go_handler_template
|
||||||
const ServiceTestPipeline = `
|
const ServiceTestPipeline = `
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: 部署{{ .Name }}
|
name: 部署test-service-{{ .Name }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
|
Loading…
Reference in New Issue