-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.milk.yml
42 lines (35 loc) · 1.13 KB
/
.milk.yml
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
---
# chocomilk vars
# Package Changelog
changelog: "https://release-monitoring.org/api/v2/versions/?project_id=253190"
changelog_format: json
# Regex for Version
version: "{{ register_changelog.json['stable_versions'][0] }}"
# Download URL
url: "https://packages.wazuh.com/4.x/windows/wazuh-agent-{{ version }}-1.msi"
searchreplace:
"tools/chocolateyinstall.ps1":
- regwxp: (^\s*[$]*urlPackage\s*=\s*)('.*')
replace: "$urlPackage = '{{ url }}'"
- regwxp: (^\s*[$]*checksumPackage\s*=\s*)('.*')
replace: "$checksumPackage = '{{ file_hash }}'"
# readme to description
readme:
start: 6
end: 39
# deploy
deploy:
- provider: chocolatey
repository: "https://push.chocolatey.org/"
key: "{{ lookup('env','CHOCOLATEY_ORG_API_KEY') }}"
- provider: github
name: "OpenCircle-Choco-Bot"
email: "[email protected]"
url: github.com/open-circle-ltd/chocolatey.wazuh-agent.git
key: "{{ lookup('env','GITHUB_API_KEY') }}"
# Notification
notifications:
- provider: mattermost
url: 'https://chat.open-circle.ch'
key: "{{ lookup('env','MATTERMOST_API_KEY') }}"
channel: 'notification-chocolatey'