Skip to content
Snippets Groups Projects
Verified Commit 8315ddad authored by Šimon Berka's avatar Šimon Berka
Browse files

add feature: automate flavor table generator

parent a5618da7
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,22 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
before_script:
- apk update
- apk add git
- apk add python3
- apk add py3-pip
- apk add py3-yaml
script:
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ics.muni.cz/cloud/hiera.git
- sed -i '9,$d' content/cloud/flavours/index.md
- echo "{{< csv-table header=\"true\">}}" >> content/cloud/flavours/index.md
- python3 ci/flavor_info_miner.py --hiera-file ./hiera/group/ostack/flavors.yaml
- cat flavors.csv >> content/cloud/flavours/index.md
- echo "{{</csv-table>}}" >> content/cloud/flavours/index.md
- cat content/cloud/flavours/index.md
- hugo --config config.toml -D --destination=./public
artifacts:
paths:
- public
......
......@@ -6,6 +6,8 @@ draft: false
In this guide you can find info about all flavors available in Metacentrum Cloud.
*Data in this table may not be up-to-date. Current information about flavors is placed in the documentation by CI.*
{{< csv-table header="true">}}
Flavor name,CPU,RAM (in GB),HPC,SSD,Disc throughput (in MB per second),IOPS,Net average througput (in MB per second),GPU
......
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