Skip to content

Commit

Permalink
Deploy Meta binary instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 19, 2024
1 parent dcbaa58 commit f70f7d9
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ jobs:
- 3306:3306
# Set health checks to wait until MySQL has started
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
meta:
# Default Meta
image: nacos/nacos-server:v2.3.2
env:
MODE: standalone
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
# meta:
# # Default Meta
# image: nacos/nacos-server:v2.3.2
# env:
# MODE: standalone
# 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

steps:
- name: Checkout repository
Expand All @@ -68,19 +68,29 @@ jobs:
java-version: ${{ matrix.java }}
cache: maven

# Default Event Store
- name: Download RocketMQ Binary
- name: Download Binary
run: |
wget https://github.com/alibaba/nacos/releases/download/2.3.2/nacos-server-2.3.2.zip
unzip nacos-server-2.3.2.zip -d nacos-server
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
unzip rocketmq-all-4.9.8-bin-release.zip -d rocketmq-all
- name: Set up Meta
working-directory: nacos-server
run: |
nohup bash bin/startup.sh -m standalone &
- name: Set up Event Store
working-directory: rocketmq-all-4.9.8-bin-release
working-directory: rocketmq-all
run: |
nohup sh bin/mqnamesrv &
sleep 5
nohup sh bin/mqbroker -n localhost:9876 &
# - name: Build latest EventMesh Runtime
# run: |
# git clone https://github.com/apache/eventmesh.git

- name: Build with Maven
run: ./mvnw -B package -DskipTests --file pom.xml

Expand Down

0 comments on commit f70f7d9

Please sign in to comment.