Make swift bashate compliant
The containers don't work, but alteast they will pass the gate ;) Change-Id: Ic921f982122889d354cfee47772421d147d9ec57 Partially-implements: blueprint bashate-gate
This commit is contained in:
parent
502aff36cd
commit
035d14ff98
@ -18,8 +18,7 @@ fi
|
||||
|
||||
sh /opt/swift/config-swift.sh account-server
|
||||
|
||||
mysql -h ${MARIADB_SERVICE_HOST} -u root \
|
||||
-p${DB_ROOT_PASSWORD} mysql <<EOF
|
||||
mysql -h ${MARIADB_SERVICE_HOST} -u root -p${DB_ROOT_PASSWORD} mysql <<EOF
|
||||
CREATE DATABASE IF NOT EXISTS ${SWIFT_DB_NAME};
|
||||
GRANT ALL PRIVILEGES ON swift* TO
|
||||
'${SWIFT_DB_USER}'@'%' IDENTIFIED BY '${SWIFT_DB_PASSWORD}'
|
||||
|
@ -1,8 +0,0 @@
|
||||
FROM fedora-rdo-base
|
||||
MAINTAINER Steven Dake <sdake@redhat.com>
|
||||
|
||||
RUN yum -y install openstack-utils openstack-swift && yum clean all
|
||||
|
||||
# These will come after we sort out start time config
|
||||
RUN mkdir /opt/swift
|
||||
#COPY config-swift.sh /opt/swift/config-swift.sh
|
@ -18,8 +18,7 @@ fi
|
||||
|
||||
sh /opt/swift/config-swift.sh container
|
||||
|
||||
mysql -h ${MARIADB_SERVICE_HOST} -u root \
|
||||
-p${DB_ROOT_PASSWORD} mysql <<EOF
|
||||
mysql -h ${MARIADB_SERVICE_HOST} -u root -p${DB_ROOT_PASSWORD} mysql <<EOF
|
||||
CREATE DATABASE IF NOT EXISTS ${SWIFT_DB_NAME};
|
||||
GRANT ALL PRIVILEGES ON swift* TO
|
||||
'${SWIFT_DB_USER}'@'%' IDENTIFIED BY '${SWIFT_DB_PASSWORD}'
|
||||
|
@ -18,8 +18,7 @@ fi
|
||||
|
||||
sh /opt/swift/config-swift.sh engine
|
||||
|
||||
mysql -h ${MARIADB_SERVICE_HOST} -u root \
|
||||
-p${DB_ROOT_PASSWORD} mysql <<EOF
|
||||
mysql -h ${MARIADB_SERVICE_HOST} -u root -p${DB_ROOT_PASSWORD} mysql <<EOF
|
||||
CREATE DATABASE IF NOT EXISTS ${SWIFT_DB_NAME};
|
||||
GRANT ALL PRIVILEGES ON swift* TO
|
||||
'${SWIFT_DB_USER}'@'%' IDENTIFIED BY '${SWIFT_DB_PASSWORD}'
|
||||
|
Loading…
Reference in New Issue
Block a user