AICoE / aicoe-ci

AICoE-CI using TektonCD pipelines and triggers
13 stars 13 forks source link

Add resources for container build steps #156

Closed codificat closed 2 years ago

codificat commented 2 years ago

Related Issues and Dependencies

Fixes https://github.com/thoth-station/kebechet/issues/962 where the pipeline failed to build the image:

[pipenv.exceptions.InstallError]:     gcc: fatal error: Killed signal terminated program cc1plus
[pipenv.exceptions.InstallError]:     compilation terminated.
[pipenv.exceptions.InstallError]:     error: command '/usr/bin/gcc' failed with exit code 1

This introduces a breaking change

Nope

This Pull Request implements

Add requests and limits to the build steps that invoke buildah bud, the same way they are in other tasks like the tag-release task: https://github.com/AICoE/aicoe-ci/blob/8d6e83e8d83deefe17988f9a422e6d0a5bcc7bfc/tasks/tag-release-task.yaml#L209-L217

sesheta commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harshad16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/AICoE/aicoe-ci/blob/master/OWNERS)~~ [harshad16] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment