Skip to content

Commit

Permalink
fix(ci): temporarily disable the remoting e2e test. (#846)
Browse files Browse the repository at this point in the history
Signed-off-by: SSpirits <admin@lv5.moe>
  • Loading branch information
ShadowySpirits authored Dec 20, 2023
1 parent 35cbeaa commit a27786d
Showing 1 changed file with 47 additions and 46 deletions.
93 changes: 47 additions & 46 deletions .github/workflows/pr-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,55 +177,56 @@ jobs:
include_passed: true
detailed_summary: true

test-e2e-remoting-java:
if: ${{ success() }}
name: Test E2E remoting java
needs: [ list-version, deploy ]
runs-on: private-k3s
timeout-minutes: 60
strategy:
matrix:
version: ${{ fromJSON(needs.list-version.outputs.version-json) }}
steps:
- name: Delay
env:
DELAY_SECONDS: 30
run: |
sleep $DELAY_SECONDS
- uses: actions/checkout@v3
with:
submodules: true
- name: Install flatc
run: sudo bash install_flatc.sh
- name: Build rocketmq dependency
run: |
mvn clean install -U -DskipTests
- uses: actions/checkout@v3
if: always()
with:
repository: AutoMQ/rocketmq-e2e
ref: master
path: rocketmq-e2e
- name: e2e test
env:
HELM_NAME: ${{ env.HELM_NAME }}
NAMESPACE: ${{ needs.deploy.outputs.namespace }}
run: |
cd rocketmq-e2e
cd java/e2e-v4 && mvn -B test -DnamesrvAddr=${HELM_NAME}-rocketmq-broker.${NAMESPACE}.svc.pve1.local:8081
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: '**/surefire-reports/TEST-*.xml'
annotate_only: true
include_passed: true
detailed_summary: true
# test-e2e-remoting-java:
# if: ${{ success() }}
# name: Test E2E remoting java
# needs: [ list-version, deploy ]
# runs-on: private-k3s
# timeout-minutes: 60
# strategy:
# matrix:
# version: ${{ fromJSON(needs.list-version.outputs.version-json) }}
# steps:
# - name: Delay
# env:
# DELAY_SECONDS: 30
# run: |
# sleep $DELAY_SECONDS
# - uses: actions/checkout@v3
# with:
# submodules: true
# - name: Install flatc
# run: sudo bash install_flatc.sh
# - name: Build rocketmq dependency
# run: |
# mvn clean install -U -DskipTests
# - uses: actions/checkout@v3
# if: always()
# with:
# repository: AutoMQ/rocketmq-e2e
# ref: master
# path: rocketmq-e2e
# - name: e2e test
# env:
# HELM_NAME: ${{ env.HELM_NAME }}
# NAMESPACE: ${{ needs.deploy.outputs.namespace }}
# run: |
# cd rocketmq-e2e
# cd java/e2e-v4 && mvn -B test -DnamesrvAddr=${HELM_NAME}-rocketmq-broker.${NAMESPACE}.svc.pve1.local:8081
# - name: Publish Test Report
# uses: mikepenz/action-junit-report@v3
# if: always() # always run even if the previous step fails
# with:
# report_paths: '**/surefire-reports/TEST-*.xml'
# annotate_only: true
# include_passed: true
# detailed_summary: true

clean:
if: always()
name: Clean
needs: [deploy, list-version, test-e2e-grpc-java, test-e2e-remoting-java]
# needs: [deploy, list-version, test-e2e-grpc-java, test-e2e-remoting-java]
needs: [deploy, list-version, test-e2e-grpc-java]
runs-on: private-k3s
timeout-minutes: 60
strategy:
Expand All @@ -238,4 +239,4 @@ jobs:
NAMESPACE: ${{ needs.deploy.outputs.namespace }}
run: |
bash clean-ci.sh ${NAMESPACE}
kubectl delete namespace $NAMESPACE
kubectl delete namespace $NAMESPACE

0 comments on commit a27786d

Please # to comment.