Skip to content

Commit 7ed123c

Browse files
authored
Merge pull request apache#240 from flaper87/master
Add a task to build/push images
2 parents f8dad00 + f9099ff commit 7ed123c

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

playbooks/cloud-provider-openstack-acceptance-test-e2e-conformance/run.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,18 @@
124124
executable: /bin/bash
125125
chdir: '{{ k8s_os_provider_src_dir }}'
126126
environment: '{{ global_env }}'
127+
- name: Run image build and publish for cloud-provider-openstack
128+
shell:
129+
cmd: |
130+
set -x
131+
set -e
132+
set -o pipefail
133+
134+
if [ '{{ zuul.pipeline }}' != 'periodic' ]; then
135+
exit 0;
136+
fi
137+
138+
DOCKER_USERNAME={{dockerhub.username}} DOCKER_PASSWORD={{dockerhub.password}} REGISTRY=docker.io/k8scloudprovider VERSION=latest make upload-images 2>&1 | tee $LOG_DIR/image-build-upload.log
139+
executable: /bin/bash
140+
chdir: '{{ k8s_os_provider_src_dir }}'
141+
environment: '{{ global_env }}'

zuul.d/secrets.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,3 +522,30 @@
522522
EkUsZ76+ynCttL2rc9fq2sY3cUJVjtp0pIMNcMiII+f6JNn8uHstHvKNE+wqJp2f2hH1r
523523
i1CHNp6XeHQUQbSaKR3waD6zBd5N5bbivkyXDFCHM13uypYz3yR1SM7mDIhINK/7q0gLN
524524
9nfZ+cz7uT7lpVakShkZiBG/X+XEtxw1kGWdEvi+E9nwfIPS3XSUXvreFVcoGw=
525+
526+
# Dockerhub credentials
527+
- secret:
528+
name: dockerhub
529+
data:
530+
username: !encrypted/pkcs1-oaep
531+
- TjL/wJr8AhNwQ5hxJeZgMxheDf5vgJV2Z/ZZnvfZf6ZLi1FVxfsN9DUzaCQsdv4EJbjcZ
532+
XvYengYeawRKslT410ULcp918nt03P3uxy/AVuPEJ4a1Xf0tMrxzHJVdb6ZeRBSLBlO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201OdxVaXkMf6yWNGF1zlzBJOJoC8yHxCArvteiEVcIISF
549+
xmz1L1R3YLkpiGk9vayh7IKIFwo+L9T4r4wi7gBUJHQ6AcGNzqNIxJB12pZeJsGrSjrhW
550+
K9sGD+9RVJoJsps5oXtz7uzT7mKmufu5Q5hgdchhu5dG/KgesTVOailOmHRssheBYkW78
551+
wU5gOWuI9lX5H8NEPmbYskR4ybFvk7lJvID7PBivQY7XqEKm6CehhVhKS2juuI=

0 commit comments

Comments
 (0)