Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: dashanji <dashanjic@gmail.com>
  • Loading branch information
dashanji committed Sep 1, 2023
1 parent e68eff1 commit 0e95866
Show file tree
Hide file tree
Showing 11 changed files with 87 additions and 78 deletions.
138 changes: 74 additions & 64 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Build
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand All @@ -75,178 +75,188 @@ jobs:
name: e2e tests(oap+ui+agent)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test(oap+ui+agent)
uses: apache/skywalking-infra-e2e@main # always prefer to use a revision instead of `main`.
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205 # always prefer to use a revision instead of `main`.
with:
e2e-file: test/e2e/oap-ui-agent/e2e.yaml # need to run E2E file path
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
swagent-e2e-tests:
name: e2e tests(oap+ui+swagent)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test(oap+ui+agent)
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/oap-ui-swagent/e2e.yaml
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
swagent-configmap-e2e-tests:
name: e2e tests(oap+ui+swagent+configmap)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test(oap+ui+agent+configmap)
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/oap-ui-swagent-configmap/e2e.yaml
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
internel-storage-e2e-tests:
name: e2e tests(oap+ui+agent+internel-storage)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/oap-ui-agent-internal-storage/e2e.yaml
- uses: actions/upload-artifact@v2
if: ${{ failure() }}
name: Upload internal Logs
with:
name: internal-storage-logs
path: "${{ env.SW_INFRA_E2E_LOG_DIR }}"
path: "${{ env.SW_INFRA_E2E_LOG_DIR }}"
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
external-storage-e2e-tests:
name: e2e tests(oap+ui+agent+external-storage)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/oap-ui-agent-external-storage/e2e.yaml
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
banyandb-e2e-tests:
name: e2e tests(oap+ui+agent+banyandb)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/banyandb/e2e.yaml
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
adapter-hpa-e2e-tests:
name: e2e tests(oap+agent+adapter+hpa)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/oap-agent-adapter-hpa/e2e.yaml
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
e2e-tests-with-satellite:
name: e2e tests(oap+ui+agent+satellite)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/oap-ui-agent-satellite/e2e.yaml
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
adapter-satellite-hpa-e2e-tests:
name: e2e tests(oap+agent+satellite+adapter+hpa)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/oap-satellite-adapter-hpa/e2e.yaml
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
oapserver-configuration-e2e-tests:
name: e2e tests(oap+ui+agent+oapserverconfig+oapserverdynamicconfig)
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: free disk space
run: bash .github/free-disk-space.sh
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run E2E Test
uses: apache/skywalking-infra-e2e@main
uses: apache/skywalking-infra-e2e@996ed8902e941e2883fcf0ac5b3090364942d205
with:
e2e-file: test/e2e/oap-ui-agent-oapserverconfig-oapserverdynamicconfig/e2e.yaml
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
checks:
name: build
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/banyandb/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ setup:
timeout: 20m

cleanup:
on: always
on: never

trigger:
action: http
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/oap-agent-adapter-hpa/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ setup:
timeout: 20m

cleanup:
# always never success failure
on: always
on: never

trigger:
action: http
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/oap-satellite-adapter-hpa/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ setup:
port: 12800
timeout: 20m

cleanup:
on: never

trigger:
action: http
interval: 30s
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/oap-ui-agent-external-storage/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ setup:
timeout: 20m

cleanup:
# always never success failure
on: always
on: never

trigger:
action: http
Expand Down
1 change: 0 additions & 1 deletion test/e2e/oap-ui-agent-internal-storage/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ setup:
timeout: 20m

cleanup:
# always never success failure
on: never

trigger:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ setup:
timeout: 20m

cleanup:
# always never success failure
on: always
on: never

trigger:
action: http
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/oap-ui-agent-satellite/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ setup:
port: 80
timeout: 20m

cleanup:
on: never

trigger:
action: http
interval: 10s
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/oap-ui-agent/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ setup:
timeout: 20m

cleanup:
# always never success failure
on: always
on: never

trigger:
action: http
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/oap-ui-swagent-configmap/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ setup:
timeout: 20m

cleanup:
# always never success failure
on: always
on: never

trigger:
action: http
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/oap-ui-swagent/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ setup:
timeout: 20m

cleanup:
# always never success failure
on: always
on: never

trigger:
action: http
Expand Down

0 comments on commit 0e95866

Please sign in to comment.