aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yun Peng <pcloudy@google.com>2016-05-25 09:50:16 +0000
committerGravatar Yue Gan <yueg@google.com>2016-05-25 11:53:44 +0000
commit52594355dbeb9496e2775f3c438c1c887ac03f0e (patch)
tree58a55365ce88e8cc5e532d9ec345580f8cfbcdfd
parentadb09fc33661258b564d8952ade23453d1539e82 (diff)
Remove the setting of APT gpg key path
It should be put into the deploy slave configuration in BUILD file. Also the APT gpg key id. -- Change-Id: I3d61bd1998bd282e74ba00867f46e60f93c69b6a Reviewed-on: https://bazel-review.googlesource.com/#/c/3708 MOS_MIGRATED_REVID=123195119
-rwxr-xr-xscripts/ci/build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh
index 2b04a0bf6f..cf05045adf 100755
--- a/scripts/ci/build.sh
+++ b/scripts/ci/build.sh
@@ -30,7 +30,6 @@ source $(dirname ${SCRIPT_DIR})/release/common.sh
: ${GCS_BASE_URL:=https://storage.googleapis.com}
: ${GCS_BUCKET:=bucket-o-bazel}
: ${GCS_APT_BUCKET:=bazel-apt}
-: ${APT_GPG_KEY_NAME:=apt-key.sec.gpg}
: ${EMAIL_TEMPLATE_RC:=${SCRIPT_DIR}/rc_email.txt}
: ${EMAIL_TEMPLATE_RELEASE:=${SCRIPT_DIR}/release_email.txt}
@@ -333,7 +332,7 @@ EOF
touch conf/override.testing
(gpg --list-keys | grep "${APT_GPG_KEY_ID}" > /dev/null) || \
- gpg --allow-secret-key-import --import /opt/secrets/"${APT_GPG_KEY_NAME}"
+ gpg --allow-secret-key-import --import "${APT_GPG_KEY_PATH}"
local distribution="$1"
local deb_pkg_name_jdk8="$2"