- secret: name: zuul-storage-proxy-dockerhub data: username: zuulzuul password: !encrypted/pkcs1-oaep - BkUxcXcPY0rzCPJfmwHcdILp9eSpi0m8JBR1LuFy+kzpeRUr+MQyaoMO8DigywiozoDg2 s/dfYZWdDlGKc3+fIYT3XBh7nckUeijz6m249mzqWSv7i2/j9iG2F/iyL6zKVf1bI2nQB aYUeo4RkXed5wYIJcHhmS8s6W6zEd077TrdLJJwD9BlftDwdBZcQGM+Y88AACxleywY/w Uf+F3CKMr8BmjfPm0TPgq86bDMCizw6Hg8maWoTq6lV7c45juTTxXnEMjYwpB45h2ahwu lv3ZhIHaWy7proiFPZ9q8QXHMPRZsCX2r/HO3pkCBagDcd2CQuNzLZhiQY/F6EJCgHetY sLTP8j2FR17U7vrolJSCVrHG9AX6V3PCZfPN+tkHBRuxGwQeFweDJkBw4VBPU8U5tYTAH AXunUw7uzKI7oyLoutK2RJ3Mdl+zBGtEeHiIbeFX/VCEylpHKSc237OR+jSO/qLihNeOi NLxu7D7gtHR2G8pVDU5u9IV5a/nb2FDUQq9wC25IjDcRDbtx9jAYbihRdsEu0idjicJFZ 0D/KJJ3teSPbX3t0EwYysgFihfja7R5/UA8gwJtyKaTUugZy7nX0LRY//8g9ZsWcyovaV 0JayUGOpbz1AVtH30ieSmwF3uHy2elYtMQb4DvHqL7Ik8cSCeAhVoVNTRdxJyI= - job: name: zuul-storage-proxy-build-image description: Build and test a Docker image. parent: opendev-build-docker-image allowed-projects: zuul/zuul-storage-proxy provides: zuul-storage-proxy-container-image run: &image_playbooks - playbooks/build.yaml - playbooks/test.yaml vars: &image_vars docker_images: - context: . repository: zuul/zuul-storage-proxy target: zuul-storage-proxy tags: # If zuul.tag is defined: [ '3', '3.19', '3.19.0' ]. Only works for 3-component tags. # Otherwise: ['latest'] &imagetag "{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['latest']) }}" - job: name: zuul-storage-proxy-upload-image parent: opendev-upload-docker-image description: Build and test a Docker image and upload to Docker Hub. allowed-projects: zuul/zuul-storage-proxy run: *image_playbooks secrets: name: docker_credentials secret: zuul-storage-proxy-dockerhub pass-to-parent: true provides: zuul-storage-proxy-container-image vars: *image_vars - job: name: zuul-storage-proxy-promote-image parent: opendev-promote-docker-image description: Promote previously uploaded Docker image. allowed-projects: zuul/zuul-storage-proxy secrets: name: docker_credentials secret: zuul-storage-proxy-dockerhub pass-to-parent: true nodeset: nodes: [] vars: *image_vars - project: vars: release_python: python3 check: jobs: - zuul-storage-proxy-build-image - tox-linters: vars: tox_install_bindep: false gate: jobs: - zuul-storage-proxy-upload-image - tox-linters: vars: tox_install_bindep: false promote: jobs: - zuul-storage-proxy-promote-image release: jobs: - zuul-release-python - upload-docker-image: secrets: name: docker_credentials secret: zuul-storage-proxy-dockerhub pass-to-parent: true vars: <<: *image_vars upload_docker_image_promote: false