Skip to content
chilianyi edited this page Nov 16, 2018 · 9 revisions

How to release confd

1. create git tag for yunify/confd, for examples v0.13.12

The yunify/confd's travis-ci will build confd for Linux/macOS/windows/alpine:

  • confd-alpine-amd64.tar.gz
  • confd-darwin-amd64.tar.gz
  • confd-linux-amd64.tar.gz
  • confd-windows-386.zip

then the travis will add the linux/windows confd target to the AppcenterAgent.

2. create git tag AppcenterAgent, for example v1.0.4

The QingCloudAppcenter/AppcenterAgent travis-ci will upload the app-agent-linux-amd64.tar.gz to the QingStore: http://appcenter-docs.qingcloud.com/developer-guide/scripts/app-agent-linux-amd64.tar.gz

3. update the yunify/docker-images

Set the CONFD_VERSION to v0.13.12 in the confd's Dockerfile and env.sh

Set the confd to the v0.13.12 in the jdk's Dockerfile/build.sh/push.sh

$ docker login -u ??? -p *** dockerhub.qingcloud.com
$
$ cd yunify/docker-images/confd
$ ./build.sh && ./push.sh
$
$ cd yunify/docker-images/jdk
$ ./build.sh && ./push.sh

4. update the document to new version

https://docs.qingcloud.com/appcenter/docs/app-version-mgmt/images/docker.html

5. refresh cdn cache

http://appcenter-docs.qingcloud.com/developer-guide/scripts/app-agent-linux-amd64.tar.gz http://appcenter-docs.qingcloud.com/developer-guide/scripts/app-agent-windows-386.zip