Skip to content

Commit af24762

Browse files
committed
CI: Enable swift for devstack
1 parent 54e7835 commit af24762

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

hack/ci/cloud-init/controller.yaml.tpl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
ADMIN_PASSWORD=secretadmin
2525
SERVICE_PASSWORD=secretservice
2626
SERVICE_TOKEN=111222333444
27+
SWIFT_HASH=swifthash111222333444
2728

2829
# Pre-requisite
2930
ENABLED_SERVICES=key,rabbit,mysql
@@ -48,6 +49,11 @@
4849
ENABLED_SERVICES+=,c-sch,c-api,c-vol
4950
VOLUME_BACKING_FILE_SIZE=100G
5051

52+
# Swift
53+
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
54+
SWIFT_LOOPBACK_DISK_SIZE=6G
55+
SWIFT_MAX_FILE_SIZE=5368709122
56+
5157
# Additional services
5258
ENABLED_SERVICES+=${OPENSTACK_ADDITIONAL_SERVICES}
5359

@@ -135,7 +141,7 @@
135141

136142
# Upload the images so we don't have to upload them from Prow
137143
# Upload cirros image first in order to avoid reach limit of project
138-
# https://docs.openstack.org/glance/latest/admin/quotas.html
144+
# https://docs.openstack.org/glance/latest/admin/quotas.html
139145
/opt/stack/devstack/tools/upload_image.sh https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/cirros/2021-03-27/cirros-0.5.1-x86_64-disk.img
140146
/opt/stack/devstack/tools/upload_image.sh https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/ubuntu/2021-03-27/ubuntu-2004-kube-v1.18.15.qcow2
141147

0 commit comments

Comments
 (0)