mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-24 02:09:06 +08:00
Rename travis_fold function to foldable
We are no longer using Travis. As such, it is confusing to anyone reading the code to see a function prefixed 'travis_' in GitHub actions code. This change renames the travis_fold function to 'foldable', as a first step towards eliminating such confusing constructs from the repository where possible. Signed-off-by: Daniel Müller <deso@posteo.net>
This commit is contained in:
committed by
Andrii Nakryiko
parent
b78c75fcb3
commit
9340d9b650
@@ -6,7 +6,7 @@ THISDIR="$(cd $(dirname $0) && pwd)"
|
||||
|
||||
source ${THISDIR}/helpers.sh
|
||||
|
||||
travis_fold start prepare_selftests "Building selftests"
|
||||
foldable start prepare_selftests "Building selftests"
|
||||
|
||||
LLVM_VER=15
|
||||
LIBBPF_PATH="${REPO_ROOT}"
|
||||
@@ -39,4 +39,4 @@ cd ${LIBBPF_PATH}
|
||||
rm selftests/bpf/.gitignore
|
||||
git add selftests
|
||||
|
||||
travis_fold end prepare_selftests
|
||||
foldable end prepare_selftests
|
||||
|
||||
2
.github/actions/build-selftests/helpers.sh
vendored
2
.github/actions/build-selftests/helpers.sh
vendored
@@ -1,7 +1,7 @@
|
||||
# $1 - start or end
|
||||
# $2 - fold identifier, no spaces
|
||||
# $3 - fold section description
|
||||
travis_fold() {
|
||||
foldable() {
|
||||
local YELLOW='\033[1;33m'
|
||||
local NOCOLOR='\033[0m'
|
||||
if [ -z ${GITHUB_WORKFLOW+x} ]; then
|
||||
|
||||
Reference in New Issue
Block a user