From bb2301eb902d1955d5bdb1bfb4015e6129b4693b Mon Sep 17 00:00:00 2001 From: Scott Dickerson Date: Tue, 5 Mar 2024 22:12:45 -0500 Subject: [PATCH 1/2] Increase ulimit nofiles on image-build.yaml Builds keep failing with EMFILE errors, so follow the advice from a similar issue work around: https://github.com/npm/cli/issues/4783#issuecomment-1908016260 Signed-off-by: Scott Dickerson --- .github/workflows/image-build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/image-build.yaml b/.github/workflows/image-build.yaml index 261d01674a..fea89ece68 100644 --- a/.github/workflows/image-build.yaml +++ b/.github/workflows/image-build.yaml @@ -21,6 +21,7 @@ jobs: image_name: "tackle2-ui" containerfile: "./Dockerfile" architectures: '[ "amd64", "arm64", "ppc64le", "s390x" ]' + extra-args: "--ulimit nofile=4906:4096" secrets: registry_username: ${{ secrets.QUAY_PUBLISH_ROBOT }} registry_password: ${{ secrets.QUAY_PUBLISH_TOKEN }} From 831f068bb47ade5fba453493aefbccbaa897e750 Mon Sep 17 00:00:00 2001 From: Scott Dickerson Date: Wed, 6 Mar 2024 10:16:19 -0500 Subject: [PATCH 2/2] Update image-build.yaml fix typo Signed-off-by: Scott Dickerson --- .github/workflows/image-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/image-build.yaml b/.github/workflows/image-build.yaml index fea89ece68..3e67b3fcf2 100644 --- a/.github/workflows/image-build.yaml +++ b/.github/workflows/image-build.yaml @@ -21,7 +21,7 @@ jobs: image_name: "tackle2-ui" containerfile: "./Dockerfile" architectures: '[ "amd64", "arm64", "ppc64le", "s390x" ]' - extra-args: "--ulimit nofile=4906:4096" + extra-args: "--ulimit nofile=4096:4096" secrets: registry_username: ${{ secrets.QUAY_PUBLISH_ROBOT }} registry_password: ${{ secrets.QUAY_PUBLISH_TOKEN }}