Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
updates for hardcoded openstack version
Browse files Browse the repository at this point in the history
  • Loading branch information
chris committed Aug 29, 2022
1 parent 6773fd5 commit 2e544c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ if [[ "$OPENSTACK_VERSION" == "xena" ]]; then
fi

#build images locally and get list of rpms that need to be cached.
kolla-build --skip-existing -t binary --openstack-release "$OPENSTACK_VERSION" --tag "$OPENSTACK_VERSION" --registry rpm_repo barbican ceilometer cinder cron designate dnsmasq elasticsearch etcd glance gnocchi grafana hacluster haproxy heat horizon influxdb iscsid keepalived keystone kibana logstash magnum manila mariadb memcached multipathd neutron nova octavia openstack-base openvswitch placement qdrouterd rabbitmq redis swift telegraf trove murano panko
if [[ "$OPENSTACK_VERSION" == "wallaby" ]]; then
kolla-build --skip-existing -t binary --openstack-release "$OPENSTACK_VERSION" --tag "$OPENSTACK_VERSION" --registry rpm_repo barbican ceilometer cinder cron designate dnsmasq elasticsearch etcd glance gnocchi grafana hacluster haproxy heat horizon influxdb iscsid keepalived keystone kibana logstash magnum manila mariadb memcached multipathd neutron nova octavia openstack-base openvswitch placement qdrouterd rabbitmq redis swift telegraf trove murano panko
elif [[ "$OPENSTACK_VERSION" == "xena" ]]; then
kolla-build --skip-existing -t binary --openstack-release "$OPENSTACK_VERSION" --tag "$OPENSTACK_VERSION" --registry rpm_repo barbican ceilometer cinder cron designate dnsmasq elasticsearch etcd glance gnocchi grafana hacluster haproxy heat horizon influxdb iscsid keepalived keystone kibana logstash magnum manila mariadb memcached multipathd neutron nova octavia openstack-base openvswitch placement qdrouterd rabbitmq redis swift telegraf trove murano
fi

for i in `docker images |grep rpm_repo|grep -v centos-binary-base |awk '{print $3}'`; do
docker run --rm -u root -v /out:/out -v /var/run/docker.sock:/var/run/docker.sock $i bash -c "rpm -qa >>/out/all_rpms_$OPENSTACK_VERSION.txt";
Expand Down

0 comments on commit 2e544c9

Please sign in to comment.