Skip to content

Commit

Permalink
updating librarian to use rse-ops branding
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 Oct 15, 2021
1 parent e92f7da commit b8f4681
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# The Librarian

![img/radiuss-librarian.png](img/radiuss-librarian.png)
![img/rse-ops-librarian.png](img/rse-ops-librarian.png)

The librarian (inspired by the [autamus librarian](https://github.com/autamus/librarian)
is a set of GitHub actions intended to be used to update different RADIUS projects.
is a set of GitHub actions intended to be used to update different RSE-ops projects.

- [docker-images](docker-images): this librarian creates a metadata entry for a Docker container in [docker-images](https://github.com/rse-radiuss/docker-images)
- [docker-images](docker-images): this librarian creates a metadata entry for a Docker container in [docker-images](https://github.com/rse-ops/docker-images)

License
-------
Expand Down
12 changes: 6 additions & 6 deletions docker-images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
# **Run steps in here to define outputs for container, etc.**

- id: runner
uses: rse-radiuss/librarian/docker-images@main
uses: rse-ops/librarian/docker-images@main
with:

# Container is required, without tag e.g., ghcr.io/rse-radiuss/ubuntu
# Container is required, without tag e.g., ghcr.io/rse-ops/ubuntu
container: ${{ steps.builder.outputs.container }}
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -67,11 +67,11 @@ you can also run commands manually. As an example:

```bash
# For a Dockerfile build where the tag is in subfolders under ubuntu
$ python scripts/update-site.py gen ghcr.io/rse-radiuss/ubuntu --outdir $PWD/_library --root ubuntu/
$ python scripts/update-site.py gen ghcr.io/rse-ops/ubuntu --outdir $PWD/_library --root ubuntu/

# For a matrix build where the Dockerfile is in the root provided
$ python scripts/update-site.py gen ghcr.io/rse-radiuss/nvidia-ubuntu --outdir $PWD/_library --dockerfile nvidia-ubuntu
$ python scripts/update-site.py gen ghcr.io/rse-radiuss/clang-ubuntu-20.04 --outdir $PWD/_library --dockerfile ubuntu/clang
$ python scripts/update-site.py gen ghcr.io/rse-radiuss/cuda-ubuntu-20.04 --outdir $PWD/_library --dockerfile ubuntu/cuda
$ python scripts/update-site.py gen ghcr.io/rse-ops/nvidia-ubuntu --outdir $PWD/_library --dockerfile nvidia-ubuntu
$ python scripts/update-site.py gen ghcr.io/rse-ops/clang-ubuntu-20.04 --outdir $PWD/_library --dockerfile ubuntu/clang
$ python scripts/update-site.py gen ghcr.io/rse-ops/cuda-ubuntu-20.04 --outdir $PWD/_library --dockerfile ubuntu/cuda
```

6 changes: 3 additions & 3 deletions docker-images/update-site.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
updated_at: {{ updated_at }}
{% if size %}size: {{ size }}{% endif %}
{% if raw_size %}raw_size: {{ raw_size }}{% endif %}
container_url: https://github.com/orgs/rse-radiuss/packages/container/package/{{ name }}
container_url: https://github.com/orgs/rse-ops/packages/container/package/{{ name }}
versions:
{% if metadata %}{% for tag, metadata in metadata.items() %} - tag: {{ tag }}
dockerfile: https://github.com/rse-radiuss/docker-images/blob/main/{{ metadata.dockerfile }}
dockerfile: https://github.com/rse-ops/docker-images/blob/main/{{ metadata.dockerfile }}
manifest: {{ metadata.manifest }}
{% endfor %}{% endif %}
---"""
Expand All @@ -39,7 +39,7 @@ def write_file(content, filename):

def get_parser():
parser = argparse.ArgumentParser(
description="RADIUSS Docker Images Library Builder"
description="RSE-ops Docker Images Library Builder"
)

description = "Generate a library entry for a container"
Expand Down
Binary file removed img/radiuss-librarian.png
Binary file not shown.
Binary file added img/rse-ops-librarian.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b8f4681

Please sign in to comment.