mirror of https://github.com/Chizi123/Arch-autobuild-repo.git

Joel Grunbaum
yesterday 322e9ddcf363622ad36ad969b602b5d432239c0f
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
83
84
85
86
87
# Archbuild Configuration
# Copy this file to config.yaml and edit as needed
 
repository:
  # Repository name (used in pacman.conf)
  name: "myrepo"
  # Directory containing the repository packages and database
  path: "/repo/x86_64"
  # Directory for cloning and building packages
  build_dir: "/repo/build"
  # Compression format for packages (zst, xz, gz)
  compression: "zst"
 
building:
  # Enable parallel builds
  parallel: true
  # Maximum number of concurrent build workers
  max_workers: 4
  # Clean build directory after successful build
  clean: true
  # Update system before building (sudo pacman -Syu)
  update_system: false
  # Number of retry attempts on build failure
  retry_attempts: 3
  # Base delay between retries in seconds (exponential backoff)
  retry_delay: 5
 
signing:
  # Enable package signing
  enabled: false
  # GPG key ID for signing (leave empty to use default key)
  key: ""
 
retention:
  # Number of old package versions to keep
  keep_versions: 3
  # Automatically clean old versions after build
  cleanup_on_build: true
 
notifications:
  email:
    # Enable email notifications on build failures
    enabled: false
    # Recipient email address
    to: ""
    # Sender email address
    from: "archbuild@localhost"
    # SMTP server settings
    smtp_host: "localhost"
    smtp_port: 25
    use_tls: false
    username: ""
    password: ""
  
  # Webhook notifications (Discord, Slack, ntfy, etc.)
  # Uncomment and configure as needed
  webhooks: []
  # Example Discord webhook:
  # webhooks:
  #   - enabled: true
  #     type: "discord"
  #     url: "https://discord.com/api/webhooks/..."
  # 
  # Example ntfy webhook:
  # webhooks:
  #   - enabled: true
  #     type: "ntfy"
  #     url: "https://ntfy.sh/your-topic"
 
# Per-package build overrides
# Use this for packages that need special handling
package_overrides: {}
  # Example: Microsoft fonts need checksum skipping
  # ttf-ms-win10:
  #   skip_checksums: true
  # 
  # Example: Custom environment variables
  # some-package:
  #   env:
  #     LC_ALL: "C"
  #   extra_args:
  #     - "--nocheck"
 
# Logging configuration
log_level: "INFO"  # DEBUG, INFO, WARNING, ERROR, CRITICAL
# Uncomment to also log to file:
# log_file: "/var/log/archbuild.log"