Skip to content

Commit db8cca4

Browse files
authored
Merge pull request #7 from boegel/ci
fix broken links & typos, run `zensical build --strict` in CI, use fixed commits for used actions, add `Makefile`
2 parents ce5032e + 3e1d8c0 commit db8cca4

8 files changed

Lines changed: 61 additions & 19 deletions

File tree

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
url: ${{ steps.deployment.outputs.page_url }}
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/configure-pages@v6
19-
- uses: actions/checkout@v6
20-
- uses: actions/setup-python@v6
18+
- uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
19+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
20+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2121
with:
2222
python-version: 3.x
23-
- run: pip install zensical
23+
- run: pip install -r requirements.txt
2424
- run: zensical build --clean
25-
- uses: actions/upload-pages-artifact@v5
25+
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
2626
with:
2727
path: site
28-
- uses: actions/deploy-pages@v5
28+
- uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
2929
id: deployment

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
2+
name: build documentation
3+
on: [push, pull_request]
4+
# Declare default permissions as read only.
5+
permissions: read-all
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
11+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
12+
with:
13+
python-version: 3.x
14+
15+
- name: codespell
16+
uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2
17+
with:
18+
check_filenames: true
19+
skip: '.git'
20+
ignore_words_list:
21+
22+
- name: install Zensical
23+
run: |
24+
pip install -r requirements.txt
25+
zensical --version
26+
27+
- name: check build
28+
run: make test

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
all: build
2+
3+
build:
4+
zensical build
5+
6+
deploy:
7+
zensical gh-deploy --force
8+
9+
test:
10+
zensical build --strict
11+
12+
preview:
13+
zensical serve

docs/ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ architecture. If we click on `Details` for one of the runs, we get taken to wher
263263
and the output it is generating.
264264

265265
The run is broken down into `steps`, each of which has a name. The one we are interested in is
266-
`Build and test our package`, which is where we defined our build processs. While the build is running we can read the
266+
`Build and test our package`, which is where we defined our build process. While the build is running we can read the
267267
output, or we can view it after the run completes. Regardless, we note that the output is almost identical to that
268268
which we had when we ran the workflow ourselves. This is no more than we expect in reality, since this is what EESSI
269269
is supposed to deliver for us.

docs/getting-access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ README.eessi defaults host_injections init versions
3232
```
3333

3434
For starting to use EESSI, continue reading about
35-
[Setting up environment](eessi-usage.md#setting-up-your-environment).
35+
[Setting up environment](usage.md#setting-up-your-environment).
3636

3737
If you see an error message as shown below, **EESSI is not yet accessible on your
3838
system**.
@@ -182,6 +182,6 @@ ls /cvmfs/software.eessi.io
182182

183183
---
184184

185-
To start using EESSI, see [Using EESSI](eessi-usage.md).
185+
To start using EESSI, see [Using EESSI](usage.md).
186186

187187
[*(back to overview page)*](index.md)

docs/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ EESSI provides a shared, portable, and optimized software stack for scientific c
1212

1313
## Tutorial Contents
1414

15-
(For those attending the live tutorial at ISC26, there is a [prepared environment](prepared-environment.md) available.)
15+
For those attending the live tutorial at ISC26, there is a [prepared environment](prepared-environment.md) available.
1616

17-
1. [Getting Access to EESSI](eessi-getting-access.md)
18-
2. [Introduction to EESSI](eessi-introduction.md)
19-
3. [Using EESSI](eessi-usage.md)
20-
4. [EESSI Use Cases](eessi-use-cases.md)
17+
1. [Introduction to EESSI](introduction.md)
18+
2. [Getting Access to EESSI](getting-access.md)
19+
3. [Using EESSI](usage.md)
20+
4. [EESSI Use Cases](use-cases.md)
2121
5. [Installing on top of EESSI](installing-on-top.md)
22-
6. [Using EESSI in CI](eessi-in-ci.md)
22+
6. [Using EESSI in CI](ci.md)
2323
7. [Advanced topics](advanced-topics.md)
2424

2525
## Learning Objectives

docs/installing-on-top.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
EESSI is sometimes described as "container without a container runtime". What that means is that it effectively
1111
provides an alternative operating system to the native one without the need for something to negotiate between the two.
1212
When we are _consuming_ software from EESSI, there is no real way to see this. It is only when we try to use EESSI as a
13-
basis for building new sotware that we are exposed to the addional complexity that this can bring.
13+
basis for building new sotware that we are exposed to the additional complexity that this can bring.
1414

1515
## Building a software project
1616

@@ -380,7 +380,7 @@ There are a few things that can impact the behaviour of the runtime loader:
380380
store information about the paths to search when looking for libraries. This can be done in such a way that it can
381381
be overridden by `LD_LIBRARY_PATH` (`RUNPATH` linking), or in a way where `LD_LIBRARY_PATH` has no influence
382382
(`RPATH` linking).
383-
* The runtime loader also has default locations it searchs for libraries. These are used as a last resort.
383+
* The runtime loader also has default locations it searches for libraries. These are used as a last resort.
384384

385385
For a given application or library, we can inspect what the runtime loader will resolve the shared libraries to
386386
using the command `ldd`. For our failed build, we can do this on the binary `hello_mpi_hdf5`, which was created by our
@@ -407,7 +407,7 @@ we cannot use `LD_LIBRARY_PATH` to help the loader to find libraries (as setting
407407
host runtime loader, which may unintentionally break applications coming from the host). EESSI therefore must use
408408
`RPATH`-linking for all of the programs it ships in the software layer.
409409

410-
We can inspect the RPATH information encoded in a libary using a tool called `patchelf` (which is
410+
We can inspect the RPATH information encoded in a library using a tool called `patchelf` (which is
411411
shipped in EESSI):
412412
``` { .bash .no-copy }
413413
{EESSI/2025.06} $ patchelf --print-rpath hello_mpi_hdf5
@@ -671,7 +671,7 @@ module load EESSI-extend/2025.06-easybuild
671671
### Using `EESSI-extend` to install a package with EasyBuild
672672

673673
First, we need something that we want to install. For the purposes of this tutorial we are going to use a build
674-
recipe (or _easyconfig_) for EasyBuild targetting the package we have been working with to date.
674+
recipe (or _easyconfig_) for EasyBuild targeting the package we have been working with to date.
675675

676676
!!! warning
677677

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
zensical

0 commit comments

Comments
 (0)