summaryrefslogtreecommitdiffstats
path: root/tests/updater_checks.sh
AgeCommit message (Collapse)Author
2020-01-16Move the script for installing required packages into the main repo. (#7563)Austin S. Hemmelgarn
* 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.
2019-12-16updater_checks.sh: Fix issue with ↵Konstantinos Natsakis
ca-certificates-mozilla-2.34-lp151.2.6.1.noarch in OpenSUSE 15.1
2019-08-09netdata/packaging: Bare OS validations (#6574)Paul Emm. Katsoulakis
* netdata/packaging: complete the list of bare OS validations, to be extra sure all cases are covered * netdata/packaging: centos 6 has a different release file * netdata/ci: [ci skip] no centos 8 yet * netdata/ci: [ci skip] dont run for Debian 7 - its dead * trigger travis * netdata/ci: remove Debian 8 as bats not available with the standard repos - we will revisit our strategy on how we execute tests anyway
2019-06-09netdata/packaging: Add more distribution validations (#6235)Paul Emm. Katsoulakis
* netdata/packaging: Add more distribution validations As an attempt to increase our coverage in testing and to guarantee cross-distribution stability, we choose to extend our baseline tests across all currently supported distributions. We run the stable to current transition test, to maximize scenarios coverage. The missing distributions from the bare OS runs, are covered on the Artifacts validations stage * netdata/packaging: adjust update lifecycle test to be more agile 1) use required packages during setup, to guarantee all stuff there cross-distro 2) add opensuse on entry point script 3) Only bats and curl will be installed prior to the tests. The rest are from the deps script * netdata/packaging: Use the right id for version checking, its opensuse-leap not opensuse * netdata/packaging: small adjustments 1) move deps script outside the bats process 2) don't install curl, we expect it to be there 3) fix tumbleweed tag, it was wrong (duh) * netdata/packaging: wrong place, trigger depedency after curl and bats install. Also, blind install for weird archlinux case missing grep * netdata/packaging: missed one more OS identifier * netdata/packaging: Handle alpine case * netdata/packaging: unattended execution flags * netdata/packaging: its a never ending story.. early install of bash for alpine, to get our job done then * netdata/packaging: fix docker runs - multiple commands should be within the container, just using && doesn't send them to the container, second command rather runs on the host * netdata/packaging: Run sh for the main test script, then trigger bash install within for alpine so that the rest of the process runs smoothly
2019-06-04netdata/packaging/ci: Add lifecycle checks to bare operating system ↵Paul Emm. Katsoulakis
installations (#6209) * Introduce more tests on bare OS, to block possible dependency issues in the code * Move bare OS tests on their own stage, to get direct visibility upon possible dependency issues * Limit bare OS runs on pull requests and cron, to avoid messing with people's development runs. We can catch dependency or peculiar build issues during PRs * Rushed it, we now running on different distros, adjust the repository clean up * Centos7 adds quotes on the ID, lets strip them out * Still, you need to add the required packages for testing on debian/ubuntu * curl also required * We 'll be using 16.04 as default distro, not 14.04 * Add an irrelevant shellcheck error, probably raised depending on bash version as we didnt have it with 14.04 * The job needs to run as root, add sudo
2019-04-29Fix lifecycle script (#5918)Paul Emm. Katsoulakis
* netdata/packaging/ci: stronger validations during install, add some comments, change validation of CWD * netdata/packaging/ci: Add a lifecycle test to validate update from stable to latest works smooth -> Add updater BATS script that does the trick for installing stable then migrating to latest using current code and not nightly -> Integrate with travis -> Rename /code to /netdata in travis, scripts will eventually expect the TLD of repo to be actually named netdata, so test will start failing later -> Introduce a flag on the updater, so that it doesn't download the tarball, but it rather works with a local pre-defined directory. If a user wants to override the update process, so that it runs with a different repository he just needs to export NETDATA_LOCAL_TARBAL_OVERRIDE with the desired repo directory * netdata/packaging/ci: Add required packages for it to run