Skip to content
Snippets Groups Projects
Commit 31917cc6 authored by David Hrbáč's avatar David Hrbáč
Browse files

Modules matrix correction to script; Build within CI

parent 17f3dcd0
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!111Modules matrix correction to script; Build within CI
Pipeline #
...@@ -58,6 +58,8 @@ mkdocs: ...@@ -58,6 +58,8 @@ mkdocs:
- bash scripts/add_version.sh - bash scripts/add_version.sh
# get modules list from clusters # get modules list from clusters
- bash scripts/get_modules.sh - bash scripts/get_modules.sh
# regenerate modules matrix
- python scripts/modules-matrix.py > docs.it4i/modules-matrix.md
# build pages # build pages
- mkdocs build - mkdocs build
# compress search_index.json # compress search_index.json
......
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*-
import csv import csv
import collections import collections
...@@ -39,7 +40,7 @@ c=[ ...@@ -39,7 +40,7 @@ c=[
print '!!! Hint "Cluster Acronyms"' print '!!! Hint "Cluster Acronyms"'
print ' A - Anselm • S - Salomon • U - uv1 at Salomon' print ' A - Anselm • S - Salomon • U - uv1 at Salomon'
print
print '| Module </br><input id="searchInput" placeholder="🔍 Filter" style="width: 8rem; border-radius: 0.2rem; color: black; padding-left: .2rem;"> | Versions | Clusters |' print '| Module </br><input id="searchInput" placeholder="🔍 Filter" style="width: 8rem; border-radius: 0.2rem; color: black; padding-left: .2rem;"> | Versions | Clusters |'
print "| ------ | -------- | -------- |" print "| ------ | -------- | -------- |"
...@@ -69,5 +70,6 @@ for m in sorted(software.items(), key=lambda i: i[0].lower()): ...@@ -69,5 +70,6 @@ for m in sorted(software.items(), key=lambda i: i[0].lower()):
#print '</br>'.join(m[1].keys()) #print '</br>'.join(m[1].keys())
#print '</br>'.join(m[1].values()) #print '</br>'.join(m[1].values())
print "| %s | %s | %s |" % (software, '</br>'.join(m[1].keys()), '</br>'.join(m[1].values())) print "| %s | %s | %s |" % (software, '</br>'.join(m[1].keys()), '</br>'.join(m[1].values()))
print
print '---8<--- "modules_matrix_search.md"' print
print '---8<--- "modules_matrix_search.md"'
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