Skip to content

Commit 0bc3bec

Browse files
committed
Merge branch 'GodloveD-merge-master-into-2.4'
2 parents e281211 + d7285e9 commit 0bc3bec

72 files changed

Lines changed: 3997 additions & 1789 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ google_analytics: "UA-84672381-1" # Google Analytics code
2121
twitter_username: SingularityApp
2222
github_username: singularityware
2323
repo: "https://github.com/singularityware/singularity" # The main repo, should not end with slash
24+
singularity_version: "2.4"
2425

2526
# Exclude
2627
# these are the files and directories that jekyll will exclude from the build

_data/sidebars/admin_docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ entries:
2222
url: /docs-config
2323
output: web, pdf
2424

25+
- title: Container Checks
26+
url: /docs-admin-checks
27+
output: web, pdf
28+
2529
- title: Troubleshooting
2630
url: /docs-troubleshooting
2731
output: web, pdf

_data/sidebars/main_sidebar.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ entries:
4747
url: /install-windows
4848
output: web, pdf
4949

50+
- title: Host a Singularity Registry
51+
url: /singularity-registry
52+
output: web, pdf
5053

5154
- title: Contributing
5255
output: web, pdf
@@ -106,4 +109,6 @@ entries:
106109
url: /admin-guide
107110
output: web, pdf
108111

109-
112+
- title: Archive
113+
url: /archive
114+
output: web, pdf

_data/sidebars/user_docs.yml

Lines changed: 72 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,48 @@ entries:
1515
url: /user-guide
1616
output: web, pdf
1717

18-
- title: Quick Start Installation
19-
url: /docs-quick-start-installation
18+
- title: Installation
19+
url: /docs-installation
2020
output: web, pdf
2121

22-
- title: Create an Image
23-
url: /create-image
22+
- title: Quick Start
23+
url: /quickstart
2424
output: web, pdf
2525

26-
- title: Bootstrap an Image
27-
url: /bootstrap-image
26+
- title: Build a Container
27+
url: /docs-build-container
2828
output: web, pdf
2929

30-
- title: Adding Content
31-
url: /image-content
30+
- title: Container Recipes
31+
url: /docs-recipes
3232
output: web, pdf
3333

34-
- title: User Control
35-
url: /user-control
34+
- title: Singularity Flow
35+
url: /docs-flow
3636
output: web, pdf
3737

3838
- title: Bind Paths and Mounts
3939
url: /docs-mount
4040
output: web, pdf
4141

42+
- title: Persistent Overlays
43+
url: /docs-overlay
44+
output: web, pdf
45+
46+
- title: Running Services
47+
url: /docs-instances
48+
output: web, pdf
49+
50+
- title: Container Checks
51+
url: /docs-user-checks
52+
output: web, pdf
53+
4254
- title: Environment and Metadata
4355
url: /docs-environment-metadata
4456
output: web, pdf
4557

46-
- title: Change an Existing Container
47-
url: /docs-changing-containers
58+
- title: Reproducible SCI-F Apps
59+
url: /docs-scif-apps
4860
output: web, pdf
4961

5062
- title: Singularity and Docker
@@ -63,22 +75,14 @@ entries:
6375
url: /docs-usage
6476
output: web, pdf
6577

66-
- title: bootstrap
67-
url: /docs-bootstrap
78+
- title: build
79+
url: /docs-build
6880
output: web, pdf
6981

7082
- title: exec
7183
url: /docs-exec
7284
output: web, pdf
7385

74-
- title: export
75-
url: /docs-export
76-
output: web, pdf
77-
78-
- title: import
79-
url: /docs-import
80-
output: web, pdf
81-
8286
- title: inspect
8387
url: /docs-inspect
8488
output: web, pdf
@@ -94,3 +98,49 @@ entries:
9498
- title: shell
9599
url: /docs-shell
96100
output: web, pdf
101+
102+
103+
- title: Image Command Group
104+
output: web, pdf
105+
folderitems:
106+
107+
- title: image.export
108+
url: /docs-export
109+
output: web, pdf
110+
111+
- title: image.expand
112+
url: /docs-expand
113+
output: web, pdf
114+
115+
- title: image.import
116+
url: /docs-import
117+
output: web, pdf
118+
119+
- title: image.create
120+
url: /docs-create
121+
output: web, pdf
122+
123+
- title: Instance Command Group
124+
output: web, pdf
125+
folderitems:
126+
127+
- title: instance.start
128+
url: /docs-instance-start
129+
output: web, pdf
130+
131+
- title: instance.list
132+
url: /docs-instance-list
133+
output: web, pdf
134+
135+
- title: instance.stop
136+
url: /docs-instance-stop
137+
output: web, pdf
138+
139+
- title: Deprecated
140+
output: web, pdf
141+
folderitems:
142+
143+
- title: bootstrap
144+
url: /docs-bootstrap
145+
output: web, pdf
146+

_includes/asciicast-custom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<button style='color:white;margin-top:5px' class="btn btn-primary btn-lg asciinema-button" id="{{ include.title | replace:' ','-' }}">Show Video Tutorial</button>
2-
<div class="hidden" id="asciinema-{{ include.title | replace:' ','-' }}">
2+
<div class="hidden" id="asciinema-{{ include.uid }}">
33
<asciinema-player
44
src="assets/asciicast/{{include.source}}"
55
poster="data:text/plain,{{include.title}}"

_includes/asciicast.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<button style='color:white;margin-top:5px' class="btn btn-primary btn-lg asciinema-button" id="{{ include.title | replace:' ','-' }}">Show Video Tutorial</button>
2-
<div class="hidden" id="asciinema-{{ include.title | replace:' ','-' }}">
1+
<button style='color:white;margin-top:5px' class="btn btn-primary btn-lg asciinema-button" data-id="asciinema-{{ include.uid }}">Show Video Tutorial</button>
2+
<div class="hidden" id="asciinema-{{ include.uid }}">
33
<asciinema-player
44
src="assets/asciicast/{{include.source}}"
55
poster="data:text/plain,{{include.title}}"

_includes/asciinema.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<script>
66
$( document ).ready(function() {
77
$(".asciinema-button").click(function(){
8-
var asciinemaVideo = "#asciinema-" + $(this).attr('id');
9-
8+
console.log('rawwwr!')
9+
var asciinemaVideo = "#" + $(this).attr('data-id');
1010
if ($(asciinemaVideo).hasClass('hidden')){
1111
$(asciinemaVideo).removeClass('hidden');
1212
$(this).text('Hide Tutorial')

_includes/sidebar.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{% include custom/sidebarconfigs.html %}
22

3-
{% if site.logo %}
4-
<div class="shiny"><a href="\"><figure><img src="{{ site.logo }}" class="sidebar-logo"/></figure></a></div>
5-
{% endif %}
6-
73
<ul id="mysidebar" class="nav">
4+
5+
{% if site.logo %}
6+
<div class="shiny"><a href="\"><figure><img src="{{ site.logo }}" class="sidebar-logo"/></figure></a></div>
7+
{% endif %}
8+
89
<li class="sidebarTitle">{{sidebar[0].title}}</li>
910
{% for entry in sidebar %}
1011
{% for folder in entry.folders %}

_layouts/page.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
<div class="post-header">
66
<h1 class="post-title-main">{{ page.title }}</h1>
7+
<small style="color: #666; margin-top:50px; font-variant:italic">These docs are for Singularity Version {{ site.singularity_version }}. For older versions, see our <a class="no-after"
8+
href="https://singularityware.github.io/archive">archive</a></small>
79
</div>
810

911
{% if page.simple_map == true %}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: "Singularity 2.4 Release"
3+
category: releases
4+
permalink: "release-2-4"
5+
version: "2.4"
6+
---
7+
8+
Singularity 2.4 is released, and here are the important notes for you to know about!
9+
10+
<img src="/assets/img/posts/releases/singularity-egg-easy.png">
11+
12+
13+
**Singularity Build**
14+
Building an image is now more intuitive with the introduction of our `build` command. You don't need to worry about using `create`, or `bootstrap`, you just build. It looks like this:
15+
16+
```
17+
sudo singularity build container.simg Singularity
18+
```
19+
20+
If you are tired of needing to estimate your image size, that issue goes away with build. The default format for a Singularity image base is now a smaller, compressed file format called **SquashFS**. This format is also a much better fit for reproducible containers, as it is immutable. For more details, see our [build](/docs-build-container) documentation.
21+
22+
**Build Bases**
23+
We originally supported just using an existing distribution package or docker as a base for building images. With 2.4, we have extended that set to include another Singularity image (`localimage`), or a Singularity Hub or Registry image (`shub`).
24+
25+
**Instance Support**
26+
Singularity now has support for instances, which means services! Images instances can be started, stopped, and listed. Along with instances comes **Network Namespace Isolation**. We are excited to see the kinds of use cases that this will afford for our users.
27+
28+
**Singularity Registry**
29+
If you want to host your own Registry, we listened and you are in luck! Singularity <a href="https://www.github.com/singularityhub/sregistry">Registry</a> is ready for your use, along with a <a href="https://singularityhub.github.io/containers">portal</a> for you to "register your registry" to make it easier to share your images. Singularity Hub, along with improved building and updated builders, will follow this release.
30+
31+
**Internal Modularity**
32+
This release includes support for the <a href="/docs-apps">Standard Container Integration Format (SCI-F)</a> that makes it easy for you to produce single, internally modular and programmatically discoverage containers. More information is provided on it's <a href="https://containers-ftw.github.io/SCI-F/">main site</a>.
33+
34+
**Better Documentation**
35+
We've added an entire page on the different customizations you can do to the [build environment](/build-environment), including changing the cache and specifying credentials for Docker. We now also have new sidebars for the Image and Instances command groups.
36+
37+
38+
**Deprecated**
39+
We are deprecating the original `create` command to be replaced with `image.create`, along with `bootstrap` in favor with build. These commands will still work for 2.4, however we recommend you start testing the updated ones.
40+
41+
In addition, here are some tiny changes for your information!
42+
43+
- Persistent Overlay
44+
- Container checks
45+
- Tests for instance support
46+
- Wrapper for create
47+
- Group instance commands
48+
- Group image commands
49+
- Bash completion updates
50+
51+
For the full release announcement and downloads, please see <a target="_blank" href="https://github.com/singularityware/singularity/releases/tag/2.4">the release on Github</a>.
52+
53+
Wowee, way to go team, contributors, and the community! Please report any issues or questions that you might have to <a href="https://github.com/singularityware/singularity/issues/new" target="_blank">our issue board</a>.
54+
55+
Thank you!

0 commit comments

Comments
 (0)