mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #17323 from serathius/robustness-lazyfs-arm64
Disable lazyfs test on arm64 machines
This commit is contained in:
commit
12cd4da770
5
.github/workflows/robustness-nightly.yaml
vendored
5
.github/workflows/robustness-nightly.yaml
vendored
@ -21,6 +21,7 @@ jobs:
|
||||
artifactName: main
|
||||
runs-on: "['ubuntu-latest-8-cores']"
|
||||
scenario: TestRobustnessExploratory
|
||||
lazyfsEnabled: true
|
||||
main-arm64:
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
@ -30,6 +31,7 @@ jobs:
|
||||
artifactName: main-arm64
|
||||
runs-on: "['actuated-arm64-8cpu-8gb']"
|
||||
scenario: TestRobustnessExploratory
|
||||
lazyfsEnabled: false
|
||||
release-35:
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
@ -39,6 +41,7 @@ jobs:
|
||||
artifactName: release-35
|
||||
runs-on: "['ubuntu-latest-8-cores']"
|
||||
scenario: TestRobustnessExploratory
|
||||
lazyfsEnabled: true
|
||||
release-35-arm64:
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
@ -48,6 +51,7 @@ jobs:
|
||||
artifactName: release-35-arm64
|
||||
runs-on: "['actuated-arm64-8cpu-8gb']"
|
||||
scenario: TestRobustnessExploratory
|
||||
lazyfsEnabled: false
|
||||
release-34:
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
@ -57,3 +61,4 @@ jobs:
|
||||
artifactName: release-34
|
||||
runs-on: "['ubuntu-latest-8-cores']"
|
||||
scenario: TestRobustnessExploratory
|
||||
lazyfsEnabled: true
|
||||
|
13
.github/workflows/robustness-template.yaml
vendored
13
.github/workflows/robustness-template.yaml
vendored
@ -23,6 +23,9 @@ on:
|
||||
scenario:
|
||||
required: true
|
||||
type: string
|
||||
lazyfsEnabled:
|
||||
required: true
|
||||
type: boolean
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
@ -36,6 +39,12 @@ jobs:
|
||||
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
|
||||
with:
|
||||
go-version: ${{ steps.goversion.outputs.goversion }}
|
||||
- name: install-lazyfs
|
||||
if: ${{ inputs.lazyfsEnabled }}
|
||||
run: |
|
||||
sudo apt update && sudo apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
|
||||
sudo sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
|
||||
make install-lazyfs
|
||||
- name: test-robustness
|
||||
env:
|
||||
ETCD_BRANCH: "${{ inputs.etcdBranch }}"
|
||||
@ -43,10 +52,6 @@ jobs:
|
||||
set -euo pipefail
|
||||
go clean -testcache
|
||||
|
||||
# Build LazyFS
|
||||
sudo apt update && sudo apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
|
||||
sudo sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
|
||||
make install-lazyfs
|
||||
# Use --failfast to avoid overriding report generated by failed test
|
||||
GO_TEST_FLAGS="-v --count ${{ inputs.count }} --timeout ${{ inputs.testTimeout }} --failfast --run ${{ inputs.scenario }}"
|
||||
case "${ETCD_BRANCH}" in
|
||||
|
2
.github/workflows/robustness.yaml
vendored
2
.github/workflows/robustness.yaml
vendored
@ -12,6 +12,7 @@ jobs:
|
||||
artifactName: main
|
||||
runs-on: "['ubuntu-latest-8-cores']"
|
||||
scenario: TestRobustness
|
||||
lazyfsEnabled: true
|
||||
main-arm64:
|
||||
uses: ./.github/workflows/robustness-template.yaml
|
||||
with:
|
||||
@ -21,3 +22,4 @@ jobs:
|
||||
artifactName: main-arm64
|
||||
runs-on: "['actuated-arm64-8cpu-8gb']"
|
||||
scenario: TestRobustness
|
||||
lazyfsEnabled: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user