diff --git a/git/git.go b/git/git.go index ffc0c2d..fe1454b 100644 --- a/git/git.go +++ b/git/git.go @@ -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) } diff --git a/go_handler/go_handler_template/go_api_production_pipeline.go b/go_handler/go_handler_template/go_api_production_pipeline.go index d67c2bf..7c35935 100644 --- a/go_handler/go_handler_template/go_api_production_pipeline.go +++ b/go_handler/go_handler_template/go_api_production_pipeline.go @@ -3,7 +3,7 @@ package go_handler_template const ApiProductionPipeline = ` kind: pipeline type: docker -name: 部署{{ .Name }} +name: 部署production-api-{{ .Name }} steps: - name: build diff --git a/go_handler/go_handler_template/go_api_test_pipeline.go b/go_handler/go_handler_template/go_api_test_pipeline.go index b43e70d..91f0163 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -3,7 +3,7 @@ package go_handler_template const ApiTestPipeline = ` kind: pipeline type: docker -name: 部署{{ .Name }} +name: 部署test-api-{{ .Name }} steps: - name: build diff --git a/go_handler/go_handler_template/go_service_production_pipeline.go b/go_handler/go_handler_template/go_service_production_pipeline.go index 87230db..493e2f5 100644 --- a/go_handler/go_handler_template/go_service_production_pipeline.go +++ b/go_handler/go_handler_template/go_service_production_pipeline.go @@ -3,7 +3,7 @@ package go_handler_template const ServiceProductionPipeline = ` kind: pipeline type: docker -name: 部署{{ .Name }} +name: 部署production-service-{{ .Name }} steps: - name: build diff --git a/go_handler/go_handler_template/go_service_test_pipeline.go b/go_handler/go_handler_template/go_service_test_pipeline.go index 2d5ca3e..a84052e 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -3,7 +3,7 @@ package go_handler_template const ServiceTestPipeline = ` kind: pipeline type: docker -name: 部署{{ .Name }} +name: 部署test-service-{{ .Name }} steps: - name: build