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

Modules matrix automation

parent 4c05f16a
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -2,3 +2,6 @@ ...@@ -2,3 +2,6 @@
curl -s https://code.it4i.cz/hrb33/modules-anselm/raw/master/anselm.md -o docs.it4i/modules-anselm.md curl -s https://code.it4i.cz/hrb33/modules-anselm/raw/master/anselm.md -o docs.it4i/modules-anselm.md
curl -s https://code.it4i.cz/hrb33/modules-salomon/raw/master/salomon.md -o docs.it4i/modules-salomon.md curl -s https://code.it4i.cz/hrb33/modules-salomon/raw/master/salomon.md -o docs.it4i/modules-salomon.md
curl -s https://code.it4i.cz/hrb33/modules-salomon/raw/master/salomon-uv.md -o docs.it4i/modules-salomon-uv.md curl -s https://code.it4i.cz/hrb33/modules-salomon/raw/master/salomon-uv.md -o docs.it4i/modules-salomon-uv.md
curl -s https://code.it4i.cz/hrb33/modules-anselm/raw/master/anselm.csv -o scripts/modules-anselm.csv
curl -s https://code.it4i.cz/hrb33/modules-salomon/raw/master/salomon.csv -o scripts/modules-salomon.csv
curl -s https://code.it4i.cz/hrb33/modules-salomon/raw/master/salomon-uv.csv -o scripts/modules-salomon-uv.csv
...@@ -12,9 +12,9 @@ def get_data(filename): ...@@ -12,9 +12,9 @@ def get_data(filename):
return list(reader) # only return the reader when you have finished. return list(reader) # only return the reader when you have finished.
your_list = [] your_list = []
your_list += get_data('modules-anselm.csv') your_list += get_data('./scripts/modules-anselm.csv')
your_list += get_data('modules-salomon.csv') your_list += get_data('./scripts/modules-salomon.csv')
your_list += get_data('modules-salomon-uv.csv') your_list += get_data('./scripts/modules-salomon-uv.csv')
#print your_list #print your_list
#a=[["python/2.8.1",1],["python/2.9.1",2],["python/2.8.1",4],["python/3.0.1",4]] #a=[["python/2.8.1",1],["python/2.9.1",2],["python/2.8.1",4],["python/3.0.1",4]]
...@@ -37,6 +37,11 @@ c=[ ...@@ -37,6 +37,11 @@ c=[
"USA", "USA",
] ]
print '!!! Hint "Cluster Acronyms"'
print ' \* A - Anselm'
print ' \* S - Salomon'
print ' \* U - uv1 at Salomon'
print "| Module | Versions | Clusters |" print "| Module | Versions | Clusters |"
print "| ------ | -------- | -------- |" print "| ------ | -------- | -------- |"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment