mirror of
https://github.com/netdata/netdata.git
synced 2025-04-06 22:38:55 +00:00

* Setup sentry-native SDK. * Integrate Sentry into our CI Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * minor fix Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Include sentry field to the build matrix Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Update the bundle_sentry flag for all the distros Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * more changes Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * NON mergeable change Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * . Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Enable fetch content. * Abort in profile plugin * Update plugin_profile.cc * NON MERGABLE COMMIT, just for testing purposes * NON MERGEABLE CHANGE, jsut for testing purposes * Bump * Use breakpad backend * Multiple changes - Make DSN variable that we read from the CI from the CI - Upload debug symbols - Fix packaging workflow; include new env vars & fix shecllchecks Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Modify sentry dif command * fix merge conf Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Fix merge conflict * Undo file prefix map. * Fix typo * Cleanup stuff. * Add 256-checksum * Renable ML for debs * Finalize CI changes Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Update rules * final touches Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * merge the two if, no point to have them sep Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Update contrib/debian/rules Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> * Update contrib/debian/rules Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> * Add license * Enable sentry for debian 12. * Update .github/workflows/packaging.yml Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com> --------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
37 lines
1.3 KiB
Python
Executable file
37 lines
1.3 KiB
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import json
|
|
import sys
|
|
|
|
from ruamel.yaml import YAML
|
|
|
|
ALWAYS_RUN_ARCHES = ["amd64", "x86_64"]
|
|
SHORT_RUN = sys.argv[1]
|
|
yaml = YAML(typ='safe')
|
|
entries = list()
|
|
run_limited = False
|
|
|
|
with open('.github/data/distros.yml') as f:
|
|
data = yaml.load(f)
|
|
|
|
if bool(int(SHORT_RUN)):
|
|
run_limited = True
|
|
|
|
for i, v in enumerate(data['include']):
|
|
if 'packages' in data['include'][i]:
|
|
for arch in data['include'][i]['packages']['arches']:
|
|
if arch in ALWAYS_RUN_ARCHES or not run_limited:
|
|
entries.append({
|
|
'distro': data['include'][i]['distro'],
|
|
'version': data['include'][i]['version'],
|
|
'repo_distro': data['include'][i]['packages']['repo_distro'],
|
|
'format': data['include'][i]['packages']['type'],
|
|
'base_image': data['include'][i]['base_image'] if 'base_image' in data['include'][i] else ':'.join([data['include'][i]['distro'], data['include'][i]['version']]),
|
|
'platform': data['platform_map'][arch],
|
|
'bundle_sentry': data['include'][i]['bundle_sentry'],
|
|
'arch': arch
|
|
})
|
|
|
|
entries.sort(key=lambda k: (data['arch_order'].index(k['arch']), k['distro'], k['version']))
|
|
matrix = json.dumps({'include': entries}, sort_keys=True)
|
|
print(matrix)
|