@cryptotaxi247 / netdata-1 / commits / 0c3faae9d

Fix the new static archive verification job. (#11792)

* Fix the new static archive verification job. We should be running the script non-interactively. * Fix install type handling ins static installer.

Austin S. Hemmelgarn committed Nov 16, 2021 at 15:16 UTC 0c3faae9d9b38190b2b82ad824a63cc6bd9a9748
3 files changed +5 -3
.github/workflows/build.yml
+1 -1
@@ -430,7 +430,7 @@ jobs:
430 - name: Verify that artifacts work with installer
431 env:
432 NETDATA_TARBALL_BASEURL: http://localhost:8080/artifacts
433 - run: packaging/installer/kickstart-static64.sh --dont-start-it --disable-telemetry
433 + run: packaging/installer/kickstart-static64.sh --dont-start-it --disable-telemetry --dont-wait
434 - name: Failure Notification
435 uses: rtCamp/action-slack-notify@v2
436 env:
packaging/installer/kickstart-static64.sh
+3 -1
@@ -211,10 +211,12 @@ mark_install_type() {
211 if [ -f "${install_type_file}" ]; then
212 # shellcheck disable=SC1090
213 . "${install_type_file}"
214 - cat > "${install_type_file}" <<- EOF
214 + cat > "${TMPDIR}/install-type" <<- EOF
215 INSTALL_TYPE='kickstart-static'
216 PREBUILT_ARCH='${PREBUILT_ARCH}'
217 EOF
218 + ${sudo} chown netdata:netdata "${TMPDIR}/install-type"
219 + ${sudo} cp "${TMPDIR}/install-type" "${install_type_file}"
220 fi
221 }
222
packaging/installer/methods/kickstart-64.md
+1 -1
@@ -97,7 +97,7 @@ To use `md5sum` to verify the integrity of the `kickstart-static64.sh` script yo
97 command above, run the following:
98
99 ```bash
100 -[ "5a55053b11cb1aedbe362daaa3fc3b1b" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
100 +[ "78461a3055aee03011a577a716e2dee5" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
101 ```
102
103 If the script is valid, this command will return `OK, VALID`.