mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
ci: use CEPH_VERSION from build.env
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
2055d79165
commit
5ebc11963e
@ -32,9 +32,10 @@ before_install:
|
|||||||
- mkdir -p $GOPATH/bin
|
- mkdir -p $GOPATH/bin
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- export CV=$(source build.env ; echo ${CEPH_VERSION})
|
||||||
- curl https://download.ceph.com/keys/release.asc | sudo apt-key add -
|
- curl https://download.ceph.com/keys/release.asc | sudo apt-key add -
|
||||||
- sudo apt-add-repository
|
- 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
|
# yamllint enable rule:line-length
|
||||||
- sudo apt-get -qq update
|
- sudo apt-get -qq update
|
||||||
# only the arm64 fallback repo is unsigned and needs --allow-unauthenticated
|
# only the arm64 fallback repo is unsigned and needs --allow-unauthenticated
|
||||||
|
Loading…
Reference in New Issue
Block a user