-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from weibocom/dev
Dev
- Loading branch information
Showing
45 changed files
with
1,829 additions
and
1,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ env: | |
redis: localhost:56810 | ||
counterservice: localhost:9302 | ||
mc: localhost:9301 | ||
phantom: localhost:9303 | ||
min_key: 1 | ||
max_key: 10000 | ||
|
||
|
@@ -20,8 +21,13 @@ jobs: | |
|
||
steps: | ||
- name: Prepare Vintage_MC_Redis | ||
run: docker run -d -v /home/runner/work/breeze:/data1/resource/breeze --net="host" --name breeze_github_ci ficohu/breeze:githubci0011 | ||
run: docker run -d -v /home/runner/work/breeze:/data1/resource/breeze --net="host" --name breeze_github_ci 12323312323223/breeze:githubci105 | ||
- uses: actions/checkout@v3 | ||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
- name: Build | ||
run: cargo build | ||
- name: Check Vintage | ||
|
@@ -30,6 +36,8 @@ jobs: | |
curl http://127.0.0.1:8080/config/cloud/redis/testbreeze/redismeshtest | ||
curl http://127.0.0.1:8080/config/v1/cache.service.testbreeze.pool.yf/all | ||
curl http://127.0.0.1:8080/config/cloud/counterservice/testbreeze/meshtest | ||
curl http://127.0.0.1:8080/config/cloud/phantom/testbreeze/phantomtest | ||
curl http://127.0.0.1:8080/config/cloud/mq/testbreeze/mcqmeshtest | ||
- name: Create Socks | ||
run: | | ||
#ps -aux|grep breeze | ||
|
@@ -39,6 +47,7 @@ jobs: | |
touch /home/runner/work/breeze/socks/config+cloud+redis+testbreeze+redismeshtest@redis:56810@rs | ||
touch /home/runner/work/breeze/socks/config+v1+cache.service.testbreeze.pool.yf+all:meshtest@mc:9301@cs | ||
touch /home/runner/work/breeze/socks/config+cloud+counterservice+testbreeze+meshtest@redis:9302@rs | ||
touch /home/runner/work/breeze/socks/config+cloud+phantom+testbreeze+phantomtest@phantom:9303@pt | ||
ls -all /home/runner/work/breeze/snapshot | ||
ls -all /home/runner/work/breeze/socks | ||
ls -all /home/runner/work/breeze/logs | ||
|
@@ -57,5 +66,10 @@ jobs: | |
tail -10 /home/runner/work/breeze/logs/breeze.log | ||
#cat /home/runner/work/breeze/logs/log.file | ||
#cat /home/runner/work/breeze/logs/breeze.log | ||
- name: Run cargo-tarpaulin | ||
uses: actions-rs/[email protected] | ||
with: | ||
version: '0.15.0' | ||
args: '-v' | ||
- name: Run tests | ||
run: cargo test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ members = [ | |
"ds", | ||
"rt", | ||
"tests", | ||
"tests_ci", | ||
"tests_integration", | ||
] | ||
|
||
exclude = ["api", "tests"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.