Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from netdata:master #38

Merged
merged 26 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a0e1760
HEALTH: eliminate fields that should be labels (#17048)
ktsaou Mar 5, 2024
cac652e
Rework Docker CI to build each platform in it's own runner. (#17088)
Ferroin Mar 5, 2024
d8827d1
Add missing checkout step in Docker workflow.
Ferroin Mar 5, 2024
4c1adba
go.d.plugin dyncfgv2 (#17064)
ilyam8 Mar 5, 2024
149719c
remove "foreach" from health REFERENCE.md (#17106)
ilyam8 Mar 5, 2024
935ffce
Push Docker images to registries individually.
Ferroin Mar 5, 2024
1116111
Reorganize and cleanup database related code (#17101)
stelfrag Mar 5, 2024
f517f5a
fix links in go.d.plugin (#17108)
ilyam8 Mar 5, 2024
15de03d
rm unused files from go.d.plugin (#17110)
ilyam8 Mar 5, 2024
e69cde4
Regenerate integrations.js (#17107)
netdatabot Mar 5, 2024
5f024e4
Improve cleanup of ephemeral hosts during agent startup (#17104)
stelfrag Mar 5, 2024
291004e
go.d.plugin add notice log level (#17112)
ilyam8 Mar 5, 2024
746ebfd
remove "os" "hosts" "plugin" and "module" from stock alarms (#17113)
ilyam8 Mar 5, 2024
2f72c41
[ci skip] Update changelog and version for nightly build: v1.44.0-465…
netdatabot Mar 6, 2024
65f9cc2
fix discovered config default values (#17115)
ilyam8 Mar 6, 2024
13466de
remove deprecated settings from the health ref doc (#17116)
ilyam8 Mar 6, 2024
0eeedf7
very minor docs update (#17117)
Ancairon Mar 6, 2024
2911e17
minor fix; broken link on on prem installation doc (#17118)
tkatsoulas Mar 6, 2024
cceb27a
fix links (#17095)
Ancairon Mar 6, 2024
2ede3d7
Fix memory leak (#17114)
stelfrag Mar 6, 2024
6642af3
Second pass at reworking Docker CI. (#17111)
Ferroin Mar 6, 2024
a0c2b9c
Fix new Docker workflow skip logic.
Ferroin Mar 6, 2024
2a4c3af
Fix issues with Docker workflow.
Ferroin Mar 6, 2024
060d59d
Fix creation of Docker image manifests.
Ferroin Mar 6, 2024
9f72d12
Switch publishing Docker images to regular repo.
Ferroin Mar 6, 2024
8d18e15
[ci skip] Update changelog and version for nightly build: v1.44.0-477…
netdatabot Mar 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .github/scripts/gen-docker-imagetool-args.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env python3

import sys

from pathlib import Path

DIGEST_PATH = Path(sys.argv[1])
TAG_PREFIX = sys.argv[2]
TAGS = sys.argv[3]

if TAG_PREFIX:
PUSH_TAGS = tuple([
t for t in TAGS.split(',') if t.startswith(TAG_PREFIX)
])
else:
PUSH_TAGS = tuple([
t for t in TAGS.split(',') if t.startswith('netdata/')
])

IMAGE_NAME = PUSH_TAGS[0].split(':')[0]

images = []

for f in DIGEST_PATH.glob('*'):
images.append(f'{IMAGE_NAME}@sha256:{f.name}')

print(f'-t {" -t ".join(PUSH_TAGS)} {" ".join(images)}')
35 changes: 25 additions & 10 deletions .github/scripts/gen-docker-tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,33 @@

import sys

version = sys.argv[1].split('.')
suffix = sys.argv[2]
github_event = sys.argv[1]
version = sys.argv[2]

REPO = f'netdata/netdata{suffix}'
GHCR = f'ghcr.io/{REPO}'
QUAY = f'quay.io/{REPO}'
REPO = 'netdata/netdata'

tags = []
REPOS = (
REPO,
f'quay.io/{REPO}',
f'ghcr.io/{REPO}',
)

for repo in [REPO, GHCR, QUAY]:
tags.append(':'.join([repo, version[0]]))
tags.append(':'.join([repo, '.'.join(version[0:2])]))
tags.append(':'.join([repo, '.'.join(version[0:3])]))
match version:
case '':
tags = (f'{REPO}:test',)
case 'nightly':
tags = tuple([
f'{r}:{t}' for r in REPOS for t in ('edge', 'latest')
])
case _:
v = f'v{version}'.split('.')

tags = tuple([
f'{r}:{t}' for r in REPOS for t in (
v[0],
'.'.join(v[0:2]),
'.'.join(v[0:3]),
)
])

print(','.join(tags))
Loading
Loading