Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated runner patch for ppc64le #33

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

390 changes: 390 additions & 0 deletions build-files/patches/runner-v2.317.0-sdk7-ppc64le.patch

Large diffs are not rendered by default.

785 changes: 785 additions & 0 deletions build-files/patches/runner-v2.317.0-sdk8-ppc64le.patch

Large diffs are not rendered by default.

388 changes: 388 additions & 0 deletions build-files/patches/runner-v2.318.0-sdk8-ppc64le.patch

Large diffs are not rendered by default.

676 changes: 676 additions & 0 deletions build-files/patches/runner-v2.319.0-sdk8-ppc64le.patch

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -700,4 +700,4 @@ index e7028fe..d1779f1 100644
- "version": "6.0.421"
+ "version": "8.0.110"
}
}
}
703 changes: 703 additions & 0 deletions build-files/patches/runner-v2.320.0-sdk8-s390x.patch

Large diffs are not rendered by default.

9 changes: 1 addition & 8 deletions build-files/supported_packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ openssh-sftp-server
openssl
p7zip-full
p7zip-rar
packages-microsoft-prod
parallel
patchelf
php-pear
Expand Down Expand Up @@ -74,12 +73,8 @@ pigz
pipx
pkg-config
podman
podman-compose
podman-remote
podman-toolbox
pollinate
postgresql-16
powershell-lts
python-babel-localedata
python-is-python3
python3
Expand All @@ -101,7 +96,6 @@ rpm
rsync
ruby-full
shellcheck
shim-signed
skopeo
snmp
software-properties-common
Expand All @@ -123,11 +117,10 @@ ubuntu-server
ubuntu-standard
unzip
util-linux
walinuxagent
wget
xvfb
xz-utils
yarn
zip
zlib1g-dev
zsync
zsync
8 changes: 4 additions & 4 deletions setup-build-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ ensure_lxd() {

build_image_in_container() {

local IMAGE_ALIAS="${IMAGE_ALIAS:-${OS_NAME}-${OS_VERSION}-${ARCH}}"
local IMAGE_ALIAS="${IMAGE_ALIAS:-${OS_NAME}-latest-${ARCH}}"

local BUILD_PREREQS_PATH="${SRCDIR}/build-files"
if [ ! -d "${BUILD_PREREQS_PATH}" ]; then
msg "Check the BUILD_PREREQS_PATH specification" >&2
return 3
fi
local PATCH_FILE="${PATCH_FILE:-runner-sdk-8.patch}"
local PATCH_FILE="${PATCH_FILE:-runner-main-sdk8-${ARCH}.patch}"

local BUILD_CONTAINER
BUILD_CONTAINER="gha-builder-$(date +%s)"
Expand Down Expand Up @@ -68,7 +68,7 @@ build_image_in_container() {
lxc file push --mode 0755 "${BUILD_PREREQS_PATH}/supported_packages.txt" "${BUILD_CONTAINER}${BUILD_HOME}/supported_packages.txt"

msg "Copy the patch file into gha-builder"
lxc file push ${BUILD_PREREQS_PATH}/${PATCH_FILE} "${BUILD_CONTAINER}${BUILD_HOME}/"
lxc file push ${BUILD_PREREQS_PATH}/patches/${PATCH_FILE} "${BUILD_CONTAINER}${BUILD_HOME}/runner-sdk-8.patch"

msg "Copy the register-runner.sh script into gha-builder"
lxc file push --mode 0755 ${BUILD_PREREQS_PATH}/register-runner.sh "${BUILD_CONTAINER}/opt/register-runner.sh"
Expand Down Expand Up @@ -131,7 +131,7 @@ run() {
select_ubuntu_version() {
case "$ARCH" in
ppc64le)
export OS_VERSION="22.04"
export OS_VERSION="24.04"
;;
s390x)
export OS_VERSION="24.10"
Expand Down
Loading