|
| 1 | +# Copyright Materialize, Inc. and contributors. All rights reserved. |
| 2 | +# |
| 3 | +# Use of this software is governed by the Business Source License |
| 4 | +# included in the LICENSE file at the root of this repository. |
| 5 | +# |
| 6 | +# As of the Change Date specified in that file, in accordance with |
| 7 | +# the Business Source License, use of this software will be governed |
| 8 | +# by the Apache License, Version 2.0. |
| 9 | +# This file is processed by mkpipeline.py to trim unnecessary steps in PR |
| 10 | +# builds. The inputs for steps using the `mzcompose` plugin are computed |
| 11 | +# automatically. Inputs for other steps need to be manually listed in the |
| 12 | +# `inputs` key. |
| 13 | +dag: true |
| 14 | +steps: |
| 15 | + - group: "Orchestratord tests" |
| 16 | + key: orchestratord-test |
| 17 | + steps: |
| 18 | + - id: orchestratord-defaults |
| 19 | + label: "Orchestratord test (defaults from documentation)" |
| 20 | + timeout_in_minutes: 120 |
| 21 | + plugins: |
| 22 | + - ./ci/plugins/mzcompose: |
| 23 | + composition: orchestratord |
| 24 | + run: defaults |
| 25 | + args: ["--tag=$CI_MZ_VERSION"] |
| 26 | + ci-builder: stable |
| 27 | + env: |
| 28 | + # Old versions are not on GHCR yet |
| 29 | + MZ_GHCR: 0 |
| 30 | + agents: |
| 31 | + queue: hetzner-aarch64-16cpu-32gb |
| 32 | + |
| 33 | + - id: orchestratord-default-properties |
| 34 | + label: "Orchestratord test (defaults for properties)" |
| 35 | + timeout_in_minutes: 120 |
| 36 | + plugins: |
| 37 | + - ./ci/plugins/mzcompose: |
| 38 | + composition: orchestratord |
| 39 | + args: ["--tag=$CI_MZ_VERSION", --action=noop, --properties=defaults, --recreate-cluster, --no-orchestratord-override] |
| 40 | + ci-builder: stable |
| 41 | + env: |
| 42 | + # Old versions are not on GHCR yet |
| 43 | + MZ_GHCR: 0 |
| 44 | + agents: |
| 45 | + queue: hetzner-aarch64-16cpu-32gb |
| 46 | + |
| 47 | + - id: orchestratord-individual |
| 48 | + label: "Orchestratord test (individual properties)" |
| 49 | + timeout_in_minutes: 120 |
| 50 | + plugins: |
| 51 | + - ./ci/plugins/mzcompose: |
| 52 | + composition: orchestratord |
| 53 | + args: ["--tag=$CI_MZ_VERSION", --action=noop, --properties=individual, --recreate-cluster, --no-orchestratord-override] |
| 54 | + ci-builder: stable |
| 55 | + env: |
| 56 | + # Old versions are not on GHCR yet |
| 57 | + MZ_GHCR: 0 |
| 58 | + agents: |
| 59 | + queue: hetzner-aarch64-16cpu-32gb |
| 60 | + |
| 61 | + - id: orchestratord-combine |
| 62 | + label: "Orchestratord test (combine properties)" |
| 63 | + timeout_in_minutes: 120 |
| 64 | + plugins: |
| 65 | + - ./ci/plugins/mzcompose: |
| 66 | + composition: orchestratord |
| 67 | + args: ["--tag=$CI_MZ_VERSION", --action=noop, --properties=combine, --runtime=3600, --recreate-cluster, --no-orchestratord-override] |
| 68 | + ci-builder: stable |
| 69 | + env: |
| 70 | + # Old versions are not on GHCR yet |
| 71 | + MZ_GHCR: 0 |
| 72 | + agents: |
| 73 | + queue: hetzner-aarch64-16cpu-32gb |
| 74 | + |
| 75 | + - id: terraform-aws-tag |
| 76 | + label: "Terraform + Helm Chart E2E on AWS (tagged)" |
| 77 | + artifact_paths: [test/terraform/aws-temporary/terraform.tfstate, "mz-debug/**/*"] |
| 78 | + timeout_in_minutes: 120 |
| 79 | + concurrency: 1 |
| 80 | + concurrency_group: 'terraform-aws' |
| 81 | + agents: |
| 82 | + queue: linux-aarch64-small |
| 83 | + plugins: |
| 84 | + - ./ci/plugins/scratch-aws-access: ~ |
| 85 | + - ./ci/plugins/mzcompose: |
| 86 | + composition: terraform |
| 87 | + run: aws-temporary |
| 88 | + args: ["--tag=$CI_MZ_VERSION", --no-run-testdrive-files, --no-orchestratord-override] |
| 89 | + ci-builder: stable |
| 90 | + |
| 91 | + - id: terraform-gcp-tag |
| 92 | + label: "Terraform + Helm Chart E2E on GCP (tagged)" |
| 93 | + artifact_paths: [test/terraform/gcp-temporary/terraform.tfstate, "mz-debug/**/*"] |
| 94 | + timeout_in_minutes: 120 |
| 95 | + concurrency: 1 |
| 96 | + concurrency_group: 'terraform-gcp' |
| 97 | + agents: |
| 98 | + queue: linux-aarch64-small |
| 99 | + plugins: |
| 100 | + - ./ci/plugins/mzcompose: |
| 101 | + composition: terraform |
| 102 | + run: gcp-temporary |
| 103 | + args: ["--tag=$CI_MZ_VERSION", --no-run-testdrive-files, --no-orchestratord-override] |
| 104 | + ci-builder: stable |
| 105 | + |
| 106 | + - id: terraform-azure-tag |
| 107 | + label: "Terraform + Helm Chart E2E on Azure (tagged)" |
| 108 | + artifact_paths: [test/terraform/azure-temporary/terraform.tfstate, "mz-debug/**/*"] |
| 109 | + timeout_in_minutes: 120 |
| 110 | + concurrency: 1 |
| 111 | + concurrency_group: 'terraform-azure' |
| 112 | + agents: |
| 113 | + queue: linux-aarch64-small |
| 114 | + plugins: |
| 115 | + - ./ci/plugins/mzcompose: |
| 116 | + composition: terraform |
| 117 | + run: azure-temporary |
| 118 | + args: ["--tag=$CI_MZ_VERSION", --no-run-testdrive-files, --no-orchestratord-override] |
| 119 | + ci-builder: stable |
| 120 | + |
| 121 | + - wait: ~ |
| 122 | + |
| 123 | + - id: helm-charts-publish |
| 124 | + label: Publish Helm Charts |
| 125 | + command: bin/ci-builder run stable misc/helm-charts/publish.sh |
| 126 | + timeout_in_minutes: 30 |
| 127 | + agents: |
| 128 | + queue: linux-aarch64-small |
0 commit comments