-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Testing a RHEL based installation
1 parent
cf01116
commit 75ac933
Showing
3 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,9 @@ on: | |
- 'install/OneClickInstall/install-RedHat/**' | ||
- 'install/OneClickInstall/install-Debian.sh' | ||
- 'install/OneClickInstall/install-RedHat.sh' | ||
push: | ||
branches: | ||
- bugfix/package-build | ||
|
||
schedule: | ||
- cron: '00 20 * * 6' # At 23:00 on Saturday. | ||
|
@@ -73,13 +76,13 @@ jobs: | |
run: | | ||
matrix=$(echo '{ | ||
"include": [ | ||
{"execute": '${{ github.event.inputs.centos9s || true }}', "name": "CentOS9S", "os": "centos9s", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.debian11 || true }}', "name": "Debian11", "os": "debian11", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.debian12 || true }}', "name": "Debian12", "os": "debian12", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.ubuntu2004 || true }}', "name": "Ubuntu20.04", "os": "ubuntu2004", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.ubuntu2204 || true }}', "name": "Ubuntu22.04", "os": "ubuntu2204", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.ubuntu2404 || true }}', "name": "Ubuntu24.04", "os": "ubuntu-24.04", "distr": "bento"}, | ||
{"execute": '${{ github.event.inputs.fedora39 || true }}', "name": "Fedora39", "os": "39-cloud-base", "distr": "fedora"}, | ||
{"execute": '${{ github.event.inputs.centos9s || false }}', "name": "CentOS9S", "os": "centos9s", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.debian11 || false }}', "name": "Debian11", "os": "debian11", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.debian12 || false }}', "name": "Debian12", "os": "debian12", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.ubuntu2004 || false }}', "name": "Ubuntu20.04", "os": "ubuntu2004", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.ubuntu2204 || false }}', "name": "Ubuntu22.04", "os": "ubuntu2204", "distr": "generic"}, | ||
{"execute": '${{ github.event.inputs.ubuntu2404 || false }}', "name": "Ubuntu24.04", "os": "ubuntu-24.04", "distr": "bento"}, | ||
{"execute": '${{ github.event.inputs.fedora39 || false }}', "name": "Fedora39", "os": "39-cloud-base", "distr": "fedora"}, | ||
{"execute": '${{ github.event.inputs.fedora40 || true }}', "name": "Fedora40", "os": "fedora-40", "distr": "bento"} | ||
] | ||
}' | jq -c '.include') | ||
|
@@ -119,9 +122,15 @@ jobs: | |
sudo apt install vagrant virtualbox -y | ||
- name: Free Disk Space | ||
run: | | ||
sudo rm -rf /usr/local/lib/android /opt/ghc | ||
sudo docker image prune --all --force | ||
uses: jlumbroso/[email protected] | ||
with: | ||
tool-cache: true | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: true | ||
swap-storage: true | ||
|
||
- name: "Test production scripts with ${{matrix.name}}" | ||
if: ${{ github.event_name == 'schedule' }} | ||
|
@@ -137,9 +146,10 @@ jobs: | |
DISTR='${{ matrix.distr }}' \ | ||
OS='${{ matrix.os }}' \ | ||
DOWNLOAD_SCRIPT='-ds true' \ | ||
RAM='5100' \ | ||
RAM='8192' \ | ||
CPU='3' \ | ||
ARGUMENTS="-arg '--skiphardwarecheck true'" \ | ||
vagrant plugin install vagrant-disksize \ | ||
vagrant up | ||
on_retry_command: | | ||
echo "RUN CLEAN UP: Destroy vagrant and one more try" | ||
|
@@ -160,7 +170,7 @@ jobs: | |
TEST_CASE='--local-install' \ | ||
DISTR='${{ matrix.distr }}' \ | ||
OS='${{matrix.os}}' \ | ||
RAM='5100' \ | ||
RAM='8192' \ | ||
CPU='3' \ | ||
DOWNLOAD_SCRIPT='-ds false' \ | ||
TEST_REPO='-tr true' \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters