Skip to content

Commit b1f5af7

Browse files
committed
More memory for the artifacts push
Signed-off-by: Bob Weinand <[email protected]>
1 parent 526953b commit b1f5af7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.gitlab/generate-package.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,9 @@
14451445
stage: release
14461446
image: registry.ddbuild.io/images/mirror/php:8.2-cli
14471447
tags: [ "arch:amd64" ]
1448+
variables: # enough memory for the individual artifacts
1449+
KUBERNETES_MEMORY_REQUEST: 4Gi
1450+
KUBERNETES_MEMORY_LIMIT: 5Gi
14481451
only:
14491452
refs:
14501453
- /^ddtrace-.*$/
@@ -1462,7 +1465,7 @@
14621465
script:
14631466
- echo "Using pre-generated GitHub token for release..."
14641467
- export GITHUB_RELEASE_PAT=$(cat github_token.txt)
1465-
- php tooling/ci/create_release.php packages
1468+
- php -d memory_limit=4G tooling/ci/create_release.php packages
14661469
after_script:
14671470
# Clean up token file (token will expire automatically in 1 hour)
14681471
- rm -f github_token.txt

0 commit comments

Comments
 (0)