Skip to content

Commit

Permalink
fix layout of library.json
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Aug 1, 2022
1 parent 9cabc1a commit f601e58
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Site settings
title: Singularity HPC Library
description: "Library of Singularity containers for HPC"
baseurl: "/singularity-hpc" #important: start with /
baseurl: "/shpc-registry" #important: start with /
url: ""

# Build settings
Expand Down
14 changes: 7 additions & 7 deletions _layouts/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: Singularity HPC Registry
layout: none
---

{% for entry in site.library %}
{ "{{ entry.name }}": {
{ {% for entry in site.library %}
"{{ entry.name }}": {
"name": "{{ entry.name }}",
"github": "{{ entry.github }}",
{% if entry.aliases %}"aliases": [{% for alias in entry.aliases %}"{{ alias }}"{% if forloop.last %}{% else %},{% endif %}{% endfor %}],{% endif %}
"versions": [{% for version in entry.versions %}"{{ version }}"{% if forloop.last %}{% else %},{% endif %}{% endfor %}]
}}{% if forloop.last %}{% else %},{% endif %}
{% endfor %}
"github": "{{ entry.github }}",{% if entry.aliases %}
"aliases": [{% for alias in entry.aliases %}"{{ alias }}"{% if forloop.last %}{% else %},{% endif %}{% endfor %}],
{% endif %}"versions": [{% for version in entry.versions %}"{{ version }}"{% if forloop.last %}{% else %},{% endif %}{% endfor %}]
}{% if forloop.last %}{% else %},{% endif %}
{% endfor %} }
5 changes: 1 addition & 4 deletions _library/nvcr.io-nvidia-hpc-benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ maintainer: "@vsoch"
github: "https://github.com/singularityhub/singularity-hpc/blob/main/registry/nvcr.io/nvidia/hpc-benchmarks/container.yaml"
updated_at: "2022-07-11 07:56:54.782252"
container_url: "https://ngc.nvidia.com/catalog/containers/nvidia:hpc-benchmarks/tags"

versions:
- "20.10-hpl"
- "crane ls nvcr.io/nvidia/hpc-benchmarks: unsupported status code 401; body: <html>"
- "<body bgcolor="white">"
description: "The NVIDIA HPC-Benchmarks collection provides three NVIDIA accelerated HPC benchmarks: HPL-NVIDIA, HPL-AI-NVIDIA, and HPCG-NVIDIA."
---

Expand Down Expand Up @@ -129,4 +126,4 @@ $ cd singularity-hpc
$ pip install -e .
```

Have any questions, or want to request a new module or version? [ask for help!](https://github.com/singularityhub/singularity-hpc/issues)
Have any questions, or want to request a new module or version? [ask for help!](https://github.com/singularityhub/singularity-hpc/issues)

0 comments on commit f601e58

Please sign in to comment.