0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-27 06:10:43 +00:00

Add a few changes that were missed by the systemd updater support. ()

* Add a check to ensure that the install leaves a clean repo.

* Add a few changes that were missed by the systemd updater support.
This commit is contained in:
Austin S. Hemmelgarn 2020-09-30 03:32:40 -04:00 committed by GitHub
parent cfcfbb5880
commit b8713d153d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View file

@ -83,3 +83,15 @@ jobs:
- name: Run run_install_with_dist_file.sh
run: |
./.github/scripts/run_install_with_dist_file.sh "${DISTFILE}"
gitignore-check:
name: .gitignore
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare environment
run: ./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata
- name: Build netdata
run: ./netdata-installer.sh --dont-start-it --disable-telemetry --dont-wait --install /tmp/install
- name: Check that repo is clean
run: if [ "$(git status --porcelain=v1 | wc -l)" -gt 0 ] ; then exit 1 ; fi

1
.gitignore vendored
View file

@ -113,6 +113,7 @@ system/netdata-init-d
system/netdata.logrotate
system/netdata.service
system/netdata.service.*
system/netdata-updater.service
!system/netdata.service.in
!system/netdata.service.*.in
system/netdata.plist

View file

@ -1059,7 +1059,7 @@ run $make install || exit 1
# -----------------------------------------------------------------------------
progress "Fix generated files permissions"
run find ./system/ -type f -a \! -name \*.in -a \! -name Makefile\* -a \! -name \*.conf -a \! -name \*.service -a \! -name \*.logrotate -exec chmod 755 {} \;
run find ./system/ -type f -a \! -name \*.in -a \! -name Makefile\* -a \! -name \*.conf -a \! -name \*.service -a \! -name \*.timer -a \! -name \*.logrotate -exec chmod 755 {} \;
# -----------------------------------------------------------------------------
progress "Creating standard user and groups for netdata"