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() {
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)
}

View File

@ -3,7 +3,7 @@ package go_handler_template
const ApiProductionPipeline = `
kind: pipeline
type: docker
name: {{ .Name }}
name: production-api-{{ .Name }}
steps:
- name: build

View File

@ -3,7 +3,7 @@ package go_handler_template
const ApiTestPipeline = `
kind: pipeline
type: docker
name: {{ .Name }}
name: test-api-{{ .Name }}
steps:
- name: build

View File

@ -3,7 +3,7 @@ package go_handler_template
const ServiceProductionPipeline = `
kind: pipeline
type: docker
name: {{ .Name }}
name: production-service-{{ .Name }}
steps:
- name: build

View File

@ -3,7 +3,7 @@ package go_handler_template
const ServiceTestPipeline = `
kind: pipeline
type: docker
name: {{ .Name }}
name: test-service-{{ .Name }}
steps:
- name: build