Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CPU limit/request and RAM request into meta.yaml schema #381

Merged
merged 8 commits into from
Mar 2, 2020

Conversation

mshaposhnik
Copy link
Contributor

What does this PR do?

Adds CPU limit/request and RAM request into meta.yaml schema

Ticket: eclipse-che/che#13709

build/scripts/meta.yaml.schema Outdated Show resolved Hide resolved
build/scripts/meta.yaml.schema Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
build/scripts/meta.yaml.schema Outdated Show resolved Hide resolved
build/scripts/meta.yaml.schema Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
build/scripts/meta.yaml.schema Show resolved Hide resolved
mshaposhnik and others added 4 commits February 19, 2020 12:16
Co-Authored-By: Sergii Leshchenko <sleshche@redhat.com>
Co-Authored-By: Sergii Leshchenko <sleshche@redhat.com>
},
"cpuLimit": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$|^[1-9][0-9]*m$"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"pattern": "^[0-9]+(\\.[0-9]+)?$|^[1-9][0-9]*m$"
"pattern": "^[1-9]+[0-9]*(\\.[0-9]+)?$|^[1-9][0-9]*m$"

consider to prevent numbers like 000003

@mshaposhnik mshaposhnik requested a review from ericwill as a code owner March 2, 2020 10:27
@mshaposhnik mshaposhnik merged commit 94752c6 into master Mar 2, 2020
@mshaposhnik mshaposhnik deleted the cpuLimit branch March 2, 2020 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants