Skip to content

Commit

Permalink
xDS router and lb integration test 3
Browse files Browse the repository at this point in the history
Signed-off-by: daizhenyu <[email protected]>
  • Loading branch information
daizhenyu committed Oct 10, 2024
1 parent 6d2c21a commit ced44c6
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ runs:
cp -r sermant-integration-tests/xds-service-test/product/sermant-agent-*/agent sermant-integration-tests/xds-service-test/product/spring-client/
cp -r sermant-integration-tests/xds-service-test/product/sermant-agent-*/agent sermant-integration-tests/xds-service-test/product/spring-cloud-client/
cp -r sermant-integration-tests/xds-service-test/product/sermant-agent-*/agent sermant-integration-tests/xds-service-test/product/spring-server/
mvn package -Dspring.version=${{ matrix.springBootVersion }} \
-Dspringcloud.version=${{ matrix.springCloudVersion }} \
-Dhttpclient.version=${{ matrix.httpClientVersion }} \
-Dokhttp2.version=${{ matrix.okHttp2Version }} \
-Dhttpclient.async.version=${{ matrix.httpAsyncClientVersion }} \
-Dokhttp3.version=${{ matrix.okHttp3Version }} \
-DskipTests -pl spring-client,spring-cloud-client,spring-server -Pxds-router-lb --file \
mvn package -DskipTests -pl spring-client,spring-cloud-client,spring-server -Pxds-router-lb --file \
sermant-integration-tests/xds-service-test/pom.xml
- name: build docker image
shell: bash
Expand Down
96 changes: 48 additions & 48 deletions .github/workflows/agentcore_service_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,54 +145,54 @@ jobs:
# uses: ./.github/actions/common/agentcore
# - name: test dynamic config for ${{ matrix.dynamicConfigType }}
# uses: ./.github/actions/scenarios/agentcore/dynamic-config
test-for-xds-service-discovery-onlysermant:
name: Test for xds service discovery with only sermant
runs-on: ubuntu-latest
if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true'
needs: [set-execution-conditions, build-agent-and-cache]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 100
- name: set java version to environment
run: |
echo "javaVersion=8" >> $GITHUB_ENV
- name: xds common operation
uses: ./.github/actions/common/xds-service
- name: xds service discovery
uses: ./.github/actions/scenarios/xds-service/xds-service-discovery/sermant-only
test-for-xds-service-discovery-with-server-envoy:
name: Test for xds service discovery with spring-server using envoy
runs-on: ubuntu-latest
if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true'
needs: [set-execution-conditions, build-agent-and-cache]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 100
- name: set java version to environment
run: |
echo "javaVersion=8" >> $GITHUB_ENV
- name: xds common operation
uses: ./.github/actions/common/xds-service
- name: xds service discovery
uses: ./.github/actions/scenarios/xds-service/xds-service-discovery/server-envoy
test-for-xds-service-discovery-with-client-envoy:
name: Test for xds service discovery with spring-client using enovy
runs-on: ubuntu-latest
if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true'
needs: [set-execution-conditions, build-agent-and-cache]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 100
- name: set java version to environment
run: |
echo "javaVersion=8" >> $GITHUB_ENV
- name: xds common operation
uses: ./.github/actions/common/xds-service
- name: xds service discovery
uses: ./.github/actions/scenarios/xds-service/xds-service-discovery/client-envoy
# test-for-xds-service-discovery-onlysermant:
# name: Test for xds service discovery with only sermant
# runs-on: ubuntu-latest
# if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true'
# needs: [set-execution-conditions, build-agent-and-cache]
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 100
# - name: set java version to environment
# run: |
# echo "javaVersion=8" >> $GITHUB_ENV
# - name: xds common operation
# uses: ./.github/actions/common/xds-service
# - name: xds service discovery
# uses: ./.github/actions/scenarios/xds-service/xds-service-discovery/sermant-only
# test-for-xds-service-discovery-with-server-envoy:
# name: Test for xds service discovery with spring-server using envoy
# runs-on: ubuntu-latest
# if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true'
# needs: [set-execution-conditions, build-agent-and-cache]
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 100
# - name: set java version to environment
# run: |
# echo "javaVersion=8" >> $GITHUB_ENV
# - name: xds common operation
# uses: ./.github/actions/common/xds-service
# - name: xds service discovery
# uses: ./.github/actions/scenarios/xds-service/xds-service-discovery/server-envoy
# test-for-xds-service-discovery-with-client-envoy:
# name: Test for xds service discovery with spring-client using enovy
# runs-on: ubuntu-latest
# if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true'
# needs: [set-execution-conditions, build-agent-and-cache]
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 100
# - name: set java version to environment
# run: |
# echo "javaVersion=8" >> $GITHUB_ENV
# - name: xds common operation
# uses: ./.github/actions/common/xds-service
# - name: xds service discovery
# uses: ./.github/actions/scenarios/xds-service/xds-service-discovery/client-envoy
test-for-xds-router-lb:
name: Test for xds router and lb with router plugin
runs-on: ubuntu-latest
Expand Down

0 comments on commit ced44c6

Please sign in to comment.