Skip to content

Commit c1c045b

Browse files
committed
Lint
1 parent 974805c commit c1c045b

8 files changed

+28
-28
lines changed

docs/architecture/container_preparation.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ sequenceDiagram
1717
Container Preparation container ->> Vault: Log-in using SVID
1818
Vault ->> Container Preparation container: Returns an authentication token (write only on client's path)
1919
Container Preparation container ->> Vault: Write private key using authentication token
20-
Vault ->> Container Preparation container:
20+
Vault ->> Container Preparation container:
2121
Container Preparation container ->> HPCS Server: Request creation of workloads (compute nodes, users, groups ...) authorized to access the key and using SVID to authenticate
2222
HPCS Server ->> Spire Server: Validate SVID
23-
Spire Server ->> HPCS Spire Agent:
23+
Spire Server ->> HPCS Spire Agent:
2424
HPCS Spire Agent ->> Spire Server: Validate SVID
25-
Spire Server ->> HPCS Server:
25+
Spire Server ->> HPCS Server:
2626
HPCS Server ->> Spire Server: Create workloads identities to access the key
27-
Spire Server ->> HPCS Server:
27+
Spire Server ->> HPCS Server:
2828
HPCS Server ->> Vault: Create role and policy to access the key
29-
Vault ->> HPCS Server:
29+
Vault ->> HPCS Server:
3030
HPCS Server ->> Container Preparation container: SpiffeID & role to access the container, path to the secret
3131
Container Preparation container ->> Container Preparation container: Parse info file based on previous steps
3232
Container Preparation container ->> Supercomputer: Ship encrypted container
33-
Supercomputer ->> Container Preparation container: '
33+
Supercomputer ->> Container Preparation container: '
3434
Container Preparation container ->> Supercomputer: Ship info file
35-
Supercomputer ->> Container Preparation container:
35+
Supercomputer ->> Container Preparation container:
3636
Container Preparation container -->> Spire Agent: Kills
37-
Spire Agent -->> Container Preparation container:
37+
Spire Agent -->> Container Preparation container:
3838
Spire Agent -->> Container Preparation container: Dies
3939
Container Preparation container -->> User: Finishes
4040
```

docs/architecture/data_preparation.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ sequenceDiagram
1717
Data Preparation container ->> Vault: Log-in using SVID
1818
Vault ->> Data Preparation container: Returns an authentication token (write only on client's path)
1919
Data Preparation container ->> Vault: Write private key using authentication token
20-
Vault ->> Data Preparation container:
20+
Vault ->> Data Preparation container:
2121
Data Preparation container ->> HPCS Server: Request creation of workloads (compute nodes, users, groups ...) authorized to access the key and using SVID to authenticate
2222
HPCS Server ->> Spire Server: Validate SVID
23-
Spire Server ->> HPCS Spire Agent:
23+
Spire Server ->> HPCS Spire Agent:
2424
HPCS Spire Agent ->> Spire Server: Validate SVID
25-
Spire Server ->> HPCS Server:
25+
Spire Server ->> HPCS Server:
2626
HPCS Server ->> Spire Server: Create workloads identities to access the key
27-
Spire Server ->> HPCS Server:
27+
Spire Server ->> HPCS Server:
2828
HPCS Server ->> Vault: Create role and policy to access the key
29-
Vault ->> HPCS Server:
29+
Vault ->> HPCS Server:
3030
HPCS Server ->> Data Preparation container: SpiffeID & role to access the container, path to the secret
3131
Data Preparation container ->> Data Preparation container: Parse info file based on previous steps
3232
Data Preparation container ->> Supercomputer: Ship encrypted containe
33-
Supercomputer ->> Data Preparation container:
33+
Supercomputer ->> Data Preparation container:
3434
Data Preparation container ->> Supercomputer: Ship info file
35-
Supercomputer ->> Data Preparation container:
35+
Supercomputer ->> Data Preparation container:
3636
Data Preparation container -->> Spire Agent: Kills
37-
Spire Agent -->> Data Preparation container:
37+
Spire Agent -->> Data Preparation container:
3838
Spire Agent -->> Data Preparation container: Dies
3939
Data Preparation container -->> User: Finishes
4040
```

docs/architecture/job_preparation.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ sequenceDiagram
2323
Job Preparation container ->> Job Preparation container: Parse info from info file
2424
Job Preparation container ->> Job Preparation container: Generate SBATCH file from template based on info gathered
2525
Job Preparation container ->> Login Node: Copy SBATCH File and HPCS Configuration file
26-
Login Node ->> Job Preparation container:
26+
Login Node ->> Job Preparation container:
2727
Job Preparation container ->> Job Preparation container: Generate keypair for output data
2828
Job Preparation container ->> Login Node: Copy encryption key
29-
Login Node ->> Job Preparation container:
29+
Login Node ->> Job Preparation container:
3030
end
3131
3232
rect rgb(191, 223, 255)
@@ -68,13 +68,13 @@ sequenceDiagram
6868
Application container ->> Application container: Encrypt output directory
6969
Application container -->> Compute node: Finishes
7070
Compute node -->> Spire Agent: Kills
71-
Spire Agent -->> Compute node:
71+
Spire Agent -->> Compute node:
7272
Spire Agent -->> Compute node: Dies
7373
Compute node ->> Scheduler: Becomes available
7474
deactivate Job Preparation container
7575
end
7676
Job Preparation container ->> Login Node: Close SSH connection
77-
Login Node ->> Job Preparation container:
77+
Login Node ->> Job Preparation container:
7878
Login Node ->> Job Preparation container: Close SSH connection
7979
8080
Job Preparation container -->> User: Finishes

docs/cli/container_preparation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Using the cli directly isn't recommended, the supported way is through docker's entrypoint.
44

5-
The container preparation cli allows the user to create/encrypt/ship a HPCS ready image based on any OCI image.
5+
The container preparation cli allows the user to create/encrypt/ship a HPCS ready image based on any OCI image.
66

77
```
88
usage: prepare_container.py [-h] --base-oci-image BASE_OCI_IMAGE --sif-path SIF_PATH [--encrypted] [--docker-path DOCKER_PATH]

docs/cli/data_preparation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Using the cli directly isn't recommended, the supported way is through docker's entrypoint.
44

5-
The data preparation cli allows the user to encrypt/ship an encrypted archive based on any source directory.
5+
The data preparation cli allows the user to encrypt/ship an encrypted archive based on any source directory.
66

77
```
88
usage: prepare_data.py [-h] --input-path INPUT_PATH --output-path OUTPUT_PATH
@@ -24,8 +24,8 @@ Examples
2424
python3 ./client/data_preparation/prepare_data.py --help
2525

2626
# Run the data preparation while specifying every parameters
27-
python3 ./client/data_preparation/prepare_data.py --input-path $(pwd)/input_data --output-path $(pwd)
27+
python3 ./client/data_preparation/prepare_data.py --input-path $(pwd)/input_data --output-path $(pwd)
2828

2929
# Run the data preparation while specifying every parameters (shortened version)
30-
python3 ./client/data_preparation/prepare_data.py -i $(pwd)/input_data -o $(pwd)
30+
python3 ./client/data_preparation/prepare_data.py -i $(pwd)/input_data -o $(pwd)
3131
```

docs/cli/job_preparation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Will create a slurm job with the following configuration :
6060
- As etellier
6161
- for an hour
6262

63-
Also :
63+
Also :
6464
- HPCS will run the job using `/scratch/project_462000031/etellier` as its workdir
6565
- The application will be handled using info file at `/pfs/lustrep4/scratch/project_462000031/etellier/encrypted_prepared_jp2a.sif.info.yaml`
6666
- The application will be handled using info file at `/pfs/lustrep4/scratch/project_462000031/etellier/encrypted_jp2a_input.tgz.info.yaml`

docs/configuration/client.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Client's configuration has to respect `ini` configuration format and essentially
88
[spire-server]
99
address = localhost
1010
port = 31147
11-
trust-domain = hpcs
11+
trust-domain = hpcs
1212

1313
[hpcs-server]
1414
url = http://localhost:10080
@@ -23,7 +23,7 @@ username = etellier
2323

2424
## Reference
2525

26-
### `spire-server`
26+
### `spire-server`
2727

2828
This section describes the connection to the spire-server
2929
- `address` : address of the spire-server

docs/configuration/server.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ server-role = hpcs-server
2424

2525
## Reference
2626

27-
### `spire-server`
27+
### `spire-server`
2828

2929
This section describes the connection to the spire-server
3030
- `address` : address of the spire-server

0 commit comments

Comments
 (0)