@cryptotaxi247 / netdata-1 / commits / b8713d153

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

* Add a check to ensure that the install leaves a clean repo. * Add a few changes that were missed by the systemd updater support.

Austin S. Hemmelgarn committed Sep 30, 2020 at 03:32 UTC b8713d153df674e97f3da5809a6151b087fdadf6
3 files changed +14 -1
.github/workflows/checks.yml
+12
@@ -83,3 +83,15 @@ jobs:
83 - name: Run run_install_with_dist_file.sh
84 run: |
85 ./.github/scripts/run_install_with_dist_file.sh "${DISTFILE}"
86 + gitignore-check:
87 + name: .gitignore
88 + runs-on: ubuntu-latest
89 + steps:
90 + - name: Checkout
91 + uses: actions/checkout@v2
92 + - name: Prepare environment
93 + run: ./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata
94 + - name: Build netdata
95 + run: ./netdata-installer.sh --dont-start-it --disable-telemetry --dont-wait --install /tmp/install
96 + - name: Check that repo is clean
97 + run: if [ "$(git status --porcelain=v1 | wc -l)" -gt 0 ] ; then exit 1 ; fi
.gitignore
+1
@@ -113,6 +113,7 @@ system/netdata-init-d
113 system/netdata.logrotate
114 system/netdata.service
115 system/netdata.service.*
116 +system/netdata-updater.service
117 !system/netdata.service.in
118 !system/netdata.service.*.in
119 system/netdata.plist
netdata-installer.sh
+1 -1
@@ -1059,7 +1059,7 @@ run $make install || exit 1
1059 # -----------------------------------------------------------------------------
1060 progress "Fix generated files permissions"
1061
1062 -run find ./system/ -type f -a \! -name \*.in -a \! -name Makefile\* -a \! -name \*.conf -a \! -name \*.service -a \! -name \*.logrotate -exec chmod 755 {} \;
1062 +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 {} \;
1063
1064 # -----------------------------------------------------------------------------
1065 progress "Creating standard user and groups for netdata"