Use windows-2019 for smoke tests (#5388)
This commit is contained in:
parent
3a2b2626a6
commit
7d255f2e82
|
@ -112,7 +112,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-2019
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
smoke-test-suite:
|
smoke-test-suite:
|
||||||
- jetty
|
- jetty
|
||||||
|
@ -124,13 +124,13 @@ jobs:
|
||||||
- wildfly
|
- wildfly
|
||||||
- other
|
- other
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-2019
|
||||||
smoke-test-suite: websphere
|
smoke-test-suite: websphere
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Support longpaths
|
- name: Support longpaths
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-2019
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
smoke-test-suite:
|
smoke-test-suite:
|
||||||
- jetty
|
- jetty
|
||||||
|
@ -113,13 +113,13 @@ jobs:
|
||||||
- wildfly
|
- wildfly
|
||||||
- other
|
- other
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-2019
|
||||||
smoke-test-suite: websphere
|
smoke-test-suite: websphere
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Support longpaths
|
- name: Support longpaths
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
|
|
@ -107,7 +107,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-2019
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
smoke-test-suite:
|
smoke-test-suite:
|
||||||
- jetty
|
- jetty
|
||||||
|
@ -119,13 +119,13 @@ jobs:
|
||||||
- wildfly
|
- wildfly
|
||||||
- other
|
- other
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-2019
|
||||||
smoke-test-suite: websphere
|
smoke-test-suite: websphere
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Support longpaths
|
- name: Support longpaths
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
cache-read-only: true
|
cache-read-only: true
|
||||||
|
|
||||||
buildWindows:
|
buildWindows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-2019
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
smoke-test-server:
|
smoke-test-server:
|
||||||
- jetty
|
- jetty
|
||||||
|
@ -23,13 +23,13 @@ jobs:
|
||||||
- websphere
|
- websphere
|
||||||
- wildfly
|
- wildfly
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-2019
|
||||||
smoke-test-server: websphere
|
smoke-test-server: websphere
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Support longpaths
|
- name: Support longpaths
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ jobs:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|
||||||
- name: Build Linux docker images
|
- name: Build Linux docker images
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-2019'
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: buildLinuxTestImages -PsmokeTestServer=${{ matrix.smoke-test-server }}
|
arguments: buildLinuxTestImages -PsmokeTestServer=${{ matrix.smoke-test-server }}
|
||||||
|
@ -48,7 +48,7 @@ jobs:
|
||||||
cache-read-only: true
|
cache-read-only: true
|
||||||
|
|
||||||
- name: Build Windows docker images
|
- name: Build Windows docker images
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: buildWindowsTestImages -PsmokeTestServer=${{ matrix.smoke-test-server }}
|
arguments: buildWindowsTestImages -PsmokeTestServer=${{ matrix.smoke-test-server }}
|
||||||
|
|
|
@ -163,7 +163,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-2019
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
smoke-test-suite:
|
smoke-test-suite:
|
||||||
- jetty
|
- jetty
|
||||||
|
@ -175,13 +175,13 @@ jobs:
|
||||||
- wildfly
|
- wildfly
|
||||||
- other
|
- other
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-2019
|
||||||
smoke-test-suite: websphere
|
smoke-test-suite: websphere
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Support longpaths
|
- name: Support longpaths
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
build-root-directory: smoke-tests/images/fake-backend
|
build-root-directory: smoke-tests/images/fake-backend
|
||||||
|
|
||||||
publishWindows:
|
publishWindows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-2019
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
smoke-test-server:
|
smoke-test-server:
|
||||||
- jetty
|
- jetty
|
||||||
|
@ -29,13 +29,13 @@ jobs:
|
||||||
- websphere
|
- websphere
|
||||||
- wildfly
|
- wildfly
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-2019
|
||||||
smoke-test-server: websphere
|
smoke-test-server: websphere
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Support longpaths
|
- name: Support longpaths
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
@ -56,14 +56,14 @@ jobs:
|
||||||
run: echo "TAG=$(date '+%Y%m%d').$GITHUB_RUN_ID" >> $GITHUB_ENV
|
run: echo "TAG=$(date '+%Y%m%d').$GITHUB_RUN_ID" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build Linux docker images
|
- name: Build Linux docker images
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-2019'
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: buildLinuxTestImages pushMatrix -PextraTag=${{ env.TAG }} -PsmokeTestServer=${{ matrix.smoke-test-server }}
|
arguments: buildLinuxTestImages pushMatrix -PextraTag=${{ env.TAG }} -PsmokeTestServer=${{ matrix.smoke-test-server }}
|
||||||
build-root-directory: smoke-tests/images/servlet
|
build-root-directory: smoke-tests/images/servlet
|
||||||
|
|
||||||
- name: Build Windows docker images
|
- name: Build Windows docker images
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: buildWindowsTestImages pushMatrix -PextraTag=${{ env.TAG }} -PsmokeTestServer=${{ matrix.smoke-test-server }}
|
arguments: buildWindowsTestImages pushMatrix -PextraTag=${{ env.TAG }} -PsmokeTestServer=${{ matrix.smoke-test-server }}
|
||||||
|
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-2019
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
smoke-test-suite:
|
smoke-test-suite:
|
||||||
- jetty
|
- jetty
|
||||||
|
@ -65,12 +65,12 @@ jobs:
|
||||||
- wildfly
|
- wildfly
|
||||||
- other
|
- other
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-2019
|
||||||
smoke-test-suite: websphere
|
smoke-test-suite: websphere
|
||||||
steps:
|
steps:
|
||||||
- name: Support longpaths
|
- name: Support longpaths
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -45,7 +45,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-2019
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
smoke-test-suite:
|
smoke-test-suite:
|
||||||
- jetty
|
- jetty
|
||||||
|
@ -57,12 +57,12 @@ jobs:
|
||||||
- wildfly
|
- wildfly
|
||||||
- other
|
- other
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-2019
|
||||||
smoke-test-suite: websphere
|
smoke-test-suite: websphere
|
||||||
steps:
|
steps:
|
||||||
- name: Support longpaths
|
- name: Support longpaths
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2019'
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue