Skip to content

Make Cgroups default for all resource types and apply hard mem policy and set 2GB as default reserved memory #488

Make Cgroups default for all resource types and apply hard mem policy and set 2GB as default reserved memory

Make Cgroups default for all resource types and apply hard mem policy and set 2GB as default reserved memory #488

Workflow file for this run

---
name: CI
'on':
pull_request:
push:
branches:
- main
defaults:
run:
working-directory: 'vgcn-infrastructure'
jobs:
yamllint:
name: yamllint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
with:
path: 'vgcn-infrastructure'
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install requirements.
run: pip install -r requirements.txt
- name: Lint code.
run: yamllint .
schema:
name: Validate resource definition
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
with:
path: 'vgcn-infrastructure'
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install requirements.
run: pip install -r requirements.txt
- name: Validate resource definition.
run: pykwalify -d resources.yaml -s schema.yaml