mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
ci: Use bionic dist for test environments
As bionic uses a newer version of linux we'd also be using a newer version of krbd. Signed-off-by: Mehdy Khoshnoody <mehdy.khoshnoody@gmail.com>
This commit is contained in:
parent
fe384bccfe
commit
79cef18f8f
@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
# need for docker build
|
# need for docker build
|
||||||
sudo: true
|
sudo: true
|
||||||
dist: xenial
|
dist: bionic
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- realpath
|
- coreutils
|
||||||
- ruby
|
- ruby
|
||||||
- socat
|
- socat
|
||||||
services:
|
services:
|
||||||
@ -41,7 +41,7 @@ before_install:
|
|||||||
before_script:
|
before_script:
|
||||||
- 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 xenial main"
|
"deb https://download.ceph.com/debian-nautilus $(lsb_release -sc) main"
|
||||||
# Ceph does not guarantee arm64 builds, fallback to ceph 14.2.5
|
# Ceph does not guarantee arm64 builds, fallback to ceph 14.2.5
|
||||||
# yamllint disable rule:line-length
|
# yamllint disable rule:line-length
|
||||||
- test "$(arch)" != "aarch64" || sudo apt-add-repository
|
- test "$(arch)" != "aarch64" || sudo apt-add-repository
|
||||||
@ -99,6 +99,7 @@ jobs:
|
|||||||
|
|
||||||
- stage: build testing
|
- stage: build testing
|
||||||
name: cephcsi on Arm64
|
name: cephcsi on Arm64
|
||||||
|
dist: xenial # There are no arm64 builds available in bionic repo
|
||||||
arch: arm64
|
arch: arm64
|
||||||
script:
|
script:
|
||||||
- scripts/skip-doc-change.sh || travis_terminate 0;
|
- scripts/skip-doc-change.sh || travis_terminate 0;
|
||||||
|
@ -78,7 +78,8 @@ fi
|
|||||||
K8S_FEATURE_GATES=${K8S_FEATURE_GATES:-"BlockVolume=true,CSIBlockVolume=true,VolumeSnapshotDataSource=true,ExpandCSIVolumes=true"}
|
K8S_FEATURE_GATES=${K8S_FEATURE_GATES:-"BlockVolume=true,CSIBlockVolume=true,VolumeSnapshotDataSource=true,ExpandCSIVolumes=true"}
|
||||||
|
|
||||||
#extra-config for kube https://minikube.sigs.k8s.io/docs/reference/configuration/kubernetes/
|
#extra-config for kube https://minikube.sigs.k8s.io/docs/reference/configuration/kubernetes/
|
||||||
EXTRA_CONFIG=${EXTRA_CONFIG:-"--extra-config=apiserver.enable-admission-plugins=PodSecurityPolicy"}
|
EXTRA_CONFIG=${EXTRA_CONFIG:-"--extra-config=apiserver.enable-admission-plugins=PodSecurityPolicy \
|
||||||
|
--extra-config=kubelet.resolv-conf=/run/systemd/resolve/resolv.conf"}
|
||||||
|
|
||||||
#extra Rook configuration
|
#extra Rook configuration
|
||||||
ROOK_BLOCK_POOL_NAME=${ROOK_BLOCK_POOL_NAME:-"newrbdpool"}
|
ROOK_BLOCK_POOL_NAME=${ROOK_BLOCK_POOL_NAME:-"newrbdpool"}
|
||||||
|
Loading…
Reference in New Issue
Block a user