Skip to content
Snippets Groups Projects
Commit 76391284 authored by Nhan Luong's avatar Nhan Luong :speech_balloon:
Browse files

Update .gitlab-ci.yml limit resource use to avoid quota limit

parent 77e4d802
No related branches found
No related tags found
No related merge requests found
Pipeline #62479 failed
...@@ -30,6 +30,13 @@ build-hugo: ...@@ -30,6 +30,13 @@ build-hugo:
artifacts: artifacts:
paths: paths:
- public - public
resources:
requests:
memory: 1Gi
cpu: 500m
limits:
memory: 1.5Gi
cpu: 750m
push-modification: push-modification:
extends: .ef-git extends: .ef-git
...@@ -58,3 +65,10 @@ push-modification: ...@@ -58,3 +65,10 @@ push-modification:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# when: manual # when: manual
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule"
resources:
requests:
memory: 500Mi
cpu: 250m
limits:
memory: 1Gi
cpu: 500m
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment