Skip to content

Commit 257d668

Browse files
authored
Merge pull request #7 from stackhpc/yoga-port
Port scripts to Yoga
2 parents 9d66c6a + b4332cd commit 257d668

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

a-seed-from-nothing.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fi
7777

7878
# Clone Kayobe.
7979
cd $HOME
80-
[[ -d kayobe ]] || git clone https://opendev.org/openstack/kayobe.git -b stable/wallaby
80+
[[ -d kayobe ]] || git clone https://opendev.org/openstack/kayobe.git -b stable/yoga
8181
cd kayobe
8282

8383
# Bump the provisioning time - it can be lengthy on virtualised storage
@@ -89,7 +89,7 @@ sed -i.bak 's%^[# ]*wait_active_timeout:.*% wait_active_timeout: 5000%' ~/kay
8989
# Clone this Kayobe configuration.
9090
mkdir -p config/src
9191
cd config/src/
92-
[[ -d kayobe-config ]] || git clone https://github.com/stackhpc/a-universe-from-nothing.git -b stable/wallaby kayobe-config
92+
[[ -d kayobe-config ]] || git clone https://github.com/stackhpc/a-universe-from-nothing.git -b stable/yoga kayobe-config
9393

9494
# Set default registry name to the one we just created
9595
sed -i.bak 's/^docker_registry.*/docker_registry: '$registry_ip':4000/' kayobe-config/etc/kayobe/docker.yml

pull-retag-push-images.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if [ ! "$(sudo docker ps -q -f name=registry)" ]; then
4141
sudo docker run -d -p 4000:5000 --restart=always --name registry registry
4242
fi
4343

44-
tag=${1:-wallaby}
44+
tag=${1:-yoga}
4545
images="kolla/${DISTRO}-source-kolla-toolbox
4646
kolla/${DISTRO}-source-haproxy
4747
kolla/${DISTRO}-source-mariadb-server
@@ -70,7 +70,6 @@ kolla/${DISTRO}-source-openvswitch-db-server
7070
kolla/${DISTRO}-source-nova-libvirt
7171
kolla/${DISTRO}-source-memcached
7272
kolla/${DISTRO}-source-rabbitmq
73-
kolla/${DISTRO}-source-chrony
7473
kolla/${DISTRO}-source-heat-api
7574
kolla/${DISTRO}-source-heat-api-cfn
7675
kolla/${DISTRO}-source-heat-engine
@@ -87,7 +86,6 @@ kolla/${DISTRO}-source-magnum-api
8786
kolla/${DISTRO}-source-magnum-conductor
8887
kolla/${DISTRO}-source-prometheus-alertmanager
8988
kolla/${DISTRO}-source-prometheus-v2-server
90-
kolla/${DISTRO}-source-prometheus-server
9189
kolla/${DISTRO}-source-prometheus-cadvisor
9290
kolla/${DISTRO}-source-prometheus-haproxy-exporter
9391
kolla/${DISTRO}-source-prometheus-mtail
@@ -110,8 +108,8 @@ kolla/${DISTRO}-source-bifrost-deploy"
110108

111109
for image in $images; do
112110
sudo docker pull $image:$tag
113-
sudo docker tag docker.io/$image:$tag localhost:4000/$image:$tag
114-
sudo docker push localhost:4000/$image:$tag
111+
sudo docker tag docker.io/$image:$tag localhost:4000/openstack.$image:$tag
112+
sudo docker push localhost:4000/openstack.$image:$tag
115113
sudo docker image remove docker.io/$image:$tag
116114
done
117115

0 commit comments

Comments
 (0)