Skip to content

[pull] master from netdata:master#125

Merged
pull[bot] merged 8 commits intosamjaninf:masterfrom
netdata:master
Jul 20, 2024
Merged

[pull] master from netdata:master#125
pull[bot] merged 8 commits intosamjaninf:masterfrom
netdata:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jul 18, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

ilyam8 and others added 8 commits July 18, 2024 12:55
* Initial Windows CI support.

This also adds a proper set of production-focused packaging scripts
for working with building Netdata on Windows.

* Pivot to using existing tooling and fixing that up as required.

* General script cleanup.

* Auto-detect location of repository based on script location.

This makes the scripts properly independent of the current working
directory, allowing them to be more resilient to possible changes in the
build environment.

* Make dependency handling entirely separate from build.

* Remove development-only packages from dependency list.

They only waste time in CI, and it’s reasonable to assume that anybody
who needs them can install them themselves, just like we do with all
other platforms.

* Use absolute path for makensis.

This way it actually works without needing manual modification of the
environment.

* Add PowerShell scripts to invoke the build and package scripts.

* Clean up build directory handling.

* Fix fetching of msys2 installer.

* Further cleanup.

* Tidy up build output

* Provide proper output grouping in GitHub Actions.

* Use correct command name for makensis.

* Fix installer script path.

* Do not try to install MSYS2 using Chocolatey.

* Fix CPU architecture check.

* Add more detailed messages for MSYS2 install.

* Fix release fetching logic.

* Further release check logic fixes.

* Complete Windows CI support.

* Move second update pass into dependency handling script.

* Fix handling of icon for Windows installer.

* Default to using a working configuration for release builds.

And provide a way to pass extra options to CMake without needing to
modify the script.

* Fix expansion of optionally defined variable.
In practice, ndsudo is only actually used by the Go plugin, so we only
need to build and install it if we are building and installing the Go
plugin. This speeds up the build a tiny bit when the Go plugin is not
being built, and removes a non-trivial bit of attack surface from the
eventual install as well.
Do not include REMOVED status in the snapshot
@pull pull bot merged commit 67e4e79 into samjaninf:master Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants