Skip to content

iroben/apollo-proxy-front-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apollo-proxy链接

该项目可用于jenkins多分支流水线gitlabdocker executor流水线

用jenkins集成

修改Jenkinsfile,改成 apollo-proxy 部署后的地址

environment {        
        APOLLO_FAT = "http://admin:[email protected]:9999/fat"
        APOLLO_PROD = "http://admin:[email protected]:9999/prod"
    }

然后创建一个多分支流水线,点构建即可

test分支会读取APOLLO_FAT下的配置

master分支会读取APOLLO_PROD下的配置

用gitlab集成

修改.gitlab-ci.ymml,改成 apollo-proxy 部署后的地址

variables:
  APOLLO_FAT: "http://admin:[email protected]:9999/fat"
  APOLLO_PROD: "http://admin:[email protected]:9999/prod"

push 代码就可

test 分支会读取 APOLLO_FAT 下的配置

master 分支会读取 APOLLO_PROD 下的配置

About

前端用jenkins, gitlab接入阿波罗配置服务

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors