MC E2E Distro Expansion (#654)
This commit is contained in:
Родитель
9b06a1e48a
Коммит
61810c579a
|
@ -21,13 +21,3 @@ jobs:
|
|||
name: CI report
|
||||
path: '*.xml'
|
||||
reporter: java-junit
|
||||
|
||||
nrp-e2e-report:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
with:
|
||||
artifact: universal-nrp-test
|
||||
name: Universal NRP Test Report
|
||||
path: '*.xml'
|
||||
reporter: java-junit
|
||||
|
|
|
@ -20,4 +20,4 @@ jobs:
|
|||
artifact: universal-nrp-test
|
||||
name: Universal NRP Test Report
|
||||
path: '*.xml'
|
||||
reporter: dotnet-trx
|
||||
reporter: java-junit
|
|
@ -50,12 +50,12 @@ jobs:
|
|||
|
||||
- name: Install OSConfig
|
||||
if: ${{ inputs.install-osconfig }}
|
||||
working-directory: ${{ steps.download.outputs.download-path }}/build
|
||||
working-directory: ${{ steps.download.outputs.download-path }}
|
||||
run: |
|
||||
if [ "${{ inputs.package-type }}" = "DEB" ]; then
|
||||
sudo dpkg -i $(ls *.deb)
|
||||
else
|
||||
sudo yum install -y $(ls *.rpm)
|
||||
sudo rpm -fi $(ls *.rpm)
|
||||
fi
|
||||
|
||||
- name: Run Guest Configuration Test
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
name: Universal NRP Test
|
||||
|
||||
on: [workflow_dispatch]
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 20 * * *' # Every day at 12pm PST (UTC-8)
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@ -11,11 +14,23 @@ jobs:
|
|||
matrix:
|
||||
target:
|
||||
[
|
||||
{ os: centos, version: 8, package-type: RPM, tag: ''},
|
||||
{ os: debian, version: 10, package-type: DEB, tag: ''},
|
||||
{ os: debian, version: 11, package-type: DEB, tag: ''},
|
||||
{ os: mariner, version: 2, package-type: RPM, tag: ''},
|
||||
{ os: oraclelinux, version: 8, package-type: RPM, tag: ''},
|
||||
{ os: rhel, version: 8, package-type: RPM, tag: ''},
|
||||
{ os: rhel, version: 9, package-type: RPM, tag: ''},
|
||||
{ os: rockylinux, version: 9, package-type: RPM, tag: ''},
|
||||
{ os: sles, version: 15, package-type: RPM, tag: ''},
|
||||
{ os: ubuntu, version: 20.04, package-type: DEB, tag: ''},
|
||||
{ os: ubuntu, version: 22.04, package-type: DEB, tag: ''},
|
||||
]
|
||||
arch: [amd64]
|
||||
install-osconfig: [true, false]
|
||||
with:
|
||||
target: ${{ matrix.target.os }}-${{ matrix.target.version }}
|
||||
arch: ${{ matrix.arch }}
|
||||
package-type: ${{ matrix.target.package-type }}
|
||||
install-osconfig: ${{ matrix.install-osconfig }}
|
||||
tag: ${{ matrix.target.tag }}
|
|
@ -33,7 +33,7 @@
|
|||
{
|
||||
"name": "linux-install-packages",
|
||||
"parameters": {
|
||||
"packages": "dotnet-sdk-6.0 jq"
|
||||
"packages": "dotnet-sdk-6.0 jq powershell omi"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
{
|
||||
"name": "linux-install-packages",
|
||||
"parameters": {
|
||||
"packages": "dotnet-sdk-6.0 jq"
|
||||
"packages": "dotnet-sdk-6.0 jq powershell omi"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "linux-install-packages",
|
||||
"parameters": {
|
||||
"packages": "software-properties-common gnupg2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-add-key",
|
||||
"parameters": {
|
||||
"key": "https://packages.microsoft.com/keys/microsoft.asc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-add-repository",
|
||||
"parameters": {
|
||||
"repository": "https://packages.microsoft.com/debian/12/prod"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-install-packages",
|
||||
"parameters": {
|
||||
"packages": "dotnet-sdk-6.0 jq omi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-azcli"
|
||||
},
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell_7.4.1-1.deb_amd64.deb -O powershell.deb && sudo dpkg -i powershell.deb && sudo apt-get install -f"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "sudo tdnf -y install dotnet-sdk-8.0 powershell"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "wget https://github.com/microsoft/omi/releases/download/v1.8.1-0/omi-1.8.1-0.ssl_110.ulinux.s.x64.rpm -O omi.rpm && sudo tdnf install -y omi.rpm"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "sudo yum install -y glibc* libicu wget which"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "wget https://github.com/microsoft/omi/releases/download/v1.8.1-0/omi-1.8.1-0.ssl_110.ulinux.s.x64.rpm -O omi.rpm && rpm -fi omi.rpm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-1.rh.x86_64.rpm -O powershell.rpm && rpm -fi powershell.rpm --nodeps"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "sudo yum install -y yum-utils && yum-config-manager --add-repo https://packages.microsoft.com/yumrepos/microsoft-rhel8.0-prod/ && sudo yum install -y powershell omi"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "sudo yum install -y yum-utils && yum-config-manager --add-repo https://packages.microsoft.com/yumrepos/microsoft-rhel9.0-prod/ && sudo yum install -y powershell omi"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "sudo yum install -y glibc* libicu wget which"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "wget https://github.com/microsoft/omi/releases/download/v1.8.1-0/omi-1.8.1-0.ssl_300.ulinux.s.x64.rpm -O omi.rpm && rpm -fi omi.rpm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-1.rh.x86_64.rpm -O powershell.rpm && rpm -fi powershell.rpm --nodeps"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -3,7 +3,19 @@
|
|||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "sudo zypper install -y glibc*"
|
||||
"command": "sudo zypper ar -f https://packages.microsoft.com/yumrepos/microsoft-sles15-prod/config.repo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "wget https://github.com/microsoft/omi/releases/download/v1.8.1-0/omi-1.8.1-0.ssl_110.ulinux.s.x64.rpm -O omi.rpm && rpm -fi omi.rpm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-bash-command",
|
||||
"parameters": {
|
||||
"command": "wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-1.rh.x86_64.rpm -O powershell.rpm && rpm -fi powershell.rpm --nodeps"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче