ci: use CEPH_VERSION from build.env

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-06-23 14:42:08 +02:00 committed by mergify[bot]
parent 2055d79165
commit 5ebc11963e
2 changed files with 3 additions and 1 deletions

View File

@ -32,9 +32,10 @@ before_install:
- mkdir -p $GOPATH/bin
before_script:
- export CV=$(source build.env ; echo ${CEPH_VERSION})
- curl https://download.ceph.com/keys/release.asc | sudo apt-key add -
- sudo apt-add-repository
"deb https://download.ceph.com/debian-nautilus $(lsb_release -sc) main"
"deb https://download.ceph.com/debian-${CV} $(lsb_release -sc) main"
# yamllint enable rule:line-length
- sudo apt-get -qq update
# only the arm64 fallback repo is unsigned and needs --allow-unauthenticated

View File

@ -11,6 +11,7 @@
# Ceph version to use
BASE_IMAGE=ceph/ceph:v15
CEPH_VERSION=nautilus
# standard Golang options
GOLANG_VERSION=1.13.9