This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 43fdcf9 update test
43fdcf9 is described below
commit 43fdcf99a4041c84b97f4063427872e8cc38d0a0
Author: LiLi <[email protected]>
AuthorDate: Fri Mar 4 14:22:42 2022 +0800
update test
Signed-off-by: LiLi <[email protected]>
---
.../workflows/ci-pulsar-website-next-build.yaml | 98 +++++++++++-----------
site2/website-next/docs/about.md | 1 +
.../versioned_docs/version-2.7.0/adaptors-kafka.md | 1 -
3 files changed, 50 insertions(+), 50 deletions(-)
diff --git a/.github/workflows/ci-pulsar-website-next-build.yaml
b/.github/workflows/ci-pulsar-website-next-build.yaml
index 04256a6..3fe0eb7c 100644
--- a/.github/workflows/ci-pulsar-website-next-build.yaml
+++ b/.github/workflows/ci-pulsar-website-next-build.yaml
@@ -50,59 +50,59 @@ jobs:
echo "$file was modified"
done
- - name: Tune Runner VM
- uses: ./.github/actions/tune-runner-vm
+ # - name: Tune Runner VM
+ # uses: ./.github/actions/tune-runner-vm
- - name: Cache local Maven repository
- uses: actions/cache@v2
- with:
- path: |
- ~/.m2/repository/*/*/*
- !~/.m2/repository/org/apache/pulsar
- key: ${{ runner.os }}-m2-dependencies-website-${{
hashFiles('**/pom.xml') }}
- restore-keys: |
- ${{ runner.os }}-m2-dependencies-all-${{ hashFiles('**/pom.xml') }}
- ${{ runner.os }}-m2-dependencies-core-modules-${{
hashFiles('**/pom.xml') }}
- ${{ runner.os }}-m2-dependencies-core-modules-
+ # - name: Cache local Maven repository
+ # uses: actions/cache@v2
+ # with:
+ # path: |
+ # ~/.m2/repository/*/*/*
+ # !~/.m2/repository/org/apache/pulsar
+ # key: ${{ runner.os }}-m2-dependencies-website-${{
hashFiles('**/pom.xml') }}
+ # restore-keys: |
+ # ${{ runner.os }}-m2-dependencies-all-${{ hashFiles('**/pom.xml')
}}
+ # ${{ runner.os }}-m2-dependencies-core-modules-${{
hashFiles('**/pom.xml') }}
+ # ${{ runner.os }}-m2-dependencies-core-modules-
- - name: Set up JDK 11
- uses: actions/setup-java@v2
- with:
- distribution: "temurin"
- java-version: 11
+ # - name: Set up JDK 11
+ # uses: actions/setup-java@v2
+ # with:
+ # distribution: "temurin"
+ # java-version: 11
- - name: Clean disk
- run: |
- sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
- sudo apt clean
- docker rmi $(docker images -q) -f
- df -h
+ # - name: Clean disk
+ # run: |
+ # sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
+ # sudo apt clean
+ # docker rmi $(docker images -q) -f
+ # df -h
- - name: Clone Pulsar
- run: |
- cd ../
- git clone -b master --depth 1 https://github.com/apache/pulsar.git
- rm -rf pulsar/.git
- rm -rf pulsar/site2
- mv pulsar/* pulsar-site/
+ # - name: Clone Pulsar
+ # run: |
+ # cd ../
+ # git clone -b master --depth 1 https://github.com/apache/pulsar.git
+ # rm -rf pulsar/.git
+ # rm -rf pulsar/site2
+ # mv pulsar/* pulsar-site/
- - name: Run install by skip tests
- run: mvn -q -B -ntp install -Pcore-modules,-main -DskipTests
-DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true
+ # - name: Run install by skip tests
+ # run: mvn -q -B -ntp install -Pcore-modules,-main -DskipTests
-DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true
- - name: Generate swagger json file
- run: mvn -B -ntp -pl pulsar-broker install -DskipTests -Pswagger
+ # - name: Generate swagger json file
+ # run: mvn -B -ntp -pl pulsar-broker install -DskipTests -Pswagger
- - name: Publish
- env:
- GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
- CROWDIN_PERSONAL_TOKEN: ${{
secrets.NEXT_CROWDIN_DOCUSAURUS_API_TOKEN }}
- run: |
- echo "Copying swagger json file ..."
- mkdir -p site2/website-next/static/swagger/master/
- cp pulsar-broker/target/docs/swagger*.json
site2/website-next/static/swagger/master
- echo "Copied swagger json file."
- echo "Building Website"
- # Build the new website
- sed -i "s#CROWDIN_PERSONAL_TOKEN#$CROWDIN_PERSONAL_TOKEN#g"
site2/website-next/crowdin.yml
- site2/tools/docker-build-site.sh next ${{
steps.changed-files.outputs.all_changed_and_modified_files }}
- bash -e site2/tools/publish-website.sh next
+ # - name: Publish
+ # env:
+ # GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
+ # CROWDIN_PERSONAL_TOKEN: ${{
secrets.NEXT_CROWDIN_DOCUSAURUS_API_TOKEN }}
+ # run: |
+ # echo "Copying swagger json file ..."
+ # mkdir -p site2/website-next/static/swagger/master/
+ # cp pulsar-broker/target/docs/swagger*.json
site2/website-next/static/swagger/master
+ # echo "Copied swagger json file."
+ # echo "Building Website"
+ # # Build the new website
+ # sed -i "s#CROWDIN_PERSONAL_TOKEN#$CROWDIN_PERSONAL_TOKEN#g"
site2/website-next/crowdin.yml
+ # site2/tools/docker-build-site.sh next ${{
steps.changed-files.outputs.all_changed_and_modified_files }}
+ # bash -e site2/tools/publish-website.sh next
diff --git a/site2/website-next/docs/about.md b/site2/website-next/docs/about.md
index 2b61df7..93376fb 100644
--- a/site2/website-next/docs/about.md
+++ b/site2/website-next/docs/about.md
@@ -17,6 +17,7 @@ This portal holds a variety of support documents to help you
work with Pulsar .
If you’re an experienced coder, review this page to learn the easiest way to
access the specific content you’re looking for.
## Navigation
+
***
There are several ways to get around in the doc portal. The index navigation
pane is a table of contents for the entire archive. The archive is divided into
sections, like chapters in a book. Click the title of the topic to view it.
diff --git a/site2/website-next/versioned_docs/version-2.7.0/adaptors-kafka.md
b/site2/website-next/versioned_docs/version-2.7.0/adaptors-kafka.md
index f6ab170..5d0eab9 100644
--- a/site2/website-next/versioned_docs/version-2.7.0/adaptors-kafka.md
+++ b/site2/website-next/versioned_docs/version-2.7.0/adaptors-kafka.md
@@ -5,7 +5,6 @@ sidebar_label: "Kafka client wrapper"
original_id: adaptors-kafka
---
-
Pulsar provides an easy option for applications that are currently written
using the [Apache Kafka](http://kafka.apache.org) Java client API.
## Using the Pulsar Kafka compatibility wrapper