update
continuous-integration/drone/push Build is passing Details

master
icechen 2022-01-02 04:04:59 +08:00
parent 62ab81441d
commit 3ae0366da0
5 changed files with 5 additions and 6 deletions

View File

@ -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)
} }

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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