Skip to content

Commit

Permalink
docs: v1.1 -> v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Twwy committed Jun 20, 2022
1 parent c475e83 commit feb11fc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
4 changes: 2 additions & 2 deletions chart/sreworks-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ global:

images:
registry: sreworks-registry.cn-beijing.cr.aliyuncs.com/sreworks
tag: v1.1
tag: v1.2

accessMode: ingress

Expand Down Expand Up @@ -112,7 +112,7 @@ swcli:
clientSecret: stLCjCPKbWmki65DsAj2jPoeBLPimpJa

source:
branch: v1.1
branch: v1.2
repo: https://code.aliyun.com/sreworks_public/mirror.git

appmanagerbase:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ import com.alibaba.tesla.appmanager.common.enums.DynamicScriptKindEnum
import com.alibaba.tesla.appmanager.common.util.RequestUtil
import com.alibaba.tesla.appmanager.domain.req.destroy.DestroyComponentInstanceReq
import com.alibaba.tesla.appmanager.server.dynamicscript.handler.ComponentDestroyHandler
import okhttp3.OkHttpClient
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import java.util.concurrent.TimeUnit

/**
* Internal Addon Productops V2 组件销毁 Handler
*
Expand Down Expand Up @@ -38,13 +35,11 @@ class InternalAddonV2ProductopsComponentDestroyHandler implements ComponentDestr
def namespace = request.getNamespaceId()
def stageId = request.getStageId()


log.info("frontend-service app {} start destroy", appId)

def targetEndpoint = "prod-flycore-paas-action"

def removeAppUrl = "http://" + targetEndpoint + "/frontend/apps/" + appId

def ret = RequestUtil.delete(removeAppUrl, new JSONObject(), new JSONObject())
log.info("frontend-service remove app {} {}", removeAppUrl, ret)
def retJson = JSONObject.parseObject(ret)
Expand Down
6 changes: 3 additions & 3 deletions paas/sw-frontend/docs/documents/mzz07m.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<a name="cUaZS"></a>
### 拉取 SREWorks 项目源码
```shell
git clone http://github.com/alibaba/sreworks.git -b v1.1 sreworks
git clone http://github.com/alibaba/sreworks.git -b v1.2 sreworks
cd sreworks
SW_ROOT=$(pwd)
```
Expand All @@ -37,7 +37,7 @@ SW_ROOT=$(pwd)
```shell
SW_REPO="your-registry.***.com/sreworks"
docker login --username=sre****s your-registry.***.com
./build.sh --target all --push $SW_REPO --tag v1.1
./build.sh --target all --push $SW_REPO --tag v1.2
```

<a name="jiRmc"></a>
Expand All @@ -49,7 +49,7 @@ helm install sreworks $SW_ROOT/chart/sreworks-chart \
--create-namespace --namespace sreworks \
--set appmanager.home.url="https://your-website.***.com" \
--set build.enable=true \
--set global.images.tag="v1.1" \
--set global.images.tag="v1.2" \
--set global.images.registry=$SW_REPO

```
Expand Down
8 changes: 4 additions & 4 deletions paas/sw-frontend/docs/documents/rr5g10.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
./kk create cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1

# 下载sreworks到本地
git clone http://github.com/alibaba/sreworks.git -b v1.1 sreworks
git clone http://github.com/alibaba/sreworks.git -b v1.2 sreworks
cd sreworks/chart/sreworks-chart

# 安装SREWorks
Expand All @@ -110,7 +110,7 @@ helm install sreworks ./ \
网页访问方式使用Ingress
```bash
# 下载sreworks到本地
git clone http://github.com/alibaba/sreworks.git -b v1.1 sreworks
git clone http://github.com/alibaba/sreworks.git -b v1.2 sreworks
cd sreworks/chart/sreworks-chart

# 安装SREWorks
Expand All @@ -126,7 +126,7 @@ helm install sreworks ./ \
网页访问方式使用NodePort
```shell
# 下载sreworks到本地
git clone http://github.com/alibaba/sreworks.git -b v1.1 sreworks
git clone http://github.com/alibaba/sreworks.git -b v1.2 sreworks
cd sreworks/chart/sreworks-chart

# 安装SREWorks
Expand All @@ -146,7 +146,7 @@ helm install sreworks ./ \
- 注意: 默认的`storageClass:sreworks-hostpath` 是由OpenEBS的LocalPV方案实现的,仅能用于开发测试环境,如需用于生产,建议使用符合 Kubernetes 要求的持久化存储(如 GlusterFS、Ceph 等分布式存储,或云服务上上的块存储。
```bash
# 下载sreworks到本地
git clone http://github.com/alibaba/sreworks.git -b v1.1 sreworks
git clone http://github.com/alibaba/sreworks.git -b v1.2 sreworks
cd sreworks/chart/sreworks-chart

# 安装SREWorks
Expand Down

0 comments on commit feb11fc

Please sign in to comment.