Age | Commit message (Collapse) | Author |
|
* Migrate Tests from Travis CI to Github Workflows
* Use GHA path filters
* Make a unit test fail
* Run new cmocka based unit tests
* Revert "Make a unit test fail"
This reverts commit 15500c59e4d49cb478ef27289de0366a543815c5.
* Make a cmocka unit test fail
* Work around a bug in libbson-1.0 on Ubuntu 18.04
* Add DCMAKE_BUILD_TYPE=Debug to make dbengine tests pass
* Upload LastTest.log to GHA Artifact storage
* Revert "Make a cmocka unit test fail"
This reverts commit 920f56a03d0479bec1a67dc8c242df189f702177.
* Remove Artifacts Validation stage
|
|
|
|
* Migrate make dist validation to GHA Workflows
* Refactor run_install_with_dist_file.sh
|
|
* Bulk add frontmatter
* A few extra edge cases
|
|
anything to developers #8188 (#8196)
* Remvoed the use of clang-format that does not actually block PRs or surface anything to developers
* Reopen PR
|
|
|
|
NetData on v1.19.0-483 with a broken updater to update to latest (#8057)" (#8076)" (#8141)" (#8158)
This reverts commit fd64a54e244f4380cc4e4e694126ca2b68f7d6f8.
|
|
v1.19.0-483 with a broken updater to update to latest (#8057)" (#8076)" (#8141)
This reverts commit bf62726bc632d1c65e8f2960af0052523f420266.
|
|
v1.19.0-483 with a broken updater to update to latest (#8057)" (#8076)
This reverts commit 53390e634001be49e9b67c4ea71232dc028033ec.
|
|
broken updater to update to latest (#8057)
|
|
We're not actually building any i386 RPM packages, and it maes
essentially no sense to do so as the various major RPM-based distros
don't even really support 32-bit x86 installs anymore.
This will actually speed up the builds for the other package types
because they won't be competing for CI resources. It will also make the
commit history tidier in the repo.
|
|
* Move the script for installing required packages into the main repo.
Based on discussion with Costa.
Most of what this script is actually used for directly is in the main
repo anyway, so it makes more sense to have it there so that any changes
get reviewed properly.
* Fix typo in RPM package build setup.
|
|
|
|
This decouples the PR labeling process from the main CI process, allowing
them to run completely independenly of each other.
The new labeling configuration is based on copying, extending, and
correcting the existing labeling rules in the `labeler.sh` script which
the commit is removing.
Labeling is configured through `.github/labeler.yml` file. Check there
for info on the exact format.
The exact configuration being used will update labels on PR's whenever
one is opened, updated, reopened, or marked ready for review. It will
not remove existing labels from the PR, only add new ones.
|
|
* packaging: Set default release channel to stable for gh releases
* Leave kickstart files alone
* Update .travis/create_artifacts.sh
Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
Co-authored-by: Mansour Behabadi <mansour@oxplot.com>
Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
|
|
* Skip unit testing during CI when it's not needed.
Our current unit testing takes almost 20 minutes on average during the
CI process, which is almost twice as long as any other step, and it's
only going to get longer as we get better test coverage.
This commit slightly alters how we handle unit testing during CI so that
only those unit tests which are actually needed get run.
This is achieved by using the `$TRAVIS_COMMIT_RANGE` environment
variable provided by Travis to determine which commits we're actually
testing, and then using that information to query Git for what files
actually changed.
As of right now, the only unit testing we're doing is in the dbengine
code, so we check to see if any of those files or the C unit testing
files are modified by the PR and only runs the unit tests for those if
they were modified. The checks are a bit more wide-ranging than they
probably need to be so that we make sure to avoid any false negatives.
This should speed up CI checks for PR's (as well as not monopolizing the
master branch after every PR that gets merged).
* Restructure to better handle PR's.
The previous code did not work correctly with PR's because it ignored
the fact that Travis does not appear to report the full list of commits
for a PR in `TRAVIS_COMMIT_RANGE`, instead only reporting the most
recent set of commits that were pushed.
* Add listing of commits being checked.
This will allow for verification of what is being tested, making it
easier to spot issues with the detection logic.
* Don't assume PR's are targeting the master branch.
|
|
(#7495)
* Inject archived backports repository on Debian Jessie.
Debian Jessie only ever had libuv1 as a backport, not part of the base
release. This means that we need the backports repository on Jessie for
the build to work, which has been archived.
This updates the environment prep script for building Debian packages
for Jessie to inject a file into `/etc/apt/sources.list.d` to add in the
archived repository so that everything works correctly.
* Change how the archived backports are injected for jessie.
This shifts to just appending to the main sources.list file, which
should be more reliable. It also explicitly updates caches after
changing the sources.
* Switch back to using a separate sources file.
* Moved Jessie archived backports handling to repo setup function.
This makes the code a bit cleaner overall.
Also, we need to disable validity checking for the archives during the
call to `apt-get update` otherwise things will just refuse to work.
* Fix syntax error.
|
|
* ci: remove ubuntu trusty 14.04 from build
* Update packaging matrix with ubuntu 14.04 changes
|
|
* Indicate we no longer build packages for CentOS 6
* Remove CentOS 6 from travis pipeline description
* Use x instead of asterisks to denote version wildcard in docs
|
|
Added a linting pass. This is non-blocking but will output a measure of how much each .c and .h file deviates from our current .clang format. Changed the standard build to include all of the warning that we are using in dev. Added the dependencies for dbengine and confirmed that the standard build enables dbengine. Fixed the original warnings.
|
|
* .travis.yml: Add tick() and retry() functions
* .travis.yml: Remove superfluous 'docker info' commands
The docker info command is ran during the install phase. There is no
need to run it again
* .travis.yml: Use the tick() function instead of travis_wait()
|
|
* netdata/packaging: bring el/6 first, because this appears on all cases. Otherwise travis craps out the steps
* netdata/ci: Attempt to sanitise workflow for master branch commits
1) Rename Packaging for release, now named: Support activities on main branch
2) Adjust instruction messages to reflect more realistically the activities
3) Put labeler first on the stage, since this will always run
4) Make changelog and tag for release conditionally run, so that it does not confuse people
* netdata/ci: Sanitise workflow for release more (explained below)
We need to clean up tagging logic more and in order to do this we need to bring tagger logic to travis.yml
Then we have the complete control of tagging and triggering for changelog generation in travis.
To mitigate this, we need to:
1) make tagger script a lirbary. Keep the tagging logic in a method and remove the things needed when it was an executable (checks, executions etc)
2) make travis handle GIT_TAG checking and setting at the beginning. We need this outside of any conditionals so that we have GIT_TAG result available inside the steps
3) COMMIT_TAG_POINTS_AT can now become GIT_TAG, since this is what we actually wanted. We just named differently before to avoid any weird conflicts
4) make changelog generation for release to NOT source tagger any more. Also make it fail in case GIT_TAG is not there, we wont run the script if git tag not in place so that should be error if it happens
5) Rename .travis/generate_changelog_for_release.sh -> .travis/create_changelog_for_release.sh
6) Rename .travis/generate_changelog_and_tag_release.sh -> .travis/generate_changelog_for_release.sh
* netdata/ci: reinstate filename here. we basically do the git tag operation here still
* netdata/ci: simplify more the changelog generation process
1) Rename create_changelog_for_release.sh -> create_changelog.sh
2) Add comments and the standard path checks in create_changelog.sh
3) Do some minor changes to help diff with nightlies changelog (no functional change though, primarily messages and move flags lower)
4) Inside generate_changelog_for_nightlies.sh, use create_changelog.sh and remove code related to create changelog process
5) in nightlies.sh, use standard shebang adn fix some messages
Note: might follow up with more changes, this is just a first batch
* netdata/packaging: reinstate accidentally removed OPTS from other iterationns (different engineer)
|
|
#### Summary
Preparation for #6899
Make changelog generation faster and ensure it won't crash. Put it back to the pipeline.
##### Component Name
CI/CD
##### Additional Information
- Added correct max-issues specification. Note that the number of issues affects the number of displayed PRs. There's no way to ensure that all the PRs in a tag will be displayed, but with a limit of 500 we know that the most recent releases will be complete.
- Let the CHANGELOG show links to diffs
- Put an invalid Bug tag, to ensure that fixed bugs are not listed (the result with the defaults was incorrect)
- Enable running the changelog generation again
|
|
(#6724)
* netdata/packaging: baby steps, create the new package and introduce the install file
* netdata/packaging: [ci skip] change branch to be able to test
* netdata/packaging: we do define usrlib path to be /usr/lib
* netdata/packaging: silence sign errors for now
* netdata/packaging: Add rules for plugin-cups sub package
* netdata/packaging: [ci skip] That is libexec, not lib, duh
* netdata/packaging: [ci skip] explicitly arrange the other plugins also
* netdata/packaging: [ci skip] fix bug
* netdata/packaging: copy, dont move
* netdata/packaging: move all plugins around, also remove a slash
* netdata/packaging: [ci skip] align travis.yml changes with the ones we used on rpm cups pkg split
* netdata/packaging:[ci skip] add netdata dependency
* netdata/packaging:[ci skip] Update control files
* netdata/packaging: Add separate control file for buster, dependencies deviate (libprotoc17 instead of libprotoc10....)
* netdata/packaging: [ci skip] whoops
* netdata/packaging: [ci skip] Copy over files from temp dir, if destination non existent
* netdata/packaging:[ci skip] -d, not -f
* netdata/packaging: [ci skip] long shot
* netdata/packaging: [ci skip] revert this - need to retest
* netdata/packaging: [ci skip] remove the .install, as per an article input (https://askubuntu.com/questions/660373/dh-install-fails-with-missing-files) these files are for handling items not managed by the upstream build system, so bye bye
* netdata/packaging: Ok, lets ditch dh_auto_configure
* Revert "netdata/packaging: Ok, lets ditch dh_auto_configure"
This reverts commit 3b497cf5f6e157ce5429ffce38452515670a934a.
Well, that didn't affect anything
* netdata/packaging: [ci skip] here's a crazy thought
Okay, assuming that packager decided to use debian/tmp because we introduced multiple packages.
If that is the case, then move the custom stuff out first and then just move all debian/tmp to debian/netdata.
In theory, that should get me back on track for the rest of the package processing.
Lets see if i was right
* netdata/packaging: [ci skip] mv complains, forgot about that, fix
forgot about that, just copy for now to verify the use case and we will consider rsync approach for faster processing afterwards
* netdata/packaging: nope, that didn't work. rollback and remove also a suspicious backslash
* netdata/packaging: ok, trying this
* netdata/packaging: really?
* netdata/packaging: [ci skip] reinstate original setup, the bug probably was too obvious to spot
* netdata/packaging:[ci skip] now that you finally noted the www bug, try to copy over the rest of the stuff in
* netdata/packaging: [ci skip] long shot, etc is not properly created, lets see if it was already there and we messed it up
* netdata/packaging: [ci skip] fix perms, add placeholder folders in etc
* netdata/packaging: [ci skip] preserve ownership details when copying over
* netdata/packaging:[ci skip] reinstate branch condition
* netdata/packaging: redudant
* netdata/packaging: xenial - add cups subpackage
* netdata/packaging: remove cups dependency from those distros, missed to update the control file
* netdata/packaging: dont use personal account info
|
|
source (#6850)
* netdata/packaging: Script to build judy from source
* netdata/packaging: Add script to build libuv from source
|
|
* netdata/packaging:[ci skip] Bring over netdata.spec before removing the temp directory. We need it to resume RPM workflow
* [Package amd64 DEB] Package build stable test
* netdata/packaging:[ci skip] add branch for testing
* [Package amd64 DEB] Package build stable test
* [Package i386 DEB] Package build stable test
* [Package i386 DEB] Package build stable test
* [Package amd64 DEB] Package build stable test
* [Package i386 DEB] Package build stable test
* [Package amd64 RPM] Package build stable test
* [Package i386 RPM] Package build stable test
* netdata/doc: update distro support, due to lxc limitations we dont have those yet
* [Package i386 RPM] Package build stable test
* [Package i386 RPM Enterprise Linux] Package build stable test
* netdata/ci:[ci skip] yes, we must test rpm too
* [Package i386 RPM] Package build stable test
* [Package amd64 RPM] Package build stable test
* netdata/packaging:[ci skip] Add i386 RPM and DEB distro triggers
* netdata/packaging: [ci skip] remove the test branch info
* netdata/doc: [ci skip] fix doc
* netdata/doc: [ci skip] update doc more
|
|
|
|
stable (#6838)
* netdata/packaging: Dont mess with the CI code when playing with the repo
Sadly, we need to run consistently the same code for the CI side.
When doing checkouts to build stable code, we move the whole repo thus resulting on changing the ci code too.
This is usually fine when building nightlies, on stable though is a completely different story.
To mitigate this, copy the repo into a temporary folder. Then do whatever you need to prepare and copy the tarball.
Once you are done, just go back to the original repo folder and remove the temp.
That should work fine for both nightlies and stable, with a little overhead of copying over the repository, but we have to.
We want to be able to run with latest CI code, when trying to build a stable release.
* [Package amd64 DEB] Package build stable test
* netdata/packaging: allow me to test on my repo the build process (dont care for deploy)
* [Package amd64 DEB] Package build stable test
* netdata/packaging: [ci skip] copy under tmp
* [Package amd64 DEB] Package build stable test
* netdata/packaging:[ci skip] play with CWD of the command, thats cleaner and well, the right thing
* [Package amd64 DEB] Package build stable test
* netdata/packaging: [ci skip] cd did not fall for cwd, provide full path and move on
* netdata/packaging: a few nits like dont use cwd for some commands, import sys, simplify some variable usage
* netdata/packaging: [ci skip] focus, missed a reference to the tarballen
* netdata/packaging: [ci skip] remove test branch
* netdata/packaging: Thanks for taking note Codacy, here's a better temp file for the job
|
|
1) We missed a dot when reconstructing since_version
2) When we are on a patch release, just step back to fetch history from the previous patch release (or last minor release, respectively)
|
|
|
|
packaging (#6813)
|
|
We bumped into an error that caused debian/jessie package generation to fail.
When building stable release, we don't properly detect the change from previous stable to this one.
So the changelog generation fails and only on some distros causes the process to fail.
With this change we attempt to detect this peculiarity and just try fo decrease latest release version, to properly fetch the full changes
|
|
library available for protoc runtime (#6777)
|
|
|
|
|
|
|
|
* netdata/packaging: Add purging logic for package cloud repositories
1) Introduce scriptlet that is executing the cleanup on a designated repository, with a designated retention period
2) Add .travis.yml configuration to execute purging logic with the right config on the nightly operations
* netdata/packaging: uncomment the temp dir clean up
* netdata/packaging: fix codacy
* netdata/packaging: [ci skip] Purge only -edge and -devel packages
|
|
|
|
|
|
* netdata/packaging: Align libdir with the one we expect our installation to use, following the rest of the directory correllations
* netdata/packaging:[ci skip] One more
|
|
applied, versioning will be messed up for nightlies.
To mitigate this, just prepend patch release number to the build number and this should provide with a proper higher number for nightlies every time
|
|
Overriding as i will be closely monitoring the results
|
|
|
|
false for full repo retrieval
|
|
force pushing before approvals, i will be closely monitoring the effect by triggering nightlies on demand and evaluate the result
|
|
* First pass of changing netdata to Netdata
* Second pass of netdata -> Netdata
* Starting work on netdata with no whitespace after
* Pass for netdata with no whitespace at the end
* Pass for netdata with no whitespace at the front
|
|
functionality availability (#6552)
* netdata/packaging: [ci skip] Add trusty and xenial
* netdata/packaging: [ci skip] check directly for the flag existence
* netdata/packaging: Append table for functionality-related support matrix
* netdata/packaging: add line ending
* [ci skip] revert this - will get help from joel
* netdata/packaging/doc: [ci skip] experiment
* netdata/packaging: [ci skip] fix
* netdata/packaging: [ci skip] Add more info needed for the rest to check the style
* netdata/packaging: [ci skip] different icon
* netdata/packaging: [ci skip] split per arch
* netdata/packaging:[ci skip] More adjustments
* netdata/packaging:[ci skip] more adjustments
* netdata/packaging:[ci skip] style
* netdata/packaging: update status
* netdata/packaging: [ci skip] update rpm/deb state
* netdata/packaging:[ci skip] different icon for unchecked
* Revert "netdata/packaging:[ci skip] different icon for unchecked"
This reverts commit 6ed2a46859f0bb1dd3c1a266280074b023028382.
oops, the other one, not this
* netdata/packaging: [ci skip] change symbol for unchecked
* netdata/packaging: we dont know source state for all other linux, so make it questionmark
* netdata/packaging:[ci skip] fix suse leap state
* netdata/packaging: [ci skip] fix deb state
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* netdata/pkg: [ci skip]Update DISTRIBUTIONS.md
Sync x86 table with amd64 table.
They are not 1 on 1 but close enough, so syncing and then will adjust to the differences at another pass
* netdata/packaging: [ci skip] code health doesnt make sense, rename to ci smoke testing which makes more sense
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* netdata/packaging:[ci skip] Stricter check on protobuf, plus separate config for trusty because no libuv1 available there
* netdata/packaging: add functionality-related details
* netdata/packaging/docs: add skeleton sections
* netdata/packaging/docs: remove that
* netdata/packaging: fix header
* Update DISTRIBUTIONS.md
* netdata/packaging/docs:[ci skip] fix indent
* netdata/packaging/docs: [ci skip] change wording
* netdata/packaging/docs: kickstart-static64 everywhere
* netdata/packaging/docs: [ci skip] Add legend and update some fields
* netdata/packaging/docs: add disable flags
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* netdata/packaging/docs: feedback
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* netdata/packaging: more feedback
|
|
should be available though, so this is a workaround fix until i figure out the WOW)
|
|
* netdata/packaging: [ci skip] Make sure you notify us when nightlies changelog generation fails. It is a soft error, but we do want to know about it
|
|
changelog generation fails. It is a soft error, but we do want to know about it
|