Skip to content

Commit 4033c8d

Browse files
committed
Run installer tests on AstraLinux 1.8
1 parent 92840bf commit 4033c8d

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.github/workflows/common_build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ jobs:
187187
container_name: alt:latest
188188
artifact_name: linux-installer
189189

190+
install-astralinux18-installer:
191+
needs: [build-rockylinux-installer]
192+
uses: ./.github/workflows/installer.yml
193+
with:
194+
os: ubuntu-latest
195+
container_name: registry.astralinux.ru/library/astra/ubi18:latest
196+
artifact_name: linux-installer
197+
190198
install-archlinux-installer:
191199
needs: [build-rockylinux-installer]
192200
uses: ./.github/workflows/installer.yml

.github/workflows/installer.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
sed -i 's/^# \(WHEEL_USERS.*\)/\1/' /etc/sudoers
4646
if: startsWith(inputs.container_name, 'alt')
4747

48+
- name: Install dependencies
49+
run: |
50+
apt-get update && apt-get install -y --no-install-recommends git-core p7zip-full curl sudo
51+
sed -i 's/^# \(WHEEL_USERS.*\)/\1/' /etc/sudoers
52+
if: contains(inputs.container_name, 'astra')
53+
4854
- name: Install dependencies
4955
run: yum install -y epel-release && yum update -y && yum install -y --setopt=install_weak_deps=False git-core findutils p7zip sudo
5056
if: startsWith(inputs.container_name, 'rocky')

buildScripts/github/install_installer.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ prepare_environment(){
1313
sudo pacman -Sy && sudo pacman -S fontconfig libx11 libxrender libxext libxkbcommon-x11 --noconfirm
1414
elif [[ "$ID" = "rocky" || "$ID" = '"rocky"' ]]; then
1515
sudo yum install -y --setopt=install_weak_deps=False libX11-xcb libXext libxkbcommon-x11 fontconfig freetype libXrender
16+
elif [ "$ID" = "astra" ]; then
17+
sudo apt-get update && sudo apt-get install -y --no-install-recommends fontconfig libdbus-1-3 libx11-xcb1 libxkbcommon-x11-0 \
18+
libxrender1 libxext6
1619
fi
1720
return 0 ;;
1821
Darwin) return 0 ;;

0 commit comments

Comments
 (0)