- Artifacts archive for job
checkout-from-scm
is too large: max 5 MiB
Here is the pipeline,
variables:
FF_GITLAB_REGISTRY_HELPER_IMAGE: “true”
REGISTRY_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
ORG_REGISTRY_URL: “docker.org.com”
ORG_IMAGE_REPO: “devprodsre-gitlab-images”
ORG_IMAGE_NAME: “sample-app-image”
TAG: $CI_COMMIT_SHORT_SHA
image: Org.com
stages:
- scm
- trigger-gitsource
- build-push-podman-images
- build-pull-podman-images
checkout-from-scm:
stage: scm
image:
name: Org.com
entrypoint: [“”]
script:
- echo ${CI_PROJECT_DIR}
- echo “test”
- mkdir -p ~/.ssh
- echo “$GIT_USER_SSH” > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- echo -e “Host *\n\tStrictHostKeyChecking no\n\n” > ~/.ssh/config
- git clone “ssh://git@git.bitbucket.org.com:7234/~user/test-bitbucket-integration.git”
artifacts:
name: “$CI_JOB_NAME”
paths:
- test-bitbucket-integration/
trigger-gitsource:
stage: trigger-gitsource
trigger:
include:
- artifact: test-bitbucket-integration/bitbucket.yml
job: checkout-from-scm
strategy: depend
forward:
yaml_variables: true
pipeline_variables: true
We have tried the following cases:
- Increasing max artifact size to 100 MB at global and at project level both, where as here the artifact size is little over 5MB which is 5.3MB
- Changed the following setting from rails console
Plan.default.actual_limits.update!(ci_max_artifact_size_archive: 100.megabytes) - Changed nginx client_max_body_size to 1024m, and tried with 0 as well.
- Clear runner cache from UI
- Add the following in runner configuration:
case 1: With 100MB
[runners.cache]
MaxUploadedArchiveSize = 104857600
case 2:With 0 as unlimited
[runners.cache]
MaxUploadedArchiveSize = 0
None of the above helped, please let us know what can be changed
Please let us know, which configuraion be changed to proceed.