mirror of https://github.com/status-im/consul.git
Bump up compatibility test runner (#19081)
This commit is contained in:
parent
079c9d6927
commit
ca4ff6ba1d
|
@ -32,14 +32,14 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
conditional-skip:
|
conditional-skip:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Get files changed and conditionally skip CI
|
name: Get files changed and conditionally skip CI
|
||||||
outputs:
|
outputs:
|
||||||
skip-ci: ${{ steps.read-files.outputs.skip-ci }}
|
skip-ci: ${{ steps.read-files.outputs.skip-ci }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: read-files
|
id: read-files
|
||||||
run: ./.github/scripts/filter_changed_files_go_test.sh
|
run: ./.github/scripts/filter_changed_files_go_test.sh
|
||||||
|
@ -262,7 +262,7 @@ jobs:
|
||||||
# multiplied by 8 based on these values:
|
# multiplied by 8 based on these values:
|
||||||
# envoy-version: ["1.24.10", "1.25.9", "1.26.4", "1.27.0"]
|
# envoy-version: ["1.24.10", "1.25.9", "1.26.4", "1.27.0"]
|
||||||
# xds-target: ["server", "client"]
|
# xds-target: ["server", "client"]
|
||||||
TOTAL_RUNNERS: 4
|
TOTAL_RUNNERS: 4
|
||||||
JQ_SLICER: '[ inputs ] | [_nwise(length / $runnercount | floor)]'
|
JQ_SLICER: '[ inputs ] | [_nwise(length / $runnercount | floor)]'
|
||||||
run: |
|
run: |
|
||||||
NUM_RUNNERS=$TOTAL_RUNNERS
|
NUM_RUNNERS=$TOTAL_RUNNERS
|
||||||
|
@ -375,7 +375,7 @@ jobs:
|
||||||
run: datadog-ci junit upload --service "$GITHUB_REPOSITORY" $TEST_RESULTS_DIR/results.xml
|
run: datadog-ci junit upload --service "$GITHUB_REPOSITORY" $TEST_RESULTS_DIR/results.xml
|
||||||
|
|
||||||
compatibility-integration-test:
|
compatibility-integration-test:
|
||||||
runs-on: ${{ fromJSON(needs.setup.outputs.compute-large) }}
|
runs-on: ${{ fromJSON(needs.setup.outputs.compute-xl) }} # NOTE: do not change without tuning the -p and -parallel flags in go test.
|
||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
- dev-build
|
- dev-build
|
||||||
|
@ -431,11 +431,13 @@ jobs:
|
||||||
docker run --rm ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local consul version
|
docker run --rm ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local consul version
|
||||||
go run gotest.tools/gotestsum@v${{env.GOTESTSUM_VERSION}} \
|
go run gotest.tools/gotestsum@v${{env.GOTESTSUM_VERSION}} \
|
||||||
--raw-command \
|
--raw-command \
|
||||||
--format=standard-verbose \
|
--format=pkgname-and-test-fails \
|
||||||
--debug \
|
--debug \
|
||||||
--rerun-fails=3 \
|
--rerun-fails=3 \
|
||||||
-- \
|
-- \
|
||||||
go test \
|
go test \
|
||||||
|
-p=6 \
|
||||||
|
-parallel=4 \
|
||||||
-tags "${{ env.GOTAGS }}" \
|
-tags "${{ env.GOTAGS }}" \
|
||||||
-timeout=30m \
|
-timeout=30m \
|
||||||
-json \
|
-json \
|
||||||
|
@ -487,7 +489,7 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
test-integrations-success:
|
test-integrations-success:
|
||||||
needs:
|
needs:
|
||||||
- conditional-skip
|
- conditional-skip
|
||||||
- setup
|
- setup
|
||||||
- dev-build
|
- dev-build
|
||||||
|
|
Loading…
Reference in New Issue