You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-53Lines changed: 18 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,7 +175,9 @@ You can exit the virtual environment simply by running `deactivate`.
175
175
176
176
### <aname="step4.1"></a>Step 4.1: Installing tools to access S3 bucket
177
177
178
-
The [`scripts/eessi-upload-to-staging`](https://github.com/EESSI/eessi-bot-software-layer/blob/main/scripts/eessi-upload-to-staging) script uploads a tarball and an associated metadata file to an S3 bucket.
`tarball_upload_script` provides the location for the script used for uploading built software packages to an S3 bucket.
451
+
`artefact_upload_script` provides the location for the script used for uploading built software packages to an S3 bucket.
450
452
451
453
```
452
454
endpoint_url = URL_TO_S3_SERVER
453
455
```
454
-
`endpoint_url` provides an endpoint (URL) to a server hosting an S3 bucket. The server could be hosted by a commercial cloud provider like AWS or Azure, or running in a private environment, for example, using Minio. The bot uploads tarballs to the bucket which will be periodically scanned by the ingestion procedure at the Stratum 0 server.
456
+
`endpoint_url` provides an endpoint (URL) to a server hosting an S3 bucket. The
457
+
server could be hosted by a commercial cloud provider like AWS or Azure, or
458
+
running in a private environment, for example, using Minio. The bot uploads
459
+
artefacts to the bucket which will be periodically scanned by the ingestion procedure at the Stratum 0 server.
455
460
456
461
457
462
```ini
@@ -466,7 +471,7 @@ bucket_name = {
466
471
}
467
472
```
468
473
469
-
`bucket_name` is the name of the bucket used for uploading of tarballs.
474
+
`bucket_name` is the name of the bucket used for uploading of artefacts.
470
475
The bucket must be available on the default server (`https://${bucket_name}.s3.amazonaws.com`), or the one provided via `endpoint_url`.
471
476
472
477
`bucket_name` can be specified as a string value to use the same bucket for all target repos, or it can be mapping from target repo id to bucket name.
@@ -481,7 +486,7 @@ The `upload_policy` defines what policy is used for uploading built artefacts to
481
486
|`upload_policy` value|Policy|
482
487
|:--------|:--------------------------------|
483
488
|`all`|Upload all artefacts (mulitple uploads of the same artefact possible).|
484
-
|`latest`|For each build target (prefix in tarball name `eessi-VERSION-{software,init,compat}-OS-ARCH)` only upload the latest built artefact.|
489
+
|`latest`|For each build target (prefix in artefact name `eessi-VERSION-{software,init,compat}-OS-ARCH)` only upload the latest built artefact.|
485
490
|`once`|Only once upload any built artefact for the build target.|
486
491
|`none`|Do not upload any built artefacts.|
487
492
@@ -496,30 +501,30 @@ deployment), or a space delimited list of GitHub accounts.
496
501
no_deploy_permission_comment = Label `bot:deploy` has been set by user `{deploy_labeler}`, but this person does not have permission to trigger deployments
497
502
```
498
503
This defines a message that is added to the status table in a PR comment
499
-
corresponding to a job whose tarball should have been uploaded (e.g., after
504
+
corresponding to a job whose artefact should have been uploaded (e.g., after
@@ -656,46 +661,6 @@ running_job = job `{job_id}` is running
656
661
#### `[finished_job_comments]` section
657
662
658
663
The `[finished_job_comments]` section sets templates for messages about finished jobs.
659
-
```
660
-
success = :grin: SUCCESS tarball `{tarball_name}` ({tarball_size} GiB) in job dir
661
-
```
662
-
`success` specifies the message for a successful job that produced a tarball.
663
-
664
-
```
665
-
failure = :cry: FAILURE
666
-
```
667
-
`failure` specifies the message for a failed job.
668
-
669
-
```
670
-
no_slurm_out = No slurm output `{slurm_out}` in job dir
671
-
```
672
-
`no_slurm_out` specifies the message for missing Slurm output file.
673
-
674
-
```
675
-
slurm_out = Found slurm output `{slurm_out}` in job dir
676
-
```
677
-
`slurm_out` specifies the message for found Slurm output file.
678
-
679
-
```
680
-
missing_modules = Slurm output lacks message "No missing modules!".
681
-
```
682
-
`missing_modules` is used to signal the lack of a message that all modules were built.
683
-
684
-
```
685
-
no_tarball_message = Slurm output lacks message about created tarball.
686
-
```
687
-
`no_tarball_message` is used to signal the lack of a message about a created tarball.
688
-
689
-
```
690
-
no_matching_tarball = No tarball matching `{tarball_pattern}` found in job dir.
691
-
```
692
-
`no_matching_tarball` is used to signal a missing tarball.
693
-
694
-
```
695
-
multiple_tarballs = Found {num_tarballs} tarballs in job dir - only 1 matching `{tarball_pattern}` expected.
696
-
```
697
-
`multiple_tarballs` is used to report that multiple tarballs have been found.
698
-
699
664
```
700
665
job_result_unknown_fmt = <details><summary>:shrug: UNKNOWN _(click triangle for details)_</summary><ul><li>Job results file `{filename}` does not exist in job directory, or parsing it failed.</li><li>No artefacts were found/reported.</li></ul></details>
# if attribute is set, bucket_base will be constructed as follows
@@ -160,11 +160,11 @@ upload_policy = once
160
160
# value can be a space delimited list of GH accounts
161
161
deploy_permission =
162
162
163
-
# template for comment when user who set a label has no permission to trigger deploying tarballs
163
+
# template for comment when user who set a label has no permission to trigger deploying artefacts
164
164
no_deploy_permission_comment = Label `bot:deploy` has been set by user `{deploy_labeler}`, but this person does not have permission to trigger deployments
165
165
166
166
# settings for where (directory) in the S3 bucket to store the metadata file and
167
-
# the tarball
167
+
# the artefact
168
168
# - Can be a string value to always use the same 'prefix' regardless of the target
169
169
# CVMFS repository, or can be a mapping of a target repository id (see also
170
170
# repo_target_map) to a prefix.
@@ -173,17 +173,17 @@ no_deploy_permission_comment = Label `bot:deploy` has been set by user `{deploy_
173
173
# * 'github_repository' (which would be expanded to the full name of the GitHub
174
174
# repository, e.g., 'EESSI/software-layer'),
175
175
# * 'legacy_aws_path' (which expands to the legacy/old prefix being used for
176
-
# storing tarballs/metadata files) and
176
+
# storing artefacts/metadata files) and
177
177
# * 'pull_request_number' (which would be expanded to the number of the pull
178
-
# request from which the tarball originates).
178
+
# request from which the artefact originates).
179
179
# - The list of supported variables can be shown by running
# If left empty, the old/legacy prefix is being used.
185
185
metadata_prefix =
186
-
tarball_prefix =
186
+
artefact_prefix =
187
187
188
188
189
189
[architecturetargets]
@@ -247,14 +247,6 @@ running_job = job `{job_id}` is running
247
247
248
248
249
249
[finished_job_comments]
250
-
success = :grin: SUCCESS tarball `{tarball_name}` ({tarball_size} GiB) in job dir
251
-
failure = :cry: FAILURE
252
-
no_slurm_out = No slurm output `{slurm_out}` in job dir
253
-
slurm_out = Found slurm output `{slurm_out}` in job dir
254
-
missing_modules = Slurm output lacks message "No missing modules!".
255
-
no_tarball_message = Slurm output lacks message about created tarball.
256
-
no_matching_tarball = No tarball matching `{tarball_pattern}` found in job dir.
257
-
multiple_tarballs = Found {num_tarballs} tarballs in job dir - only 1 matching `{tarball_pattern}` expected.
258
250
job_result_unknown_fmt = <details><summary>:shrug: UNKNOWN _(click triangle for detailed information)_</summary><ul><li>Job results file `{filename}` does not exist in job directory, or parsing it failed.</li><li>No artefacts were found/reported.</li></ul></details>
259
251
job_test_unknown_fmt = <details><summary>:shrug: UNKNOWN _(click triangle for detailed information)_</summary><ul><li>Job test file `{filename}` does not exist in job directory, or parsing it failed.</li></ul></details>
0 commit comments