Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.3 pr #3

Merged
merged 2 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/benchmark-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
check-benchmark-path:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: 'apache/dubbo-samples'
ref: master
Expand All @@ -44,26 +44,26 @@ jobs:
outputs:
version: ${{ steps.dubbo-version.outputs.version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: dubbo
- name: "Dubbo cache"
id: dubbo-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository/org/apache/dubbo
key: ${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
- name: "Cache local Maven repository"
if: steps.dubbo-cache.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: "Set up JDK 17"
if: steps.dubbo-cache.outputs.cache-hit != 'true'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
Expand Down Expand Up @@ -92,31 +92,31 @@ jobs:
job_id: [ 1 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: 'apache/dubbo-samples'
ref: master
- name: "Cache local Maven repository"
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: "Restore Dubbo cache"
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository/org/apache/dubbo
key: ${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
- name: "Cache Skywalking Agent"
id: cache-skywalking-agent
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/skywalking-agent
key: ${{ runner.os }}-skywalking-agent-9.0.0
- name: "Cache MySQL Driver"
id: cache-mysql-driver
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/mysql-connector-java-8.0.23.jar
key: ${{ runner.os }}-mysql-driver-8.0.23
Expand All @@ -133,7 +133,7 @@ jobs:
cd 10-task/dubbo-samples-benchmark/dubbo-samples-benchmark-agent && mvn --batch-mode --no-snapshot-updates -e --no-transfer-progress clean package -Dmaven.test.skip=true -Dmaven.test.skip.exec=true
cp -f ./target/dubbo-samples-benchmark-agent.jar /tmp/skywalking-agent/plugins/
- name: "Set up JDK 8"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 8
Expand All @@ -152,14 +152,14 @@ jobs:
- name: "Run tests"
run: cd test && bash ./run-tests.sh ../10-task/dubbo-samples-benchmark/
- name: "Upload docker log"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-docker-log
path: |
./10-task/dubbo-samples-benchmark/target/logs/*.log
/tmp/skywalking-agent/logs/*.log
- name: "Upload jmh output result"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: samples-jmh-result
path: /tmp/jmh*.json
Expand Down
Loading
Loading