forked from pescobar/filesystem-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomated_ingestion.cfg.example
82 lines (64 loc) · 1.84 KB
/
automated_ingestion.cfg.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[secrets]
aws_secret_access_key = XXX
aws_access_key_id = XXX
github_pat = XXX
slack_webhook = https://hooks.slack.com/services/XXX/YYY/ZZZ
[paths]
download_dir = /where/to/store/download/tarballs
ingestion_script = /absolute/path/to/ingest-tarball.sh
metadata_file_extension = .meta.txt
[signatures]
signatures_required = no
signature_file_extension = .sig
signature_verification_script = /absolute/path/to/sign_verify_file_ssh.sh
allowed_signers_file = /path/to/allowed_signers
[aws]
staging_buckets = {
"software.eessi.io-2023.06": "software.eessi.io",
"dev.eessi.io-2024.09": "dev.eessi.io",
"riscv.eessi.io-20240402": "riscv.eessi.io" }
[cvmfs]
ingest_as_root = yes
[github]
staging_repo = EESSI/staging
failed_ingestion_issue_body = Ingestion for tarball `{tarball}` has failed.
Ingestion command:
```
{command}
```
Return code:
{return_code}
Stdout:
```
{stdout}
```
Stderr:
```
{stderr}
```
failed_tarball_overview_issue_body = An error occurred while trying to get the contents of `{tarball}`.
Error message:
```
{error}
```
pr_body = A new tarball has been staged for {pr_url}.
Please review the contents of this tarball carefully.
Merging this PR will lead to automatic ingestion of the tarball to the repository {cvmfs_repo}.
<details>
<summary>Metadata of tarball</summary>
```
{metadata}
```
</details>
<details>
<summary>Overview of tarball contents</summary>
{tar_overview}
</details>
[slack]
ingestion_notification = yes
ingestion_message = Tarball `{tarball}` has been ingested into the CVMFS repository `{cvmfs_repo}`.
[logging]
level = WARN
format = %%(levelname)s:%%(message)s
# Use filename = None or remove the line for logging to stdout
filename = automated_ingestion.log