You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2021/02/01 09:21:35 UTC

[servicecomb-docs] branch master updated: remove actions (#224)

This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new e22804d  remove actions (#224)
e22804d is described below

commit e22804d4ebe1f228dafd9a70827e2b78c3458e29
Author: bao liu <bi...@qq.com>
AuthorDate: Mon Feb 1 17:21:29 2021 +0800

    remove actions (#224)
---
 .github/workflows/maven.yml                        | 20 --------
 .../zh_CN/docs/references-handlers/governance.md   |  2 +-
 scripts/build.sh                                   | 58 ----------------------
 3 files changed, 1 insertion(+), 79 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
deleted file mode 100644
index 7a371d2..0000000
--- a/.github/workflows/maven.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-# This workflow will build a Java project with Maven
-# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
-name: Java CI with Maven
-
-on:
-  push:
-    branches: [ master ]
-  pull_request:
-    branches: [ master ]
-
-jobs:
-  build:
-
-    runs-on: ubuntu-latest
-
-    steps:
-    - uses: actions/checkout@v2
-    - name: Compilation and Installation
-      run: bash scripts/build.sh
\ No newline at end of file
diff --git a/java-chassis-reference/zh_CN/docs/references-handlers/governance.md b/java-chassis-reference/zh_CN/docs/references-handlers/governance.md
index 491166a..23c4ee5 100644
--- a/java-chassis-reference/zh_CN/docs/references-handlers/governance.md
+++ b/java-chassis-reference/zh_CN/docs/references-handlers/governance.md
@@ -184,7 +184,7 @@ servicecomb:
 规则解释:隔离仓规则借鉴了 [Resilience4j][resilience4j] 的思想,其原理为:当最大并发数超过 maxConcurrentCalls,等待 maxWaitDuration
 竞争资源,如果获得资源,则继续处理,如果获取不到,则拒绝执行请求。在异步框架,建议 maxWaitDuration 设置为0,防止阻塞事件派发线程。
 
-### 基于流量标记治理使用指南
+## 基于流量标记治理使用指南
 
 * Java Chassis
 
diff --git a/scripts/build.sh b/scripts/build.sh
deleted file mode 100644
index 9fac3c3..0000000
--- a/scripts/build.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env bash
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements.  See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License.  You may obtain a copy of the License at
-##
-##      http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-#bin/sh
-echo "start building servicecomb-docs."
-CUR_DIR=$PWD
-echo "env CUR_DIR=$CUR_DIR"
-
-echo "Starting install software"
-npm install gitbook-cli -g
-sudo pip install mkdocs
-sudo pip install ./plugins/bing-search
-chmod +x scripts/travis.sh
-
-echo "Starting compile docs"
-gitbook build saga-reference docs/saga
-gitbook build service-center-reference docs/service-center
-cd $CUR_DIR/java-chassis-reference/zh_CN
-mkdocs build -d ../../docs/java-chassis/zh_CN
-cd $CUR_DIR/java-chassis-reference/en_US
-mkdocs build -d ../../docs/java-chassis/en_US
-cd $CUR_DIR
-
-git clone --depth=10 --branch=master https://github.com/huaweicse/servicecomb-java-chassis-doc.git
-
-rm -r servicecomb-java-chassis-doc/docs/java-chassis/zh_CN/*
-rm -r servicecomb-java-chassis-doc/docs/java-chassis/en_US/*
-rm -r servicecomb-java-chassis-doc/docs/saga/*
-rm -r servicecomb-java-chassis-doc/docs/service-center/*
-cp -r docs/ servicecomb-java-chassis-doc/
-ls -l servicecomb-java-chassis-doc/docs/java-chassis
-ls -l servicecomb-java-chassis-doc/docs/java-chassis/1.x
-
-echo "Starting prepare docs"
-cd servicecomb-java-chassis-doc
-git add docs
-git commit -m "Publish gitbook docs"
-git config --local user.email "bismy@qq.com"
-git config --local user.name "libuao68"
-
-echo "Starting push docs"
-git push https://liubao68:0f89bce4869dd53b53bedd9c1f930edc93d089ae@github.com/huaweicse/servicecomb-java-chassis-doc.git master
-
-