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
`submit_command` is the full path to the Slurm job submission command used for submitting batch jobs. You may want to verify if `sbatch` is provided at that path or determine its actual location (using `which sbatch`).
406
406
407
+
```
408
+
build_permission = GH_ACCOUNT_1 GH_ACCOUNT_2 ...
409
+
```
410
+
`build_permission` defines which GitHub accounts have the permission to trigger
411
+
build jobs, i.e., for which accounts the bot acts on `bot: build ...` commands.
412
+
If the value is left empty, everyone can trigger build jobs.
413
+
414
+
```
415
+
no_build_permission_comment = The `bot: build ...` command has been used by user `{build_labeler}`, but this person does not have permission to trigger builds.
416
+
```
417
+
`no_build_permission_comment` defines a comment (template) that is used when
418
+
the account trying to trigger build jobs has no permission to do so.
419
+
420
+
407
421
#### `[bot_control]` section
408
422
409
423
The `[bot_control]` section contains settings for configuring the feature to
@@ -485,6 +499,43 @@ This defines a message that is added to the status table in a PR comment
485
499
corresponding to a job whose tarball should have been uploaded (e.g., after
If left empty, the old/legacy prefix is being used.
538
+
488
539
#### `[architecturetargets]` section
489
540
490
541
The section `[architecturetargets]` defines for which targets (OS/SUBDIR), (for example `linux/x86_64/amd/zen2`) the EESSI bot should submit jobs, and which additional `sbatch` parameters will be used for requesting a compute node with the CPU microarchitecture needed to build the software stack.
@@ -657,6 +708,53 @@ job_test_unknown_fmt = <details><summary>:shrug: UNKNOWN _(click triangle for de
657
708
`job_test_unknown_fmt` is used in case no test file (produced by `bot/check-test.sh`
658
709
provided by target repository) was found.
659
710
711
+
712
+
#### `[download_pr_comments]` section
713
+
714
+
The `[download_pr_comments]` section sets templates for messages related to
715
+
downloading the contents of a pull request.
716
+
```
717
+
git_clone_failure = Unable to clone the target repository.
718
+
```
719
+
`git_clone_failure` is shown when `git clone` failed.
720
+
721
+
```
722
+
git_clone_tip = _Tip: This could be a connection failure. Try again and if the issue remains check if the address is correct_.
723
+
```
724
+
`git_clone_tip` should contain some hint on how to deal with the issue. It is shown when `git clone` failed.
725
+
726
+
```
727
+
git_checkout_failure = Unable to checkout to the correct branch.
728
+
```
729
+
`git_checkout_failure` is shown when `git checkout` failed.
730
+
731
+
```
732
+
git_checkout_tip = _Tip: Ensure that the branch name is correct and the target branch is available._
733
+
```
734
+
`git_checkout_tip` should contain some hint on how to deal with the failure. It
735
+
is shown when `git checkout` failed.
736
+
737
+
```
738
+
curl_failure = Unable to download the `.diff` file.
739
+
```
740
+
`curl_failure` is shown when downloading the `PR_NUMBER.diff`
741
+
```
742
+
curl_tip = _Tip: This could be a connection failure. Try again and if the issue remains check if the address is correct_
743
+
```
744
+
`curl_tip` should help in how to deal with failing downloads of the `.diff` file.
745
+
746
+
```
747
+
git_apply_failure = Unable to download or merge changes between the source branch and the destination branch.
748
+
```
749
+
`git_apply_failure` is shown when applying the `.diff` file with `git apply`
750
+
failed.
751
+
752
+
```
753
+
git_apply_tip = _Tip: This can usually be resolved by syncing your branch and resolving any merge conflicts._
754
+
```
755
+
`git_apply_tip` should guide the contributor/maintainer about resolving the cause
Copy file name to clipboardExpand all lines: app.cfg.example
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,28 @@ deploy_permission =
147
147
# template for comment when user who set a label has no permission to trigger deploying tarballs
148
148
no_deploy_permission_comment = Label `bot:deploy` has been set by user `{deploy_labeler}`, but this person does not have permission to trigger deployments
149
149
150
+
# settings for where (directory) in the S3 bucket to store the metadata file and
151
+
# the tarball
152
+
# - Can be a string value to always use the same 'prefix' regardless of the target
153
+
# CVMFS repository, or can be a mapping of a target repository id (see also
154
+
# repo_target_map) to a prefix.
155
+
# - The prefix itself can use some (environment) variables that are set within
156
+
# the script. Currently those are:
157
+
# * 'github_repository' (which would be expanded to the full name of the GitHub
158
+
# repository, e.g., 'EESSI/software-layer'),
159
+
# * 'legacy_aws_path' (which expands to the legacy/old prefix being used for
160
+
# storing tarballs/metadata files) and
161
+
# * 'pull_request_number' (which would be expanded to the number of the pull
162
+
# request from which the tarball originates).
163
+
# - The list of supported variables can be shown by running
# If left empty, the old/legacy prefix is being used.
169
+
metadata_prefix =
170
+
tarball_prefix =
171
+
150
172
151
173
[architecturetargets]
152
174
# defines both for which architectures the bot will build
@@ -219,3 +241,13 @@ no_matching_tarball = No tarball matching `{tarball_pattern}` found in job dir.
219
241
multiple_tarballs = Found {num_tarballs} tarballs in job dir - only 1 matching `{tarball_pattern}` expected.
220
242
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>
221
243
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>
244
+
245
+
[download_pr_comments]
246
+
git_clone_failure = Unable to clone the target repository.
247
+
git_clone_tip = _Tip: This could be a connection failure. Try again and if the issue remains check if the address is correct_.
248
+
git_checkout_failure = Unable to checkout to the correct branch.
249
+
git_checkout_tip = _Tip: Ensure that the branch name is correct and the target branch is available._
250
+
curl_failure = Unable to download the `.diff` file.
251
+
curl_tip = _Tip: This could be a connection failure. Try again and if the issue remains check if the address is correct_
252
+
git_apply_failure = Unable to download or merge changes between the source branch and the destination branch.
253
+
git_apply_tip = _Tip: This can usually be resolved by syncing your branch and resolving any merge conflicts._
0 commit comments