diff options
author | Ben Nemec <bnemec@redhat.com> | 2019-06-10 15:35:43 +0000 |
---|---|---|
committer | Ben Nemec <bnemec@redhat.com> | 2019-06-10 15:35:43 +0000 |
commit | 70b03bcf830972050276a7ed80e1205053534c7b (patch) | |
tree | e7ef00fdc36e59789b0d9016d7cde62d86eadfdb | |
parent | e45dfa7ea207b8f95ab09eeb0c863840db02ff7f (diff) | |
download | oslo-messaging-70b03bcf830972050276a7ed80e1205053534c7b.tar.gz |
Download kafka from archive.apache.org
It seems that versions are deleted from www.apache.org pretty quickly.
They stick around longer on archive.apache.org so we won't have to
be constantly chasing the latest version in our functional tests.
Change-Id: I047edac67699dd598f8dfd0f859b3772f6068bd3
-rw-r--r-- | doc/source/admin/kafka.rst | 2 | ||||
-rwxr-xr-x | setup-test-env-kafka.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/admin/kafka.rst b/doc/source/admin/kafka.rst index 3c0505c..3e3de01 100644 --- a/doc/source/admin/kafka.rst +++ b/doc/source/admin/kafka.rst @@ -220,7 +220,7 @@ the configuration :: KAFKA_VERSION=2.0.0 - KAFKA_BASEURL=http://www.apache.org/dist/kafka + KAFKA_BASEURL=http://archive.apache.org/dist/kafka SCALA_VERSION=2.12 SCALA_BASEURL=http://www.scala-lang.org/riles/archive diff --git a/setup-test-env-kafka.sh b/setup-test-env-kafka.sh index 98f1d91..40cc35d 100755 --- a/setup-test-env-kafka.sh +++ b/setup-test-env-kafka.sh @@ -12,7 +12,7 @@ if [[ -z "$(which kafka-server-start)" ]] && [[ -z $(which kafka-server-start.sh tarball=kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz - wget http://www.apache.org/dist/kafka/${KAFKA_VERSION}/$tarball -O $DATADIR/$tarball + wget http://archive.apache.org/dist/kafka/${KAFKA_VERSION}/$tarball -O $DATADIR/$tarball tar -xzf $DATADIR/$tarball -C $DATADIR export PATH=$DATADIR/kafka_${SCALA_VERSION}-${KAFKA_VERSION}/bin:$PATH fi |