diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2023-01-25 11:10:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 11:10:37 -0500 |
commit | 597f08dee6d8cbfdcc24fa89a37c710b237f06da (patch) | |
tree | b411b8c693de57030eff072e81ab8617e09e9272 /.travis.yml | |
parent | 0541c97e531bc7220b2879eb8a4139df0dc821b8 (diff) |
Assorted infrastructure cleanup. (#14223)
* Remove old documentation check related config files.
These are no longer used by any of our CI as far as I can tell.
* Purge LGTM configuration and references.
It has been fully shut down, so none of this works anymore.
* Purge Travis CI config, scripts, and references.
We are no longer using Travis CI, so all of this is useless.
* Pureg config for other CI tools we are no longer using.
* Remove old packaging related test scripts.
These haven’t been used in years, and are potentially confusing for new
contributors.
* Restore MLC configuration.
It is, in fact, still in use.
* Fix bogus CI config in dist files.
* Fix botched merge in CODEOWNERS.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cf3ae2f662..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ ---- -dist: focal -language: c - -addons: - apt: - packages: ['moreutils'] - -env: - global: - - RELEASE_CHANNEL=nightly - -before_install: - - exec > >(ts -s '%H:%M:%.S ') 2>&1 - - source .travis/utils.sh - -# Install dependencies for all, once -# -install: - - sudo apt-get install -y libuv1-dev liblz4-dev libcap2-bin zlib1g-dev uuid-dev fakeroot libipmimonitoring-dev libmnl-dev libnetfilter-acct-dev gnupg python3-pip - - sudo pip3 install git-semver==0.3.2 # 11/Sep/2019: git-semver tip was broken, so we had to force last good run of it - - source tests/installer/slack.sh - - export NOTIF_CHANNEL="automation-beta" - - if [ "${TRAVIS_REPO_SLUG}" = "netdata/netdata" ]; then export NOTIF_CHANNEL="automation"; fi; - - export BUILD_VERSION="$(cat packaging/version | cut -d'-' -f1)" - - export LATEST_RELEASE_VERSION="$(cat packaging/version | cut -d'-' -f1)" - - export LATEST_RELEASE_DATE="$(git log -1 --format=%aD "${LATEST_RELEASE_VERSION}" | cat)" - - if [[ "${TRAVIS_COMMIT_MESSAGE}" = *"[Build latest]"* ]]; then export BUILD_VERSION="$(cat packaging/version | cut -d'-' -f1,2 | sed -e 's/-/./g').latest"; fi; - - export DEPLOY_REPO="netdata" # Default production packaging repository - - export PACKAGING_USER="netdata" # Standard package cloud account - - if [[ "${TRAVIS_COMMIT_MESSAGE}" = *"[Build latest]"* ]]; then export DEPLOY_REPO="netdata-edge"; fi; - - export PACKAGE_CLOUD_RETENTION_DAYS=30 - - if [ ! "${TRAVIS_REPO_SLUG}" = "netdata/netdata" ]; then export DEPLOY_REPO="netdata-devel"; fi; - # These are release-related artifacts and have to be evaluated before we start doing conditional checks inside stages - - source ".travis/tagger.sh" - - export GIT_TAG="$(git tag --points-at)" - - git submodule update --init --recursive - - -# Setup notification system -# -notifications: - webhooks: - urls: - - https://app.fossa.io/hooks/travisci - -# Define the stage sequence and conditionals -# -stages: - # Mandatory runs, we always want these executed - - name: Build process - if: commit_message =~ /^((?!\[Package (amd64|arm64|i386) (DEB|RPM)( .*)?\]).)*$/ - - -# Define stage implementation details -# -jobs: - # This is a hook to help us introduce "soft" errors on our process - allow_failures: - - env: ALLOW_SOFT_FAILURE_HERE=true - include: - # Ensure netdata code builds successfully - - stage: Build process - - name: Standard netdata build - script: fakeroot ./netdata-installer.sh --install-prefix $HOME --dont-wait --dont-start-it --enable-plugin-nfacct --enable-plugin-freeipmi --disable-lto - env: CFLAGS='-O1 -Wall -Wextra -Wformat-signedness -fstack-protector-all -fno-common -DNETDATA_INTERNAL_CHECKS=1 -D_FORTIFY_SOURCE=2 -DNETDATA_VERIFY_LOCKS=1' - after_failure: post_message "TRAVIS_MESSAGE" "<!here> standard netdata build is failing (Still dont know which one, will improve soon)" |