You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by ji...@apache.org on 2023/06/13 03:42:31 UTC

[rocketmq-test-tool] branch main updated (7d84d27 -> 136205c)

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

jinrongtong pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git


    from 7d84d27  support multiple language test
     new 9c66175  Create github-actions-demoyml
     new 8905d32  this is for action test
     new 215f19b  Create github-actions-demo.yml
     new 200ccd3  Create rocketmqTest.yml
     new 43fd365  Update entry.sh
     new a50f421  Update entry.sh
     new 7410587  Update entry.sh
     new 2d843f5  Update entry.sh
     new 1ce4dcc  Update entry.sh
     new 3319352  Update entry.sh
     new 0ad38ba  Delete .github/workflows directory
     new 71d0ef7  Update entry.sh
     new da465f3  Delete rocketmqTest.yml
     new 136205c  Delete testAction.txt

The 14 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 entry.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[rocketmq-test-tool] 03/14: Create github-actions-demo.yml

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 215f19bf95889ae6b789113a66599f514b853998
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Thu May 4 16:53:38 2023 +0800

    Create github-actions-demo.yml
---
 .github/workflows/github-actions-demo.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml
new file mode 100644
index 0000000..e007988
--- /dev/null
+++ b/.github/workflows/github-actions-demo.yml
@@ -0,0 +1,18 @@
+name: GitHub Actions Demo
+run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
+on: [push]
+jobs:
+  Explore-GitHub-Actions:
+    runs-on: ubuntu-latest
+    steps:
+      - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
+      - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
+      - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
+      - name: Check out repository code
+        uses: actions/checkout@v3
+      - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
+      - run: echo "🖥️ The workflow is now ready to test your code on the runner."
+      - name: List files in the repository
+        run: |
+          ls ${{ github.workspace }}
+      - run: echo "🍏 This job's status is ${{ job.status }}."


[rocketmq-test-tool] 11/14: Delete .github/workflows directory

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 0ad38bad62d7d7f9cb9226cf8e7c3e120ace9eb1
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Tue Jun 13 09:27:15 2023 +0800

    Delete .github/workflows directory
---
 .github/workflows/github-actions-demo.yml | 18 ------------------
 .github/workflows/github-actions-demoyml  | 18 ------------------
 2 files changed, 36 deletions(-)

diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml
deleted file mode 100644
index e007988..0000000
--- a/.github/workflows/github-actions-demo.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: GitHub Actions Demo
-run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
-on: [push]
-jobs:
-  Explore-GitHub-Actions:
-    runs-on: ubuntu-latest
-    steps:
-      - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
-      - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
-      - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
-      - name: Check out repository code
-        uses: actions/checkout@v3
-      - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
-      - run: echo "🖥️ The workflow is now ready to test your code on the runner."
-      - name: List files in the repository
-        run: |
-          ls ${{ github.workspace }}
-      - run: echo "🍏 This job's status is ${{ job.status }}."
diff --git a/.github/workflows/github-actions-demoyml b/.github/workflows/github-actions-demoyml
deleted file mode 100644
index e007988..0000000
--- a/.github/workflows/github-actions-demoyml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: GitHub Actions Demo
-run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
-on: [push]
-jobs:
-  Explore-GitHub-Actions:
-    runs-on: ubuntu-latest
-    steps:
-      - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
-      - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
-      - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
-      - name: Check out repository code
-        uses: actions/checkout@v3
-      - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
-      - run: echo "🖥️ The workflow is now ready to test your code on the runner."
-      - name: List files in the repository
-        run: |
-          ls ${{ github.workspace }}
-      - run: echo "🍏 This job's status is ${{ job.status }}."


[rocketmq-test-tool] 01/14: Create github-actions-demoyml

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 9c66175abd36170ef88d97271ea74a5d331b0325
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Thu May 4 16:22:35 2023 +0800

    Create github-actions-demoyml
---
 .github/workflows/github-actions-demoyml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.github/workflows/github-actions-demoyml b/.github/workflows/github-actions-demoyml
new file mode 100644
index 0000000..e007988
--- /dev/null
+++ b/.github/workflows/github-actions-demoyml
@@ -0,0 +1,18 @@
+name: GitHub Actions Demo
+run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
+on: [push]
+jobs:
+  Explore-GitHub-Actions:
+    runs-on: ubuntu-latest
+    steps:
+      - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
+      - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
+      - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
+      - name: Check out repository code
+        uses: actions/checkout@v3
+      - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
+      - run: echo "🖥️ The workflow is now ready to test your code on the runner."
+      - name: List files in the repository
+        run: |
+          ls ${{ github.workspace }}
+      - run: echo "🍏 This job's status is ${{ job.status }}."


[rocketmq-test-tool] 08/14: Update entry.sh

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 2d843f58e74eaaec64fbf560accd105255f67774
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Mon Jun 12 17:22:24 2023 +0800

    Update entry.sh
---
 entry.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/entry.sh b/entry.sh
index 6778cec..2ca7ae0 100755
--- a/entry.sh
+++ b/entry.sh
@@ -49,8 +49,7 @@ echo "************************************"
 echo "*          Set config...           *"
 echo "************************************"
 mkdir -p ${HOME}/.kube
-#kube_config=$(echo "${ASK_CONFIG}" | base64 -d)
-kube_config=$(echo "${ASK_CONFIG}")
+kube_config=$(echo "${ASK_CONFIG}" | base64 -d)
 echo "${kube_config}" > ${HOME}/.kube/config
 export KUBECONFIG="${HOME}/.kube/config"
 


[rocketmq-test-tool] 07/14: Update entry.sh

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 74105870ef1e87000a2c77c00abd6d5b64e44ab6
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Thu Jun 8 15:08:45 2023 +0800

    Update entry.sh
---
 entry.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/entry.sh b/entry.sh
index 491a80f..6778cec 100755
--- a/entry.sh
+++ b/entry.sh
@@ -74,12 +74,12 @@ spec:
         url: ${CHART_GIT}
         values:
 ${YAML_VALUES}'
-export env_uuid
+
 echo -e "${VELA_APP_TEMPLATE}" > ./velaapp.yaml
 sed -i '1d' ./velaapp.yaml
 
 env_uuid=${REPO_NAME}-${GITHUB_RUN_ID}-${JOB_INDEX}
-
+export env_uuid
 
 if [ ${ACTION} == "deploy" ]; then
   echo "************************************"


[rocketmq-test-tool] 02/14: this is for action test

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 8905d321a2238a3d6aa6ae127c4d10c4a42c8244
Author: Wuyunfan-BUPT <15...@qq.com>
AuthorDate: Thu May 4 16:50:18 2023 +0800

    this is for action test
---
 testAction.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testAction.txt b/testAction.txt
new file mode 100644
index 0000000..5838274
--- /dev/null
+++ b/testAction.txt
@@ -0,0 +1 @@
+this is for test


[rocketmq-test-tool] 13/14: Delete rocketmqTest.yml

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit da465f3a871e1295297ee97d0a29665839da340b
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Tue Jun 13 09:51:04 2023 +0800

    Delete rocketmqTest.yml
---
 test-runner/rocketmqTest.yml | 39 ---------------------------------------
 1 file changed, 39 deletions(-)

diff --git a/test-runner/rocketmqTest.yml b/test-runner/rocketmqTest.yml
deleted file mode 100644
index c1cf5e0..0000000
--- a/test-runner/rocketmqTest.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-name: TEST_ROCKETMQ_TEST_TOOL
-
-on: [push]
-
-env:
-  ACTION: deploy
-  VERSION: Wuyunfan-BUPT-patch-13-1bcdbc6f-810c-483f-8cc8-ec7767d62ad5-ubuntu
-  ASK_CONFIG: abcdefghijklmnopqlstuvwxyz
-  DOCKER_REPO_USERNAME: ${{ secrets.DOCKERHUB_USER }}
-  DOCKER_REPO_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
-  CHART_GIT: https://ghproxy.com/https://github.com/apache/rocketmq-docker.git
-  CHART_BRANCH: master
-  CHART_PATH: ./rocketmq-k8s-helm
-  TEST_CODE_GIT: https://ghproxy.com/https://github.com/apache/rocketmq-e2e.git
-  TEST_CODE_BRANCH: master
-  TEST_CODE_PATH: java/e2e
-  TEST_CMD_BASE: mvn -B test
-  JOB_INDEX: 1
-
-jobs:
-  print-values:
-    name: print all values
-    runs-on: ubuntu-latest
-    timeout-minutes:
-    steps:
-      - name: print current diectory
-        run: ls ./
-      - name: print GITHUB_REPOSITORY
-        run: echo "${GITHUB_REPOSITORY#*/} | sed -e "s/\//-/g" | cut -c1-36 | tr '[A-Z]' '[a-z]'"
-      - name: print GITHUB_WORKFLOW
-        run: echo "${GITHUB_WORKFLOW}"
-      - name: print GITHUB_RUN_ID
-        run: echo "${GITHUB_RUN_ID}"
-      - name: print home
-        run: echo "${HOME}"
-      - name: execute scripts
-        run: ./entry1.sh
-      
-      


[rocketmq-test-tool] 12/14: Update entry.sh

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 71d0ef73701f0568f8ee4c2a1de87925ab8337d4
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Tue Jun 13 09:49:58 2023 +0800

    Update entry.sh
---
 entry.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entry.sh b/entry.sh
index e1c45c5..0e814f4 100755
--- a/entry.sh
+++ b/entry.sh
@@ -78,7 +78,7 @@ echo -e "${VELA_APP_TEMPLATE}" > ./velaapp.yaml
 sed -i '1d' ./velaapp.yaml
 
 env_uuid=${REPO_NAME}-${GITHUB_RUN_ID}-${JOB_INDEX}
-export env_uuid
+
 
 if [ ${ACTION} == "deploy" ]; then
   echo "************************************"


[rocketmq-test-tool] 05/14: Update entry.sh

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 43fd36538b9400ce25480cd4d7f2d116734ab857
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Thu Jun 8 13:35:03 2023 +0800

    Update entry.sh
---
 entry.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/entry.sh b/entry.sh
index b3d064d..606a500 100755
--- a/entry.sh
+++ b/entry.sh
@@ -49,7 +49,8 @@ echo "************************************"
 echo "*          Set config...           *"
 echo "************************************"
 mkdir -p ${HOME}/.kube
-kube_config=$(echo "${ASK_CONFIG}" | base64 -d)
+#kube_config=$(echo "${ASK_CONFIG}" | base64 -d)
+kube_config=$(echo "${ASK_CONFIG}")
 echo "${kube_config}" > ${HOME}/.kube/config
 export KUBECONFIG="${HOME}/.kube/config"
 


[rocketmq-test-tool] 06/14: Update entry.sh

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit a50f421de1fb94bcd06560155ab58ed226da1f1b
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Thu Jun 8 14:47:44 2023 +0800

    Update entry.sh
---
 entry.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entry.sh b/entry.sh
index 606a500..491a80f 100755
--- a/entry.sh
+++ b/entry.sh
@@ -74,7 +74,7 @@ spec:
         url: ${CHART_GIT}
         values:
 ${YAML_VALUES}'
-
+export env_uuid
 echo -e "${VELA_APP_TEMPLATE}" > ./velaapp.yaml
 sed -i '1d' ./velaapp.yaml
 


[rocketmq-test-tool] 04/14: Create rocketmqTest.yml

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 200ccd30f4e946b0efebddb17ccde9af5465d1f4
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Sat May 6 16:34:42 2023 +0800

    Create rocketmqTest.yml
---
 test-runner/rocketmqTest.yml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/test-runner/rocketmqTest.yml b/test-runner/rocketmqTest.yml
new file mode 100644
index 0000000..c1cf5e0
--- /dev/null
+++ b/test-runner/rocketmqTest.yml
@@ -0,0 +1,39 @@
+name: TEST_ROCKETMQ_TEST_TOOL
+
+on: [push]
+
+env:
+  ACTION: deploy
+  VERSION: Wuyunfan-BUPT-patch-13-1bcdbc6f-810c-483f-8cc8-ec7767d62ad5-ubuntu
+  ASK_CONFIG: abcdefghijklmnopqlstuvwxyz
+  DOCKER_REPO_USERNAME: ${{ secrets.DOCKERHUB_USER }}
+  DOCKER_REPO_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
+  CHART_GIT: https://ghproxy.com/https://github.com/apache/rocketmq-docker.git
+  CHART_BRANCH: master
+  CHART_PATH: ./rocketmq-k8s-helm
+  TEST_CODE_GIT: https://ghproxy.com/https://github.com/apache/rocketmq-e2e.git
+  TEST_CODE_BRANCH: master
+  TEST_CODE_PATH: java/e2e
+  TEST_CMD_BASE: mvn -B test
+  JOB_INDEX: 1
+
+jobs:
+  print-values:
+    name: print all values
+    runs-on: ubuntu-latest
+    timeout-minutes:
+    steps:
+      - name: print current diectory
+        run: ls ./
+      - name: print GITHUB_REPOSITORY
+        run: echo "${GITHUB_REPOSITORY#*/} | sed -e "s/\//-/g" | cut -c1-36 | tr '[A-Z]' '[a-z]'"
+      - name: print GITHUB_WORKFLOW
+        run: echo "${GITHUB_WORKFLOW}"
+      - name: print GITHUB_RUN_ID
+        run: echo "${GITHUB_RUN_ID}"
+      - name: print home
+        run: echo "${HOME}"
+      - name: execute scripts
+        run: ./entry1.sh
+      
+      


[rocketmq-test-tool] 09/14: Update entry.sh

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 1ce4dccc1964ca82953c001ad55af6c1f729dedb
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Mon Jun 12 17:23:56 2023 +0800

    Update entry.sh
---
 entry.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entry.sh b/entry.sh
index 2ca7ae0..6ca5dbb 100755
--- a/entry.sh
+++ b/entry.sh
@@ -104,7 +104,7 @@ if [ ${ACTION} == "deploy" ]; then
   let count=0
   while [ -z "$res" ]
   do
-      if [ $count -gt 120 ]; then
+      if [ $count -gt 180 ]; then
         echo "env ${app} deploy timeout..."
         exit 1
       fi


[rocketmq-test-tool] 10/14: Update entry.sh

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 331935210c7c00cceb09d11e480a667fe1b8f9bd
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Mon Jun 12 18:40:18 2023 +0800

    Update entry.sh
---
 entry.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entry.sh b/entry.sh
index 6ca5dbb..e1c45c5 100755
--- a/entry.sh
+++ b/entry.sh
@@ -104,7 +104,7 @@ if [ ${ACTION} == "deploy" ]; then
   let count=0
   while [ -z "$res" ]
   do
-      if [ $count -gt 180 ]; then
+      if [ $count -gt 240 ]; then
         echo "env ${app} deploy timeout..."
         exit 1
       fi


[rocketmq-test-tool] 14/14: Delete testAction.txt

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit 136205caa6e97f81744e30adea114dd2f09cc55e
Author: Wuyunfan-BUPT <30...@users.noreply.github.com>
AuthorDate: Tue Jun 13 09:51:51 2023 +0800

    Delete testAction.txt
---
 testAction.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testAction.txt b/testAction.txt
deleted file mode 100644
index 5838274..0000000
--- a/testAction.txt
+++ /dev/null
@@ -1 +0,0 @@
-this is for test