Skip to content
Snippets Groups Projects
Commit c2c412a7 authored by Jaromír Hradil's avatar Jaromír Hradil
Browse files

Merge branch 'feature/contribute-tips' into 'master'

Enhancements

Closes #7

See merge request !65
parents 78e89b2a b95d2f22
No related branches found
No related tags found
1 merge request!65Enhancements
......@@ -23,7 +23,7 @@ pages:
- 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/flavors/index.md
- sed -i '10,$d' content/cloud/flavors/index.md
- echo "{{< csv-table header=\"true\">}}" >> content/cloud/flavors/index.md
- python3 ci/flavor_info_miner.py --hiera-file ./hiera/group/ostack/flavors.yaml
- cat flavors.csv >> content/cloud/flavors/index.md
......
......@@ -25,7 +25,7 @@ data = data['cloud::profile::kolla::nova::controller::os_flavors']
#Names for columns
details = ['Flavor name' , 'CPU' , 'RAM (in GB)' , 'HPC' , 'SSD' , 'Disc throughput (in MB per second)' , 'IOPS', 'Net average througput (in MB per second)', 'GPU']
details = ['Flavor name' , 'CPU' , 'RAM (in GB)' , 'HPC' , 'SSD' , 'Disc throughput (in MB per second)' , 'IOPS', 'Net average throughput (in MB per second)', 'GPU']
blacklist = ['cerit.hde-half', 'cerit.hde', 'meta.mema2', 'csirtmu.tiny1x2', 'csirtmu.tiny1x4', 'csirtmu.small2x4', 'csirtmu.small2x8', 'csirtmu.medium4x8', 'csirtmu.medium4x16',
'csirtmu.large8x16', 'csirtmu.large4x32', 'csirtmu.large8x32', 'csirtmu.jumbo16x32', 'csirtmu.jumbo8x64', 'csirtmu.jumbo16x64', 'du.perftest', 'admin.scaletest', 'hpc.18core-64ram-dukan',
......
......@@ -19,33 +19,57 @@ We use open-source [Hugo](https://gohugo.io/) project to generate the documentat
4. Push to the branch
5. Create a Merge Request with the content of your branch
## Fork Repository
### Fork Repository
See [GitLab @ ICS MU](https://gitlab.ics.muni.cz/cloud/documentation/forks/new) for details. This will create your own clone of our repository where you will be able to make changes. Once you are happy with your changes, use GitLab to submit them to our original repository.
## Clone Repository
### Clone Repository
```bash
# after creating your own copy of the repository on GitLab
git clone git@gitlab.ics.muni.cz:${GITLAB_USER}/documentation.git
```
## Create New Branch
### Create New Branch
```bash
# in `documentation`
git checkout -b my_change
```
## Make Changes & Run Local Server
### Make Changes & Run Local Server
```bash
# in `documentation`
hugo --config config-dev.toml serve
```
> Edits will be show live in your browser window, no need to restart the server.
## Commit and Push Changes
### Commit and Push Changes
```bash
git commit -am "My updates"
git push origin my_change
```
## Submit Changes
Create a *Merge Request* via [GitLab @ ICS MU](https://gitlab.ics.muni.cz/cloud/documentation/merge_requests/new).
\ No newline at end of file
### Submit Changes
Create a *Merge Request* via [GitLab @ ICS MU](https://gitlab.ics.muni.cz/cloud/documentation/merge_requests/new).
## Tips
### Disable table of content
Table of content is generated automatically for every page. To hide table of contents, put this line to page's header:
```
disableToc: true
```
### Hide from menu
To hide page from menu, add this line to page's header:
```
GeekdocHidden: true
```
### Hints
To show "hint bar" similar to this one:
{{< hint info >}}
some text
{{</hint>}}
you can use *short codes*.
Please see [theme documentation](https://geekdocs.de/shortcodes/hints/).
\ No newline at end of file
......@@ -2,6 +2,7 @@
title: "Flavors"
date: 2021-05-18T11:22:35+02:00
draft: false
disableToc: true
---
In this guide you can find info about all flavors available in Metacentrum Cloud.
......@@ -10,7 +11,7 @@ In this guide you can find info about all flavors available in Metacentrum Cloud
{{< 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
Flavor name,CPU,RAM (in GB),HPC,SSD,Disc throughput (in MB per second),IOPS,Net average throughput (in MB per second),GPU
elixir.hda1,30,724,Yes,No,Unlimited,Unlimited,Unlimited,No
elixir.hda1-10core-240ram,10,240,Yes,No,Unlimited,Unlimited,Unlimited,No
hpc.16core-128ram,16,128,Yes,No,524.288,2000,2000.0,No
......
......@@ -3,6 +3,7 @@ title: "News"
date: 2021-05-18T11:22:35+02:00
draft: false
disableToc: true
GeekdocHidden: true
---
......
......@@ -6,7 +6,9 @@
<h2>Navigation</h2>
<ul class="gdoc-nav__list">
<li><span class="flex"><strong>Information</strong></span>
<ul><span class="flex"><a class="gdoc-nav__entry " href="/documentation/cloud/news/">News</a></span></ul>
<ul class="gdoc-nav__list">
<li><span class="flex"><a class="gdoc-nav__entry " href="/documentation/cloud/news/">News</a></span></li>
</ul>
</li>
</ul>
</section>
......
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