Skip to content

sermant-io/first-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

Archetype when creating the sermant project.

How to use it?

Refer to official website guidance: https://sermant.io/zh/document/developer-guide.

The quick development and usage guide for implementing service governance plugins under the Sermant framework can be found at https://bbs.huaweicloud.com/blogs/415083.

How to deploy first-plugin archetype using github action?

1. Modify archetype version

Modify archetype.properties file:

archetype.groupId=io.sermant
archetype.artifactId=sermant-template-archetype
archetype.version=2.2.0 # modify this version before deploy
package=io.sermant
excludePatterns=.github/**,.idea/**,.idea/libraries/*,**/*.iml,README.md,README-zh.md

2. Modify project version

Modify all pom file of this project:

<version>2.2.0</version> # modify this version in pom file before release

3. Modify config

Update the configuration files under the config/ directory.

4. Create new version branch and push tag

Create new version branch, and push version tag:

git tag vx.x.x
git push origin vx.x.x

Note: origin is git@github.com:sermant-io/first-plugin.git