summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-09-06 08:49:09 +0200
committerGitHub <noreply@github.com>2019-09-06 08:49:09 +0200
commitd5698dc1d9c15d6c4d516c26608b5754d1768b6f (patch)
tree81049a8e78d239ca638ccc5c15a0f3a6d11c2fbd
parent4247938ee13e23eae1afcecbe646de5283b7afc2 (diff)
parent64d0f7042dfbaa306e16996d2fbb331ee7d59dc8 (diff)
downloadsystemd-d5698dc1d9c15d6c4d516c26608b5754d1768b6f.tar.gz
Merge pull request #13484 from evverx/look-at-repo-slug
travis: protect the systemd organization on Fuzzit from forks
-rwxr-xr-xtravis-ci/managers/fuzzit.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/travis-ci/managers/fuzzit.sh b/travis-ci/managers/fuzzit.sh
index db2657b9c3..fef663f188 100755
--- a/travis-ci/managers/fuzzit.sh
+++ b/travis-ci/managers/fuzzit.sh
@@ -4,6 +4,10 @@ set -e
set -x
set -u
+# This should help to protect the systemd organization on Fuzzit from forks
+# that are activated on Travis CI.
+[[ "$TRAVIS_REPO_SLUG" = "systemd/systemd" ]] || exit 0
+
REPO_ROOT=${REPO_ROOT:-$(pwd)}
sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list"
@@ -32,7 +36,7 @@ fi
# Because we want Fuzzit to run on every pull-request and Travis/Azure doesnt support encrypted keys
# on pull-request we use a write-only key which is ok for now. maybe there will be a better solution in the future
-FUZZIT_API_KEY=6a8445a23c4a8ef6743ddecf8ab368300976dae9313bbe54f1cbf30801773b2a3095d4c34daab8d308b6f2e8b254c90e
+FUZZIT_API_KEY=af6992074353998676713818cc6435ef4a750439932dab58b51e9354d6742c54d740a3cd9fc1fc001db82f51734a24bc
FUZZIT_ADDITIONAL_FILES="./out/src/shared/libsystemd-shared-*.so"
# ASan options are borrowed almost verbatim from OSS-Fuzz