Use current version of gawk on i686, and use docker workaround for breakage with current version in containers. (#12285)

* Revert to older gawk for armv7l

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add arm build

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* gawk adjustments

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* gawk: Build Run on linux/386.

* gawk: Package File Update Run on linux/386 container.

* gawk: Package File Update Run on linux/amd64 container.

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
chromebrew-actions[bot]
2025-07-29 11:20:10 -05:00
committed by GitHub
parent 57fcd0eda3
commit 5d67b8e7b2
6 changed files with 30 additions and 27 deletions

View File

@@ -257,6 +257,7 @@ jobs:
# container. Without these, upload fails.
mkdir pkg_cache
sudo setfacl -R -m u:1000:rwx .
# See https://github.com/containerd/containerd/pull/7566#issuecomment-1461134737 for why we set ulimit.
docker run \
--rm \
--platform "${PLATFORM}" \
@@ -272,6 +273,7 @@ jobs:
-v "$(pwd)"/pkg_cache:/usr/local/tmp/packages:rshared \
-v "$(pwd)":/output:rshared \
--tmpfs /tmp \
--ulimit "nofile=$(ulimit -Sn):$(ulimit -Hn)" \
"${CONTAINER}" \
/bin/chromebrewstart "/output/tools/github_actions_update_builder${{ github.event.inputs.allow_fail == 'true' && '_allowing_failures' || ''}}.sh" > >(tee -a /tmp/build.log) 2> >(tee -a /tmp/build.log >&2)
grep "Built and Uploaded:" /tmp/build.log || true
@@ -404,6 +406,7 @@ jobs:
# container. Without these, upload fails.
mkdir pkg_cache
sudo setfacl -R -m u:1000:rwx .
# See https://github.com/containerd/containerd/pull/7566#issuecomment-1461134737 for why we set ulimit.
docker run \
--rm \
--platform "${PLATFORM}" \
@@ -419,6 +422,7 @@ jobs:
-v "$(pwd)"/pkg_cache:/usr/local/tmp/packages:rshared \
-v "$(pwd)":/output:rshared \
--tmpfs /tmp \
--ulimit "nofile=$(ulimit -Sn):$(ulimit -Hn)" \
"${CONTAINER}" \
/bin/chromebrewstart "/output/tools/github_actions_update_builder_allowing_failures.sh" > >(tee -a /tmp/build.log) 2> >(tee -a /tmp/build.log >&2)
grep "Built and Uploaded:" /tmp/build.log || true

View File

@@ -245,6 +245,7 @@ jobs:
# container. Without these, upload fails.
mkdir pkg_cache
sudo setfacl -R -m u:1000:rwx .
# See https://github.com/containerd/containerd/pull/7566#issuecomment-1461134737 for why we set ulimit.
docker run \
--rm \
--platform "${PLATFORM}" \
@@ -260,6 +261,7 @@ jobs:
-v "$(pwd)"/pkg_cache:/usr/local/tmp/packages:rshared \
-v "$(pwd)":/output:rshared \
--tmpfs /tmp \
--ulimit "nofile=$(ulimit -Sn):$(ulimit -Hn)" \
"${CONTAINER}" \
/bin/chromebrewstart "/output/tools/github_actions_update_builder_allowing_failures.sh" > >(tee -a /tmp/build.log) 2> >(tee -a /tmp/build.log >&2)
grep "Built and Uploaded:" /tmp/build.log || true

View File

@@ -279,6 +279,7 @@ jobs:
# ghcr.io/felipecrs/dond-shim:latest \
# (cd /tmp || exit ; curl -OLf https://github.com/felipecrs/docker-on-docker-shim/raw/refs/tags/v0.7.1/dond ; chmod +x /tmp/dond )
# /tmp/dond run \
# See https://github.com/containerd/containerd/pull/7566#issuecomment-1461134737 for why we set ulimit.
docker run \
--rm \
--platform "${PLATFORM}" \
@@ -292,6 +293,7 @@ jobs:
-e GITLAB_TOKEN_USERNAME="${{ secrets.GITLAB_TOKEN_USERNAME }}" \
-v "$(pwd)":/output \
--tmpfs /tmp \
--ulimit "nofile=$(ulimit -Sn):$(ulimit -Hn)" \
"${CONTAINER}" \
/bin/chromebrewstart /output/tools/github_actions_no_compile_updater.sh > >(tee -a /tmp/update.log) 2> >(tee -a /tmp/update.log >&2)
grep "Updated:" /tmp/update.log || true

View File

@@ -198,6 +198,7 @@ jobs:
exit 0
else
docker pull --platform "${PLATFORM}" "${CONTAINER}"
# See https://github.com/containerd/containerd/pull/7566#issuecomment-1461134737 for why we set ulimit.
docker run \
--rm \
--platform "${PLATFORM}" \
@@ -208,6 +209,7 @@ jobs:
-e CREW_REPO="${CREW_REPO}" \
-e CREW_BRANCH="${CREW_BRANCH}" \
--tmpfs /tmp \
--ulimit "nofile=$(ulimit -Sn):$(ulimit -Hn)" \
"${CONTAINER}" \
/bin/chromebrewstart /usr/local/lib/crew/tests/unit_test_stub.sh
fi