Commit 7c0d1605 authored by Yossi Gottlieb's avatar Yossi Gottlieb Committed by Oran Agra
Browse files

CI: Update vmaction. (#11013)


(cherry picked from commit b550a55c)
parent b2a250ce
...@@ -674,7 +674,7 @@ jobs: ...@@ -674,7 +674,7 @@ jobs:
run: ./runtest-cluster ${{github.event.inputs.cluster_test_args}} run: ./runtest-cluster ${{github.event.inputs.cluster_test_args}}
test-freebsd: test-freebsd:
runs-on: macos-10.15 runs-on: macos-12
if: | if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'redis/redis')) && (github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'redis/redis')) &&
!contains(github.event.inputs.skipjobs, 'freebsd') && !(contains(github.event.inputs.skiptests, 'redis') && contains(github.event.inputs.skiptests, 'modules')) !contains(github.event.inputs.skipjobs, 'freebsd') && !(contains(github.event.inputs.skiptests, 'redis') && contains(github.event.inputs.skiptests, 'modules'))
...@@ -690,7 +690,7 @@ jobs: ...@@ -690,7 +690,7 @@ jobs:
repository: ${{ env.GITHUB_REPOSITORY }} repository: ${{ env.GITHUB_REPOSITORY }}
ref: ${{ env.GITHUB_HEAD_REF }} ref: ${{ env.GITHUB_HEAD_REF }}
- name: test - name: test
uses: vmactions/freebsd-vm@v0.1.6 uses: vmactions/freebsd-vm@v0.2.0
with: with:
usesh: true usesh: true
sync: rsync sync: rsync
...@@ -702,7 +702,7 @@ jobs: ...@@ -702,7 +702,7 @@ jobs:
if echo "${{github.event.inputs.skiptests}}" | grep -vq modules ; then MAKE=gmake ./runtest-moduleapi --verbose --timeout 2400 --no-latency --dump-logs ${{github.event.inputs.test_args}} || exit 1 ; fi ; if echo "${{github.event.inputs.skiptests}}" | grep -vq modules ; then MAKE=gmake ./runtest-moduleapi --verbose --timeout 2400 --no-latency --dump-logs ${{github.event.inputs.test_args}} || exit 1 ; fi ;
test-freebsd-sentinel: test-freebsd-sentinel:
runs-on: macos-10.15 runs-on: macos-12
if: | if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'redis/redis')) && (github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'redis/redis')) &&
!contains(github.event.inputs.skipjobs, 'freebsd') && !contains(github.event.inputs.skiptests, 'sentinel') !contains(github.event.inputs.skipjobs, 'freebsd') && !contains(github.event.inputs.skiptests, 'sentinel')
...@@ -718,7 +718,7 @@ jobs: ...@@ -718,7 +718,7 @@ jobs:
repository: ${{ env.GITHUB_REPOSITORY }} repository: ${{ env.GITHUB_REPOSITORY }}
ref: ${{ env.GITHUB_HEAD_REF }} ref: ${{ env.GITHUB_HEAD_REF }}
- name: test - name: test
uses: vmactions/freebsd-vm@v0.1.6 uses: vmactions/freebsd-vm@v0.2.0
with: with:
usesh: true usesh: true
sync: rsync sync: rsync
...@@ -729,7 +729,7 @@ jobs: ...@@ -729,7 +729,7 @@ jobs:
if echo "${{github.event.inputs.skiptests}}" | grep -vq sentinel ; then ./runtest-sentinel ${{github.event.inputs.cluster_test_args}} || exit 1 ; fi ; if echo "${{github.event.inputs.skiptests}}" | grep -vq sentinel ; then ./runtest-sentinel ${{github.event.inputs.cluster_test_args}} || exit 1 ; fi ;
test-freebsd-cluster: test-freebsd-cluster:
runs-on: macos-10.15 runs-on: macos-12
if: | if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'redis/redis')) && (github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'redis/redis')) &&
!contains(github.event.inputs.skipjobs, 'freebsd') && !contains(github.event.inputs.skiptests, 'cluster') !contains(github.event.inputs.skipjobs, 'freebsd') && !contains(github.event.inputs.skiptests, 'cluster')
...@@ -745,7 +745,7 @@ jobs: ...@@ -745,7 +745,7 @@ jobs:
repository: ${{ env.GITHUB_REPOSITORY }} repository: ${{ env.GITHUB_REPOSITORY }}
ref: ${{ env.GITHUB_HEAD_REF }} ref: ${{ env.GITHUB_HEAD_REF }}
- name: test - name: test
uses: vmactions/freebsd-vm@v0.1.6 uses: vmactions/freebsd-vm@v0.2.0
with: with:
usesh: true usesh: true
sync: rsync sync: rsync
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment