Created
July 21, 2016 08:42
-
-
Save flaper87/17c5fe1eff25c6a1a94a240589e7680c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put this in /home/stack/tripleo-common/contrib/ | |
uploads: | |
- imagename: tripleoupstream/heat-docker-agents:mitaka | |
uploader: docker | |
pull_source: docker.io | |
push_destination: localhost:8787 | |
- imagename: tripleoupstream/centos-binary-nova-compute:mitaka | |
uploader: docker | |
pull_source: docker.io | |
push_destination: localhost:8787 | |
- imagename: tripleoupstream/centos-binary-nova-libvirt:mitaka | |
uploader: docker | |
pull_source: docker.io | |
push_destination: localhost:8787 | |
- imagename: tripleoupstream/centos-binary-keystone:mitaka | |
uploader: docker | |
pull_source: docker.io | |
push_destination: localhost:8787 | |
- imagename: tripleoupstream/centos-binary-neutron-openvswitch-agent:mitaka | |
uploader: docker | |
pull_source: docker.io | |
push_destination: localhost:8787 | |
- imagename: tripleoupstream/centos-binary-openvswitch-vswitchd:mitaka | |
uploader: docker | |
pull_source: docker.io | |
push_destination: localhost:8787 | |
- imagename: tripleoupstream/centos-binary-openvswitch-db-server:mitaka | |
uploader: docker | |
pull_source: docker.io | |
push_destination: localhost:8787 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Upload images to local registry | |
from tripleo_common.image.image_uploader import ImageUploadManager | |
mgr = ImageUploadManager(['/home/stack/tripleo-common/contrib/overcloud_containers.yaml']) | |
mgr.upload() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a single line shell replacement for upload_shit.py
python -c "from tripleo_common.image.image_uploader import ImageUploadManager ; ImageUploadManager(['/home/stack/tripleo-common/contrib/overcloud_containers.yaml']).upload()"