Skip to content

Commit

Permalink
All set up
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 19, 2024
1 parent d7709f3 commit 5acff2f
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
matrix:
os: [ ubuntu-latest ]
java: [ 8, 11 ]
language: ['java']
language: [ 'java' ]
runs-on: ${{ matrix.os }}

services:
Expand All @@ -55,21 +55,6 @@ jobs:
ports:
- 8848:8848
options: --health-cmd="curl -X GET "http://localhost:8848/nacos/v1/cs/configs?dataId=*&group=&search=blur&pageNo=1&pageSize=10"" --health-interval=10s --health-timeout=5s --health-retries=3
# store-namesrv:
# image: apache/rocketmq:4.9.7
# ports:
# - 9876:9876
# options: >
# sh mqnamesrv
# --health-cmd="./mqadmin clusterList -n localhost:9876" --health-interval=10s --health-timeout=5s --health-retries=3
# store-broker:
# image: apache/rocketmq:4.9.7
# ports:
# - 10909:10909
# - 10911:10911
# options: >
# sh mqbroker -n localhost:9876
# --health-cmd="./mqadmin clusterRT -n localhost:9876" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- name: Checkout repository
Expand All @@ -87,15 +72,12 @@ jobs:
wget https://dist.apache.org/repos/dist/release/rocketmq/4.9.8/rocketmq-all-4.9.8-bin-release.zip
unzip rocketmq-all-4.9.8-bin-release.zip
- name: Set up RocketMQ Namesrv
- name: Set up RocketMQ
working-directory: rocketmq-all-4.9.8-bin-release
run: |
nohup sh bin/mqnamesrv &
sleep 5
- name: Set up RocketMQ Broker
working-directory: rocketmq-all-4.9.8-bin-release
run: nohup sh bin/mqbroker -n localhost:9876 &
nohup sh bin/mqbroker -n localhost:9876 &
- name: Build with Maven
run: ./mvnw -B package -DskipTests --file pom.xml
Expand Down

0 comments on commit 5acff2f

Please sign in to comment.