- job: description: Operator integration tests name: zuul-operator-functional abstract: true run: - playbooks/zuul-operator-functional/run.yaml - playbooks/zuul-operator-functional/test.yaml post-run: playbooks/zuul-operator-functional/post.yaml vars: # We disable userland-proxy to enable scheduler deployement to connect to the gearman service # see: https://github.com/eclipse/che/issues/8134 docker_userland_proxy: false container_runtime: docker minikube_version: v1.33.1 - job: description: Operator integration tests with Kubernetes name: zuul-operator-functional-k8s parent: zuul-operator-functional pre-run: playbooks/zuul-operator-functional/pre-k8s.yaml nodeset: ubuntu-noble vars: namespace: 'default' - job: description: Image and buildset registry job name: zuul-operator-build-image parent: opendev-build-container-image allowed-projects: zuul/zuul-operator requires: - zuul-container-image - zuul-registry-container-image - nodepool-container-image - python-builder-3.11-bookworm-container-image - python-base-3.11-bookworm-container-image provides: - zuul-operator-container-image vars: &image_vars zuul_work_dir: "{{ zuul.projects['opendev.org/zuul/zuul-operator'].src_dir }}" promote_container_image_method: intermediate-registry promote_container_image_job: zuul-operator-upload-image container_command: docker container_images: - context: . container_filename: build/Dockerfile registry: quay.io repository: quay.io/zuul-ci/zuul-operator tags: # If zuul.tag is defined: [ '3', '3.19', '3.19.0' ]. Only works for 3-component tags. # Otherwise: ['latest'] "{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['latest']) }}" - secret: name: zuul-operator-registry-credentials data: quay.io: username: zuul-ci+opendevzuul password: !encrypted/pkcs1-oaep - QEH6ht5DiBnOOaANKQvuLB6Ebe2w9tsnyVKbn7o+ULtt3Yl4og4m5pDjDHriUhyiTUFn8 lBh21BNtxg0zpjezUPNMIZQLg3lcmQZ29sZm6c3rIWcy9VmU287rZCN725AKzXYsy80VT 1Glk7GlyH9CNG2foUfEB+NY1rfjYTaGVJiz3x/SXe4LuSZZftyRyZlOZJ8QTw5cKKu7kz xuiTwY9CaARkqyBULnf8XY4DeVYVq7E63UBMJ964BFm+KgBQQr1UUvP+TYC9YOMFzT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gdJvQ nmJMvnMKV5KF8Mcqt+T0esX8A1pkyrfpcanZa5X3F3ukl90UVH3Pt+MhDn5xjA= - job: description: Build container images and upload. name: zuul-operator-upload-image parent: opendev-upload-container-image allowed-projects: zuul/zuul-operator secrets: name: container_registry_credentials secret: zuul-operator-registry-credentials pass-to-parent: true requires: - zuul-container-image - zuul-registry-container-image - nodepool-container-image provides: - zuul-operator-container-image - python-builder-3.11-bookworm-container-image - python-base-3.11-bookworm-container-image vars: *image_vars - job: description: Promote previously uploaded images. name: zuul-operator-promote-image parent: opendev-promote-container-image allowed-projects: zuul/zuul-operator secrets: name: container_registry_credentials secret: zuul-operator-registry-credentials pass-to-parent: true nodeset: nodes: [] vars: *image_vars - project: check: jobs: - nox-linters - zuul-nox-docs - zuul-operator-build-image - zuul-operator-functional-k8s: dependencies: zuul-operator-build-image gate: jobs: - nox-linters - zuul-nox-docs - zuul-operator-upload-image - zuul-operator-functional-k8s: dependencies: zuul-operator-upload-image promote: jobs: - zuul-promote-nox-docs - zuul-operator-promote-image release: jobs: - zuul-operator-upload-image: vars: <<: *image_vars upload_container_image_promote: false